bloxa

Dock

FREE

macOS-style dock whose icons magnify as the cursor passes.

Installation

Terminal
npx @bloxa/cli add dock
# or: npx shadcn@latest add @bloxa/dock

Packages installed automatically: motion

Examples

App dock

API reference

Every component also accepts the props of the element it renders.

Dock

PropTypeDefaultDescription
sizenumber44Icon size in px.
magnifynumber1.6Magnification.
distancenumber140Reach in px.

DockItem

PropTypeDefaultDescription
labelstring—Label and accessible name.
iconReactNode—Icon.
activeboolean—Dot underneath.
hrefstring—Link.