Buttons
Bevel frame button
Bevel frame button: A square framed button whose two ends bevel into points on hover, turning the rectangle into a six sided badge.
Using Bevel frame button
Bevel frame 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 | Deploy | Up to 32 characters |
accent | color | #FF6A1F | No additional limit in the metadata. |
tilt | number | 20 | From 0 to 40; step 2 |
thickness | number | 5 | From 2 to 10; step 1 |
duration | number | 0.2 | From 0.1 to 0.6; step 0.05 |
Which frameworks are available for Bevel frame button?
Bevel frame 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 Bevel frame button depend on?
The React metadata lists these npm dependencies beyond React: clsx, tailwind-merge.
What accessibility details are visible in Bevel frame button?
The React source for Bevel frame button includes: native elements (button); attributes and handlers (aria-hidden, onKeyDown, onKeyUp); key comparisons (Enter, Space). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Bevel frame button handle reduced motion?
Bevel frame 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.