# Chromatic Lens

> The Chromatic Lens Effect is a high-performance React component that applies real-time, interactive distortions to images using WebGL. It features:  Dynamic lens effects (pinch, fisheye, swirl, wobble)  Chromatic aberration (RGB color separation)  Smooth cursor tracking with configurable physics  Drag-based smear effects  Customizable tint & blur  Built for Framer but compatible with any React environment

- Author: [Inamandla Mchunu](https://21st.dev/@16inam06)
- Library: Inamandla Mchunu
- License: mpl-2.0
- npm dependencies: framer
- Live preview: https://21st.dev/@16inam06/components/chromatic-lens

## Install

```bash
npx shadcn@latest add "https://21st.dev/r/16inam06/chromatic-lens?api_key=$API_KEY_21ST"
```

Requires a 21st API key (generate one at https://21st.dev/mcp) passed as `API_KEY_21ST`. Free accounts get a limited number of installs per day; unlimited on a paid plan — see https://21st.dev/pricing.

Full component directory: https://21st.dev/llms.txt
