Components/effects

Lens

A circular magnifying lens that enlarges whatever it drifts over, following the cursor on hover.

Pro
LUMEN RIDGE42.361° N · 071.058° W · ELEV 1240m
LUMEN RIDGE42.361° N · 071.058° W · ELEV 1240m
Optical loupe
1.9×
Usage: paste this file into your project (e.g. components/lens.tsx), make sure framer-motion, clsx and tailwind-merge are installed, and add the cn() helper from the docs.