Dock
An interactive macOS-style dock with icon magnification.
Preview
🏠
⚡
🎨
🧩
🚀
Installation
bash
npx auralix-ui add dockUsage
Basic Dock
tsx
import { Dock, DockIcon } from "@/components/ui/Dock";
<Dock>
<DockIcon>🏠</DockIcon>
<DockIcon>🔍</DockIcon>
<DockIcon>⚙️</DockIcon>
</Dock>Props
| Name | Type | Default | Description |
|---|---|---|---|
magnification | number | 60 | Scale of magnification. |
distance | number | 140 | Distance of influence. |
children | ReactNode | - | DockIcons. |
Variants
Mac (Magnification)
🍎
🖥️
📧
Windows (Taskbar)
🪟
📁
Material (Floating Pill)
M
T
On this page