Console
Markup where the component goes, CSS in your stylesheet, script before </body>. In Vue, Svelte or Angular, call initTabsConsole(el) on the mounted element instead.
Paste into Claude, ChatGPT or Cursor after filling in {{USER_STACK}}, {{USER_STYLING}} and {{USER_CONSTRAINTS}}. Neutral keeps the greys you see here; Match my project asks the model to map them onto your own colour tokens.
Install with shadcn
Needs a free account token. Get a token
npx shadcn@latest add @movin/tab-consoleAbout this component
Four square keys cut from one slab, each with a glyph and a small LED strip. Choose a key and a dark pocket slides across the slab to sit under it on a spring; the glyph steps up into white light and its LED turns lime a beat later.
Triggers
- Click
- State change
- Spring
- Glow
Techniques
- CSS transition
- CSS variables
- SVG
- Pseudo elements
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
A WAI-ARIA tablist (aria-label "Console") of buttons with role="tab", each named by aria-label since it shows only a glyph, with aria-selected and aria-controls, a roving tabindex, arrow keys plus Home and End, and one tabpanel per tab; the pocket and the LED strips are aria-hidden.
Reduced motion
The pocket, glyphs and LEDs switch without transition.
Use it in anything you build, commercial and client work included. Licence