Bounce Sidebar

Vertical navigation where the active marker swings out on a curve to reach the newly chosen item rather than sliding straight down, bowing wider and landing heavier on longer trips. Items can be links or buttons with icons; selection is controlled or uncontrolled.

Preview

Bounce Sidebar preview width

Install

Add it with the shadcn CLI, or copy the source manually.

$ bunx --bun shadcn add @karaui/bounce-sidebar
@karaui not found? Add it to components.json
{
  "registries": {
    "@karaui": "https://karaui.kamisama-v0.my.id/r/{name}.json"
  }
}

@karaui is in shadcn's public registry directory, so the latest CLI needs no setup. On an older CLI, merge this into the existing file once and every @karaui/… install resolves.

API Reference

items
BounceSidebarItem[]
—
value?
string
—
defaultValue?
string
—
onValueChange?
((value: string) => void)
—
ariaLabel?
string
Sidebar navigation
className?
string
—
listClassName?
string
—
itemClassName?
string
—
indicatorClassName?
string
—

Updated