Navigation Menu animation
Keeps its own direction-aware motion and follows your theme's timing. Works on Base UI and Radix through <Cuts />.
with <Cuts />
What moves
| When | What you see | Timing | How |
|---|---|---|---|
| Opens, closes or moves between items | Its own direction-aware motion, on your theme's timing | your theme's timing | Automatic |
Install
Navigation Menu is shadcn's own component. With <Cuts /> in your root layout (Quick start), there's nothing else to add:
npx shadcn add navigation-menuTurn it off
Put data-cut="none" on a navigation menu (or anything around it) to keep shadcn's own motion there. <Cuts responses="none" /> turns off every response across the app and keeps the cuts. With reduced motion, movement becomes a short fade or nothing.