Floating Dock
A macOS-style navigation dock. Icons grow toward the pointer, labels appear above them and the current page gets a dot.
Installation
pnpm dlx shadcn@latest add @portfolio-kit/floating-dockFirst time? Add the @portfolio-kit registry to components.json
components.json
{
"registries": {
"@portfolio-kit": "https://www.parthjadhav.com/products/portfolio-kit/r/{name}.json"
}
}Usage
Examples
Inline
position="static" places the dock in the page flow, e.g. as a row of profile links under a bio or at the end of a page.