Bounce nav
Navigation whose marker hops to the chosen item on an arc beside the list and lands with a small squash. The arc grows with the distance, so a neighbour is a skip and the far end is a jump.
general
Workspace name, address and the default language for new pages.
When to use
- Section navigation in settings, docs or a sidebar with a handful of places.
- A tab bar on a page that wants a little life.
When not to use
- Long lists; the hop over many rows reads as delay.
- Dense app chrome where the sidebar rail or tabs fit better.
Installation
pnpm dlx shadcn@latest add @caliper/bounce-nav
Adds its 4 files to components/ui/, each with its own stylesheet, and installs their packages. Pro installs with your access token, set up once per project. See Pro access. The first part also adds Caliper UI’s tokens; import them once as in Installation.
API reference
Keyboard
- Home
- Jumps to the first item or the minimum.
- End
- Jumps to the last item or the maximum.
Accessibility
It is built on native elements and keeps aria-label, aria-hidden and aria-current in step with state.
Notes for AI
Give your coding assistant this page as Markdown instead of screenshots: the props, keyboard and examples in one file.
/docs/components/bounce-nav.mdThe index of every part is at /llms.txt.