View Transition Link
A production-scale, light + dark View Transition Link component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add view-transition-linkUsage
import { ViewTransitionLink } from "@lerpa/ui";
<ViewTransitionLink />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| href | string | - | |
| transitionName | string | — | |
| onNavigate | (href: string) => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.