Buttons
Dialog bevel button
Dialog bevel button: A small grey system button built from two nested hard bevels and a dotted inner focus mark, whose bevel lines swap on press so it reads as pushed in.
Using Dialog bevel button
Dialog bevel 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 | OK | Up to 16 characters |
accent | color | #38BDF8 | No additional limit in the metadata. |
size | select | medium | Options: small, medium, large |
isDefault | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Dialog bevel button?
Dialog bevel 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 Dialog bevel button depend on?
The React metadata lists these npm dependencies beyond React: clsx.
What accessibility details are visible in Dialog bevel button?
The React source for Dialog bevel 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 Dialog bevel button handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Dialog bevel 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.