# Motion Lens

Magnifier lens that zooms into an image on hover.

- id: `motion-lens`
- Page: https://agentic-ui-kit.com/components/motion-lens
- Live preview: https://agentic-ui-kit.com/live/component/motion-lens?piece=motion-lens

## Install

```bash
agentic-ui add motion-lens
npx shadcn@4.17.0 add @agentic-ui/motion-lens
```

## Metadata

- **Level:** block
- **Category:** motion
- **Installable in:** Radix UI (registry variant new-york), Base UI (registry variant base-vega)
- **Capabilities:** magnifier-lens, any-image-element, pointer-follow, keyboard-lens, touch-toggle, circle-or-rounded-shape, adjustable-zoom, no-extra-files, reduced-motion-fallback
- **Intents:** explore-detail
- **Suits domains:** ecommerce, media, marketing, analytics, maps-ops, ai-vision
- **Interaction:** hover, keyboard-navigation, click
- **Screen role:** detail
- **Density:** comfortable
- **Dark mode:** yes
- **Use it for:** magnifier lens that zooms into an image on hover, product image zoom with a circular lens, inspect fine details of a diagram or screenshot with a magnifying glass, hover to magnify part of a chart or blueprint
- **Avoid when:** Gallery lightboxes where the image should open full screen, Touch-first products, where press and hold zoom feels better, Images that already load a high-resolution variant on demand, Content with interactive controls, which the inert copy cannot operate
- **Preserve when adapting:** inert-aria-hidden-copy, container-query-sizes, keyboard-lens, css-variable-position
- **Replace when adapting:** children, zoom, size, shape, aspect-ratio, label
- **Adaptation effort:** low
- **Coupling:** low
- **Quality breakdown:** visual 9/10, responsive 9/10, accessibility 8/10, code 9/10
- **npm dependencies:** @agentic-ui/motion, @agentic-ui/tokens, react
- **Motion:** profile subtle, library css, reduced-motion fallback yes, target 60 fps
- **Registry dependencies:** lib-motion
