Buttons
Staged expand delete button
Staged expand delete button: A square bin icon tile that widens after a short hover delay, fades its label in, and asks for a confirming second click before it fires.
Using Staged expand delete button
Staged expand delete 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 | Delete | Up to 18 characters |
confirmLabel | text | Sure? | Up to 18 characters |
accent | color | #FF6A1F | No additional limit in the metadata. |
expandedWidth | number | 150 | From 90 to 260; step 5 |
delay | number | 0.2 | From 0 to 0.6; step 0.05 |
open | boolean | false | No additional limit in the metadata. |
Which frameworks are available for Staged expand delete button?
Staged expand delete 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 Staged expand delete button depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Staged expand delete button?
The React source for Staged expand delete 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 Staged expand delete button handle reduced motion?
Staged expand delete button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: labelMs: reduce ? 0 : LABEL_MS; openMs: reduce ? 0 : OPEN_MS; stageDelay: reduce ? 0 : delay * 1000. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.