Navigation
FloatingDock
macOS-inspired icon dock with magnification โ icons scale up as you hover.
Quick Preview
Installation
// Copy fromsrc/components/navigation/FloatingDock.tsx
Usage
import FloatingDock from '@/components/navigation/FloatingDock'<FloatingDockitems={[{ icon: '๐ ', label: 'Home', href: '/' },{ icon: '๐', label: 'Search', onClick: () => openSearch() },{ icon: 'โ๏ธ', label: 'Settings', href: '/settings' },]}/>
Examples
Prompt Preview
Copy a prompt that recreates this UI
Paste this into your AI coding assistant to generate code that closely matches the reference, including color, size, shape, typography, spacing, and polish.
Copy-ready AI prompt
Starts from the current visual reference and project constraints.
Tweak only product-specific copy or data after the first generation pass.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
items* | DockItem[] | - | Array of {icon, label, href?, onClick?} |