Chromatic Aberration Shader
A production-scale, light + dark Chromatic Aberration Shader component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add chromatic-aberration-shaderUsage
import { ChromaticAberrationShader } from "@lerpa/ui";
<ChromaticAberrationShader />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| intensity | number | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.