Buttons
Tracing edge button
Tracing edge button: A solid button where four hairlines start at opposite corners and draw the whole perimeter on hover, meeting exactly as the outline closes.
Using Tracing edge button
Tracing edge 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 | Read more | Up to 20 characters |
accent | color | #38BDF8 | No additional limit in the metadata. |
traceMs | number | 350 | From 150 to 900; step 25 |
cornerRadius | number | 5 | From 0 to 16; step 1 |
Which frameworks are available for Tracing edge button?
Tracing edge 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 Tracing edge button depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Tracing edge button?
The React source for Tracing edge 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 Tracing edge button handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Tracing edge 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.