
Navigation Menus
- 360 installs
- 68 repo stars
- Updated December 30, 2025
- dylantarre/animation-principles
navigation-menus is a Claude Code skill that applies Disney's 12 animation principles to navigation bars, drawers, mega-menus, tabs, and mobile hamburger flows for developers building accessible animated wayfinding UI.
About
navigation-menus is a frontend animation skill from dylantarre/animation-principles for developers animating navigation bars, menus, sidebars, and wayfinding elements. It applies Disney's 12 principles: menu items compress on click, hamburger icon lines squash during X transformation, dropdown triggers anticipate with lift or highlight, and active items stay visually staged above page content. The skill covers drawers, mega-menus, tabs, and mobile hamburger flows with staggered reveals and accessible motion. Use it when navigation transitions feel abrupt or confusing. Reach for navigation-menus when polishing site or app shells—not single buttons, which buttons-ctas covers.
- Staggered item reveals for hierarchy
- Drawer and overlay enter/exit timing
- Focus and keyboard-safe motion
- Reduced-motion fallbacks
- Mobile vs desktop menu variants
Navigation Menus by the numbers
- 360 all-time installs (skills.sh)
- Ranked #714 of 1,880 Design & UI/UX skills by installs in the Skillselion catalog
- Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/dylantarre/animation-principles --skill navigation-menusAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 360 |
|---|---|
| repo stars | ★ 68 |
| Last updated | December 30, 2025 |
| Repository | dylantarre/animation-principles ↗ |
How do you animate mobile hamburger navigation menus?
Design and implement animated navigation menus—drawers, mega-menus, tabs, and mobile hamburger flows—with clear affordances, staggered reveals, and accessible motion.
Who is it for?
Frontend developers implementing animated navigation shells with drawers, mega-menus, tabs, and mobile hamburger flows.
Skip if: Developers who only need isolated button or CTA animations—use buttons-ctas—or teams shipping navigation without motion requirements.
When should I use this skill?
User animates navigation bars, sidebars, drawers, mega-menus, tabs, hamburger menus, or wayfinding transitions
What you get
Animated nav components with drawer slides, dropdown reveals, tab transitions, and accessible hamburger icon morphs
- animated nav components
- drawer and dropdown transitions
- hamburger icon morph animations
By the numbers
- Applies Disney's 12 animation principles to navigation and menus
Files
Navigation & Menu Animation Principles
Apply Disney's 12 principles to navigation for fluid, intuitive wayfinding.
Principles Applied to Navigation
1. Squash & Stretch
Menu items can compress slightly on click. Mobile hamburger icon lines should squash during transformation to X.
2. Anticipation
Before dropdown opens, trigger item can lift or highlight. Sidebar toggle icon rotates slightly before panel slides.
3. Staging
Active nav item should be clearly distinguished. Dropdown menus appear above other content via z-index and shadow. Focus hierarchy matters.
4. Straight Ahead & Pose to Pose
Define clear states: closed, opening, open, closing. Each menu item has default, hover, active, selected poses.
5. Follow Through & Overlapping Action
Dropdown items stagger in (20-30ms delay each). Submenu arrows rotate after text settles. Active indicator slides with slight overshoot.
6. Ease In & Ease Out
Menu open: ease-out. Menu close: ease-in. Hover transitions: ease-in-out. cubic-bezier(0.4, 0, 0.2, 1) for Material-style.
7. Arcs
Mobile nav sliding in from side should have slight arc. Menu indicator sliding between items can follow subtle curve path.
8. Secondary Action
While dropdown expands (primary), shadow grows (secondary), parent item stays highlighted (tertiary). Chevron rotates.
9. Timing
- Dropdown open: 200-250ms
- Dropdown close: 150-200ms
- Hover highlight: 100-150ms
- Active indicator slide: 200-300ms
- Stagger per item: 20-40ms
- Hamburger morph: 300ms
10. Exaggeration
Active indicator can overshoot and bounce back. Important nav items can pulse briefly for attention. Mega menus deserve bold entrances.
11. Solid Drawing
Maintain consistent spacing during animations. Shadows should be consistent. Icons should stay crisp at all animation frames.
12. Appeal
Smooth nav feels professional. Snappy responses build confidence. Navigation is used constantly, so invest in these micro-interactions.
CSS Implementation
.nav-dropdown {
transform-origin: top;
transition: transform 200ms ease-out,
opacity 200ms ease-out;
}
.nav-dropdown.open {
transform: scaleY(1);
opacity: 1;
}
.nav-indicator {
transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}Key Properties
transform: translateX/Y, scaleY, rotateopacity: fade menusheight/max-height: accordion menusclip-path: reveal effectstransform-origin: dropdown direction
Related skills
FAQ
Which navigation patterns does navigation-menus cover?
navigation-menus covers animated navigation bars, drawers, mega-menus, tabs, and mobile hamburger flows. The skill applies Disney's 12 principles with squash transforms, anticipation highlights, and staggered reveals.
How does navigation-menus handle mobile menus?
navigation-menus animates hamburger icon lines with squash during transformation to X and uses anticipation before sidebars or dropdowns open. Active nav items remain visually staged for clearer wayfinding.