VanillaReactLight & dark181 views
A Stripe-styled workspace switcher: a gradient logo-tile trigger opens a smooth-height reveal panel with the current-workspace header, a real-photo member facepile, a radio list that live-switches the trigger, a signed-in account row, plus create, settings and sign-out actions and keyboard.
Get the code for free
Create a free account to copy or download the full source.
Dropdown Menu component
A Stripe-styled workspace switcher: a gradient logo-tile trigger opens a smooth-height reveal panel with the current-workspace header, a real-photo member facepile, a radio list that live-switches the trigger, a signed-in account row, plus create, settings and sign-out actions and keyboard.
aria-haspopup, aria-expanded and aria-controls+N overflow chipWORKSPACES array — choosing another workspace patches the radio rows in place (the check fades in with a soft scale) and cross-fades both the trigger tile and text to the newly chosen workspacerole="menuitemradio" workspace rows with aria-checked, an indigo check, a primary ring around the active workspace avatar and a persistent leading accent bar so the current workspace is unmistakablerole="menuitem" rows from datagrid-template-rows: 0fr → 1fr with no JS height measuring — while the inner wrapper fades in and de-blurs on a single cubic-bezier(0.22, 1, 0.36, 1) ease and the shadow grows into a liftprefers-reduced-motionaria-haspopup="menu", aria-expanded and aria-controlsrole="menu", actions use role="menuitem"role="menuitemradio" with aria-checked inside a labelled role="group"tabindex="-1" and receive focus as the active index movesaria-label names the current workspace and updates on switch:focus-visible with outline on all interactive elementsOpen Workspace Switcher in Atheros AI Builder, pick a design system and ask the AI assistant to change the layout, copy or behaviour — the dropdown 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.
--ring<img> carries the member's real name as altprefers-reduced-motion: reduce disables all animations