Buttons
Wipe fill button
Wipe fill button: A pill button whose coin sized disc grows to cover the whole shape on hover, wiping the accent fill out from under a label that never moves.
Using Wipe fill button
Wipe fill 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 | Contact sales | Up to 24 characters |
accent | color | #FF6A1F | No additional limit in the metadata. |
wipeMs | number | 800 | From 200 to 1600; step 50 |
direction | select | leftward | Options: leftward, rightward |
borderWidth | number | 3 | From 0 to 6; step 1 |
Which frameworks are available for Wipe fill button?
Wipe fill 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 Wipe fill button depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Wipe fill button?
The React source for Wipe fill button includes: attributes and handlers (aria-hidden). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Wipe fill button handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Wipe fill 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.