Buttons
Streak border button
Streak border button: A pill button with a soft point of light sliding along its top and bottom edges, the two streaks traveling in opposite directions.
Using Streak border button
Streak border button uses the inline preview frame with a 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 | Start the run | Up to 40 characters |
accent | color | #F5C542 | No additional limit in the metadata. |
speed | number | 6 | From 1 to 14; step 0.5 |
thickness | number | 1 | From 1 to 4; step 1 |
Which frameworks are available for Streak border button?
Streak border 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 Streak border button depend on?
The React metadata lists these npm dependencies beyond React: clsx.
What accessibility details are visible in Streak border button?
The React source for Streak border 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 Streak border button handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Streak border 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.