Bauhaus

Output
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/radio-bauhaus

About this component

A radio list on cream card, ruled in black, with a circle marker on each row. A block of red, blue or yellow slides in behind the row you pick, its circle turns solid and a small black shape spins at the end.

Triggers

  • Click
  • State change
  • Fill
  • Loop

Techniques

  • Transform only
  • CSS variables
  • CSS transition
  • Keyframes

Difficulty

Beginner

Accessibility

Keyboard and screen readers

Native radios in a fieldset with a visually hidden legend ("Output"), each inside a <label> and named by its visible text; the block, marker and shape are aria-hidden. The focused row is outlined.

Reduced motion

The block appears at once and the shape stays still.

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

More radios

See all
Drawing scale
BlueprintGet code
Aspect ratio
BoundsGet code
Input
BrassGet code
Candle
CandlesGet code