Extrude
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-extrudeAbout this component
A plan picker where each row has a flat grey tile drawn in isometric view. The tile of the plan you pick rises into a coloured block with a white dot on top and hovers gently.
Triggers
- Click
- State change
- 3D
- Ambient
Techniques
- 3D transform
- CSS variables
- Keyframes
- CSS transition
Difficulty
Intermediate
Accessibility
Keyboard and screen readers
Native radios in a fieldset with a visually hidden legend ("Plan"), each inside a <label> and named by its visible text; the tile is aria-hidden. The focused row is outlined.
Reduced motion
The float and the transitions are switched off and the block simply stands raised.
Use it in anything you build, commercial and client work included. Licence