Customize
Background
Dock Color
Indicator Color
Icons
9
Icon Size
52
Magnification
84
Magnify Range
150
Icon Gap
16
Hover Labels
Running Dots
Launch Bounce
Drag To Reorder
Calendar Month
Calendar Day
17
Spring Speed
100
Physics Dock
Widgets 182 views•67 uses
Props
15 propertiesbackgroundcolor#fbfbfbdockColorcolor#5e5e5edotColorcolor#e8e8e8iconCountnumber9iconSizenumber52magnificationnumber84rangenumber150gapnumber16showLabelsbooleantrueshowDotsbooleantruebounceOnClickbooleantruereorderablebooleantruecalendarMonthstringJulcalendarDaynumber17speednumber100Get this component
Copies the component into your project, installs what it needs, and pulls down its images. Nothing to download by hand.
npx spark-ui-registry@latest add physics-dockWrites to components/spark-ui/ by default; override with --dir. The file is yours to edit; there is no package to keep in sync.
A desktop-style app dock whose icons swell under the cursor on spring physics, bounce when launched and can be dragged to rearrange.
KEY FEATURES
- ·Icons magnify with a cosine falloff around the pointer, each on its own spring, so neighbours ease up smoothly
- ·Drag any icon sideways to reorder the dock; the rest slide out of the way
- ·Clicking an icon plays a launch bounce and lights its running indicator
- ·Hover labels float above each icon
- ·All nine app icons are hand-drawn vectors that stay crisp at any magnification