Buttons
Bevel press pill
Bevel press pill: A dark bevelled pill with a recessed round chip on its end that sinks into the surface when pressed.
Using Bevel press pill
Bevel press pill 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 | Register now | Up to 22 characters |
accent | color | #9BE15D | No additional limit in the metadata. |
travel | number | 2 | From 1 to 6; step 1 |
showChip | boolean | true | No additional limit in the metadata. |
size | select | md | Options: sm, md, lg |
Which frameworks are available for Bevel press pill?
Bevel press pill 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 press pill depend on?
The React metadata lists these npm dependencies beyond React: clsx, tailwind-merge.
What accessibility details are visible in Bevel press pill?
The React source for Bevel press pill 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 press pill handle reduced motion?
Bevel press pill reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: duration: reduced ? 60 : 200. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.