Atelier UI

Search components…

Search components…

Magnify Dock

macOS-style dock whose icons magnify as the pointer approaches.

Edit in sandbox

Copy a prompt for your AI coding tool with the source, dependencies and usage

Props

MagnifyDockProps

Also accepts all props of React.ComponentProps<"nav">

PropTypeDefaultDescription
items* requiredDockItem[]——
baseSizenumber44Resting icon size in px
maxSizenumber72Icon size directly under the pointer, in px
rangenumber140Distance in px over which magnification fades out

Install

$ npx shadcn@latest add https://chromotion.dev/r/magnify-dock.json

The CLI installs the base component; your customizations live in the code generated on the Customize tab.

More like this