Deco
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-decoAbout this component
Seating options as three arched panels in gold line on midnight navy, each with a diamond marker. The arch you pick fills with a slowly turning gold sunburst and its diamond turns solid.
Triggers
- Click
- State change
- Glow
- Loop
Techniques
- Conic gradient
- Keyframes
- CSS transition
- Pseudo elements
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
Native radios in a fieldset with a visually hidden legend ("Seating"), each inside a <label> and named by its visible text; the rays and diamond are aria-hidden. The focused panel is outlined.
Reduced motion
The sunburst shows without turning.
Use it in anything you build, commercial and client work included. Licence