Buttons
Offset plate button
Offset plate button: An outlined button with a solid plate parked down and to the right; hovering slides the plate home so the two shapes lock into one.
Using Offset plate button
Offset plate 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 | Book a demo | Up to 40 characters |
accent | color | #FF6A1F | No additional limit in the metadata. |
offset | number | 10 | From 2 to 20; step 1 |
radius | number | 40 | From 4 to 40; step 2 |
duration | number | 0.2 | From 0.1 to 0.6; step 0.05 |
Which frameworks are available for Offset plate button?
Offset plate 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 Offset plate button depend on?
The React metadata lists these npm dependencies beyond React: clsx, tailwind-merge.
What accessibility details are visible in Offset plate button?
The React source for Offset plate 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 Offset plate button handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Offset plate 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.