Buttons
Outset ring tilt button
Outset ring tilt button: A badge-style button with a thick ring floating outside its edge that grows, tips a couple of degrees and drops a hard shadow on hover.
Using Outset ring tilt button
Outset ring tilt 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 | Share | Up to 18 characters |
accent | color | #38BDF8 | No additional limit in the metadata. |
hoverScale | number | 1.2 | From 1 to 1.5; step 0.05 |
tilt | number | 2 | From 0 to 8; step 0.5 |
ringOffset | number | 4 | From 0 to 12; step 1 |
Which frameworks are available for Outset ring tilt button?
Outset ring tilt 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 Outset ring tilt button depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Outset ring tilt button?
The React source for Outset ring tilt button includes: 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 Outset ring tilt button handle reduced motion?
Outset ring tilt button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: targetRotate: reduced || pressed ? 0 : lifted ? tilt : 0; targetScale: reduced ? 1 : pressed ? 0.985 : lifted ? hoverScale : 1. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.