Buttons
Sketched outline button
Sketched outline button: An outlined button whose four corners are deliberately uneven, redrawing into a second lopsided shape with a dashed stroke on hover or focus.
Using Sketched outline button
Sketched outline 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 | Sketch | Up to 20 characters |
accent | color | #FF6A1F | No additional limit in the metadata. |
stroke | number | 3 | From 1 to 6; step 1 |
wobble | number | 0.7 | From 0 to 1; step 0.05 |
dashOnHover | boolean | true | No additional limit in the metadata. |
duration | number | 0.2 | From 0.05 to 0.8; step 0.05 |
Which frameworks are available for Sketched outline button?
Sketched outline 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 Sketched outline button depend on?
The React metadata lists these npm dependencies beyond React: clsx, tailwind-merge.
What accessibility details are visible in Sketched outline button?
The React source for Sketched outline button includes: native elements (button). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Sketched outline button handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Sketched outline 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.