Buttons
Skewed wipe swap button
Skewed wipe swap button: A button that swaps its label on hover or focus while a sheared accent panel wipes up across its face.
Using Skewed wipe swap button
Skewed wipe swap 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 |
|---|---|---|---|
restLabel | text | Hover to send | Up to 24 characters |
hoverLabel | text | Sent | Up to 24 characters |
accent | color | #FF4D8D | No additional limit in the metadata. |
skew | number | 9 | From 0 to 20; step 1 |
speed | number | 1 | From 0.5 to 2; step 0.1 |
Which frameworks are available for Skewed wipe swap button?
Skewed wipe swap 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 wipe swap button depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Skewed wipe swap button?
The React source for Skewed wipe swap 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 wipe swap button handle reduced motion?
Skewed wipe swap button reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.