Vitro
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-vitroAbout this component
Shipping options as three frosted glass rows over two slow drifting colour blobs. The row you pick clears, grows a touch, takes a violet edge and its ring fills with a gradient dot.
Triggers
- Click
- State change
- Ambient
- Gradient
Techniques
- CSS transition
- Keyframes
- Filter
- Pseudo elements
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
Native radios in a fieldset with a visually hidden legend ("Shipping"), each inside a <label> and named by its visible text; the ring is aria-hidden. Arrow keys move between options as usual and the focused row is outlined.
Reduced motion
The drift and every transition are switched off.
Use it in anything you build, commercial and client work included. Licence