Animated top dock
A proximity-spring top navigation in three fits (centred glass dock, modern bar, pixel retro bar) chosen by a variant prop.
What it is for
Site header with a lively hover response.
Use it
1 · site.json
"effects": { "components": ["animated-top-dock"] }or on the command line
node ~/.claude/skills/sitewright/scripts/scaffold.mjs --config site.json --out ./my-site --components animated-top-dock2 · import it
import { AnimatedTopDock } from '@/components/fx/ui';Files
components/fx/ui/AnimatedTopDock.tsxcomponents/fx/ui/_menus-kit.tsxcomponents/fx/ui/_t2.tsui-animated-top-dock.cssstylesui-menus-stage.cssstyles
Accessibility
- Keyboard. Components in the kit are written to be reached and used with the keyboard. Try it: press Tab inside the preview.
- Reduced motion. With
prefers-reduced-motionon, animation settles to its finished state at once. - Touch. Pointer-follow effects are skipped on touch screens; controls stay finger-sized.