Raise
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-raiseAbout this component
Delivery options on a frosted glass card: the one you pick rises as a slab of mint tinted glass, casting a soft shadow, while its dot fills; the others sit flush in the card.
Triggers
- Click
- State change
Techniques
- CSS transition
- Gradient
Difficulty
Beginner
Accessibility
Keyboard and screen readers
Native radios in a fieldset with a visually hidden legend ("Delivery"), 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