Navigation
Dock menu
Dock menu: A bottom dock whose icons take their size from the pointer distance, with a label above the icon under the cursor and a dot under the active one.
Using Dock menu
Dock menu uses the wide preview frame with a dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
magnification | number | 1.8 | From 1.2 to 2.2; step 0.05 |
distance | number | 140 | From 80 to 200; step 5 |
iconSize | number | 44 | From 36 to 56; step 2 |
Which frameworks are available for Dock menu?
Dock menu is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Dock menu depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.
What accessibility details are visible in Dock menu?
The React source for Dock menu includes: native elements (nav); attributes and handlers (aria-current, aria-hidden, aria-label, onKeyDown); key comparisons (ArrowLeft, End, Home). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Dock menu handle reduced motion?
Dock menu reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.