Dock

Preview

Install

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

$ bunx --bun shadcn add @beui/dock

API Reference

Dock

className?
string
Default—
size?
number

Size of each item in px.

Default44

DockItem

className?
string
Default—
onClick?
(() => void)

When set, the item renders as a <button>. Omit when children carry their own link or button.

Default—
active?
boolean
Default—
aria-label?
string
Default—

DockSeparator

className?
string
Default—

Updated