Buttons
Extruded tilt button
Extruded tilt button: A heavy display button leaning in perspective whose hollow letters are extruded by two hard offsets that flip sides as the plate swings on hover and slap flat when pressed.
Using Extruded tilt button
Extruded tilt button uses the inline preview frame with a light/dark theme setting.
Customize the preview
These controls are passed to the demo. Defaults and limits describe the preview; consult the implementation for its full prop API.
| Control | Type | Default | Preview limits |
|---|---|---|---|
label | text | LAUNCH | Up to 16 characters |
accent | color | #2F6BFF | No additional limit in the metadata. |
tiltDegrees | number | 20 | From 0 to 35; step 1 |
extrusion | number | 0.08 | From 0.02 to 0.2; step 0.01 |
sweep | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Extruded tilt button?
Extruded tilt button is available for React, Vue, Svelte, Astro, HTML. The live preview uses React; the source observations below apply to index.tsx. Check the selected port before relying on the same interactions.
What does Extruded tilt button depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Extruded tilt button?
The React source for Extruded tilt button includes: native elements (button); attributes and handlers (onKeyDown, onKeyUp); key comparisons (Enter, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Extruded tilt button handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Extruded tilt button's index.tsx. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.