VanillaReactLight & dark626 views
An agency navbar with a shared morphing flyout: Services, Portfolio, and Company swap icon-and-description panels inside one sliding container with direction-aware cross-fades, a sliding indicator, featured promo cells, mono keyboard hints, and a staggered mobile drawer.
Get the code for free
Create a free account to copy or download the full source.
Menu component
An agency navbar with a shared morphing flyout: Services, Portfolio, and Company swap icon-and-description panels inside one sliding container with direction-aware cross-fades, a sliding indicator, featured promo cells, mono keyboard hints, and a staggered mobile drawer.
<header> with a <nav aria-label="Primary"> primary navigation bargrid-template-columns/grid-template-rows and transform only — no layout-triggering width/height transitionstranslateX/scaleX, resting on the aria-current="page" linkkbd hint strip inside the flyout documenting arrow-key, and Escape supportArrowDown/ArrowUp walk panel links, Home/End jump, ArrowLeft/ArrowRight move across top-level items and morph-switch open panelsArrowDown, and close on Escape, outside click, or focus leaving the navcurrentColor from a JS icon registryprefers-reduced-motion<nav aria-label="Primary"> wraps the nav list and flyout<button aria-expanded aria-haspopup aria-controls> toggled by JS on all three itemsArrowDown/ArrowUp/Home/End inside panels, ArrowLeft/ArrowRight across top-level items and open panelsaria-current="page" on the Home link; the indicator rests on it<button aria-expanded aria-controls> with a swapped aria-labelOpen Subnav Bar in Atheros AI Builder, pick a design system and ask the AI assistant to change the layout, copy or behaviour — the menu is regenerated against your tokens. Take the HTML, CSS, JS and React source with you, or pull it into your repo from Claude Code, Cursor or Codex over MCP.
Starting at $9.9 per month, billed annually
Don't miss a beat with our newsletter!
BUILDER
ABOUT US
© 2026 Atheros Intelligence Ltd.
aria-hidden="true":focus-visible with --ring outline on all controlsprefers-reduced-motion: reduce disables all animations