Buttons
Skewed shutter button
Skewed shutter button: A button whose two sheared panels park outside its edges and drive inward on hover, closing behind the label on a diagonal seam.
Using Skewed shutter button
Skewed shutter 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 |
|---|---|---|---|
accent | color | #FF6A1F | No additional limit in the metadata. |
trailing | color | #7A3410 | No additional limit in the metadata. |
label | text | Book a slot | Up to 20 characters |
skew | number | 34 | From 12 to 48; step 1 |
duration | number | 500 | From 150 to 1200; step 25 |
Which frameworks are available for Skewed shutter button?
Skewed shutter 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 Skewed shutter button depend on?
The React metadata lists these npm dependencies beyond React: clsx.
What accessibility details are visible in Skewed shutter button?
The React source for Skewed shutter button includes: native elements (button); attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Skewed shutter button handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Skewed shutter 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.