Visual Page Navigation Dots
A production-scale, light + dark Visual Page Navigation Dots component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add visual-page-navigation-dotsLive preview available in the gallery.
Usage
import { VisualPageNavigationDots } from "@lerpa/ui";
<VisualPageNavigationDots />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| sections | NavigationSection[] | — | |
| label | string | — | |
| defaultIndex | number | — | |
| onActiveChange | (id: string, index: number) => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.