Dock

Icons magnify as your pointer approaches, on a tilted glass shelf.

Install it the shadcn way: copy the source file into your project. It uses CSS 3D, Tailwind CSS v4 and Framer Motion, no WebGL.

Dock3D props

PropTypeDefaultDescription
itemsDockItem[]Icons in the dock, each with a label and click handler.
baseSizenumber48Resting icon size in px.
magnificationnumber1.7Size multiplier directly under the pointer.
distancenumber140Pointer distance (px) over which magnification fades out.
classNamestringExtra classes added to the outer element.

More components

Guides

Start

Cards

Scenes

Controls & text

Buttons

More cards

UI elements

Form controls

App components

Text & backgrounds

Showpieces

Blocks