Tier

Plan
No dependencies
Code format

Install with shadcn

Needs a free account token. Get a token

npx shadcn@latest add @movin/radio-tier

About this component

Two frosted glass plan cards side by side: picking one lights its rim with a rainbow edge, washes it with soft colour from below and pops a tick badge into its corner.

Triggers

  • Click
  • State change
  • Border

Techniques

  • Conic gradient
  • CSS transition
  • SVG

Difficulty

Intermediate

Accessibility

Keyboard and screen readers

Native radios in a fieldset with a visually hidden legend ("Plan"), each in a <label>; arrow keys move between them as usual and :focus-visible outlines the option.

Reduced motion

The transitions and loops stop and the component jumps straight to its final state.

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

More radios

See all
Accent colour
TintGet code
AudienceGet code
Blend modeGet code
BlenderGet code