Proximity Character Highlight
A production-scale, light + dark Proximity Character Highlight component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add proximity-character-highlightLive preview available in the gallery.
Usage
import { ProximityCharacterHighlight } from "@lerpa/ui";
<ProximityCharacterHighlight />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| text | string | - | |
| className | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.