True Chromatic Aberration
A production-scale, light + dark True Chromatic Aberration component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add true-chromatic-aberrationLive preview available in the gallery.
Usage
import { TrueChromaticAberration } from "@lerpa/ui";
<TrueChromaticAberration />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| text | string | — | |
| className | string | — | |
| maxOffset | number | — | |
| fontSize | number | string | — | |
| color | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.