Navbar Sticky Shrink
A production-scale, light + dark Navbar Sticky Shrink component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add navbar-sticky-shrinkLive preview available in the gallery.
Usage
import { NavbarStickyShrink } from "@lerpa/ui";
<NavbarStickyShrink />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| className | string | — | |
| threshold | number | — | |
| brandName | string | — | |
| links | string[] | — | |
| signInLabel | string | — | |
| ctaLabel | string | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.