Buttons
Share toggle chip
Share toggle chip: A recessed chip that flips from an invitation to a confirmed state on click, its glyph popping past full size before settling.
Using Share toggle chip
Share toggle chip uses the inline preview frame with a 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 |
|---|---|---|---|
idleLabel | text | Share | Up to 16 characters |
activeLabel | text | Shared | Up to 16 characters |
accent | color | #38BDF8 | No additional limit in the metadata. |
popScale | number | 1.5 | From 1 to 2; step 0.1 |
recessed | boolean | true | No additional limit in the metadata. |
Which frameworks are available for Share toggle chip?
Share toggle chip 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 Share toggle chip depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx, tailwind-merge.
What accessibility details are visible in Share toggle chip?
The React source for Share toggle chip includes: attributes and handlers (aria-atomic, aria-hidden, aria-label, aria-live, aria-pressed). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Share toggle chip handle reduced motion?
Share toggle chip reads the motion preference in its React source through useReducedMotion(). Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.