Buttons
Blob cap button
Blob cap button: A capsule button with a single-hue liquid blob that swells from a resting corner mark to fill the shape on hover.
Using Blob cap button
Blob cap 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 | Remix | Up to 16 characters |
accent | color | #FF4D8D | No additional limit in the metadata. |
spread | number | 40 | From 10 to 90; step 5 |
blur | number | 10 | From 2 to 24; step 1 |
growth | number | 1.3 | From 1 to 1.8; step 0.05 |
Which frameworks are available for Blob cap button?
Blob cap 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 Blob cap button depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Blob cap button?
The React source for Blob cap button 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 Blob cap button handle reduced motion?
Blob cap button reads the motion preference in its React source through matchMedia(prefers-reduced-motion). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.