Buttons
Dashed outline tooltip button
Dashed outline tooltip button: A dashed ghost button that floods with its accent on hover or focus while a pointed tooltip unrolls out of the edge nearest the button.
Using Dashed outline tooltip button
Dashed outline tooltip button uses the card 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 | Archive project | Up to 28 characters |
tip | text | Moves it out of the sidebar | Up to 48 characters |
accent | color | #FF4D8D | No additional limit in the metadata. |
dashWidth | number | 4 | From 1 to 8; step 1 |
gap | number | 12 | From 4 to 28; step 1 |
placement | select | top | Options: top, bottom |
Which frameworks are available for Dashed outline tooltip button?
Dashed outline tooltip 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 Dashed outline tooltip button depend on?
The React metadata lists these npm dependencies beyond React: motion, clsx.
What accessibility details are visible in Dashed outline tooltip button?
The React source for Dashed outline tooltip button includes: native elements (button); attributes and handlers (aria-describedby, aria-hidden); explicit roles (tooltip). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Dashed outline tooltip button handle reduced motion?
Dashed outline tooltip button reads the motion preference in its React source through useReducedMotion(). Preference-dependent expressions in index.tsx: reduceMotion ? false : { scaleY: 0, opacity: 0, x: "-50%" }. Check the full implementation, shared styles and selected port with reduced motion enabled; these observations do not establish that every animation stops.