Zellige
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-zelligeAbout this component
Four hand-glazed tiles set in grout, each with an eight-point star. Unpicked tiles are plain cream; the one you pick floods with deep glaze from its centre and its star turns to gold.
Triggers
- Click
- State change
- Fill
Techniques
- clip-path
- Radial gradient
- CSS transition
- SVG
- CSS variables
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
Native radios in a fieldset with a visually hidden legend ("Glaze"), each in a <label> and named by aria-label (Cobalt, Teal, Saffron, Oxblood); the tiles are aria-hidden. :focus-visible outlines the tile.
Reduced motion
The flood is switched off and the tile is shown glazed at once.
Use it in anything you build, commercial and client work included. Licence