LensA interactive component that enables zooming into images, videos and other elements.special PreviewCodeHover over the image to zoom in.Copy"use client"; import { Lens } from "@/components/vritti/lens"; export function LensExample() { return ( <div className="relative max-w-md rounded-lg border p-4"> <Lens zoomFactor={2} lensSize={150} isStatic={false} ariaLabel="Zoom Area"> <img src="/placeholder.jpg" alt="Example image" width={500} height={300} /> </Lens> <p className="mt-4 text-sm text-muted-foreground">Hover over the image to zoom in.</p> </div> ); } Installation CLIManualpnpmnpmyarnbunpnpm dlx shadcn@latest add "https://vritti.thesatyajit.com/r/lens"Copy Dependencies pnpmnpmyarnbunpnpm add motionCopy