Dock
v1.0.1Updated 21 Jul 2026macOS-style magnifying dock (MagicUI). Icons rest at a base size and grow as the cursor approaches, with falloff over distance. Composes a Dock container with DockIcon children that can show a hover tooltip and a "runnin
Preview
Live · 8 storiesDefaultOpen ↗
▸Why this is recommendeddockmagnifymacosnavigation+4
The default, out-of-the-box Dock.
Recommended for+14
- ✓App launchers / desktop-style docks
- ✓Playful navigation bars
- ✓Quick-action toolbars on marketing pages
Tags+6
dockmagnifymacosnavigationlaunchermotionmagicuidefault
Features+4
- Cursor-proximity magnification with distance falloff
- Horizontal (row) or vertical (column) orientation
- direction alignment (top / middle / bottom) of growing icons
- Configurable iconSize / iconMagnification / iconDistance
- DockIcon tooltip label on hover (macOS-style)
- DockIcon active "running" dot
- Respects prefers-reduced-motion (no magnification)
Not recommended for−2
- ✕Dense data toolbars (use a plain toolbar)
- ✕Accessibility-critical primary nav (use Sidebar / Topbar)
Install
Ask your agent, or call the MCP tool directly. The resolved bundle is written into your project.
Usage
Tick variants in the left menu — each adds a tab with that variant’s real story source, the same code the preview above renders.
Props
PropTypeRequired
iconSizeResting icon size in px (default 40)
—iconMagnificationMax magnified size in px (default 60)
—iconDistanceFalloff distance from cursor in px (default 140)
—directionAlignment of growing icons (default middle)
—orientationRow or column layout (default horizontal)
—labelDockIcon: hover tooltip / aria-label
—activeDockIcon: show a running dot
—