Animated Dock

An interactive, Apple-style dock with smooth motion physics and dynamic icon scaling. Responsive, intuitive, and built for precision.

Magnetic hover interactionSmooth scaling physicsPrecise cursor-based magnification
Basic
Features

Cursor-aware magnification

Each icon scales relative to your cursor position for a natural dock effect.

Spring-based motion

Smooth scaling powered by motion physics for premium UI feel.

Dynamic labels

Optional hover labels that gracefully appear above each icon.

Compositional structure

Dock, DockItem, DockIcon, and DockLabel can be used flexibly.

Auto-spacing & alignment

Built-in geometry for consistent spacing and fluid motion alignment.

Installation
Works with npm, pnpm, yarn, and bun

$npx libravelui@latest add animated-dock

Anatomy
import {Dock,DockItem,DockIcon,DockLabel,} from "@/components/ui/motion/animated-dock";<Dock><DockItem>  <DockLabel>Item 1</DockLabel>  <DockIcon>1</DockIcon></DockItem></Dock>
Props

Loading types…