Tier
Markup where the component goes, CSS in your stylesheet. No JavaScript.
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/radio-tierAbout 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