Tooled

No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/tab-tooled

About this component

A strap of cognac bookbinding leather inside a gold-tooled double rule, its tabs pressed blind into the leather. The picked tab is gold leaf in a tooled frame that stamps on with a glint, while the old frame fades to a blind impression.

Triggers

  • Click
  • State change
  • Keyframe

Techniques

  • SVG filter
  • Keyframes
  • Gradient
  • CSS transition

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

A WAI-ARIA tablist (aria-label "Volumes") of buttons with role="tab", aria-selected and aria-controls, a roving tabindex, Left and Right arrow keys plus Home and End, and one tabpanel per tab; :focus-visible outlines the tab. Every drawn part is aria-hidden.

Reduced motion

The stamp, glint and fade are switched off, so the selection changes at once.

Use it in anything you build, commercial and client work included. Licence

More tabs

See all
VapourGet code
VFDGet code

ANSIGet code

AquarelleGet code