Buttons
Banded stripe button
Banded stripe button: A wide button whose face is cut into hard diagonal bands stepping through values of one accent, sliding one band over on hover.
Using Banded stripe button
Banded stripe 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 | Get started | Up to 20 characters |
accent | color | #F5C542 | No additional limit in the metadata. |
bands | number | 5 | From 3 to 8; step 1 |
angle | number | 135 | From 0 to 180; step 5 |
slideOnHover | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Banded stripe button?
Banded stripe 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 Banded stripe button depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Banded stripe button?
The React source for Banded stripe 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 Banded stripe button handle reduced motion?
Banded stripe 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.