Overlays
Underline hint tooltip
Underline hint tooltip: A dotted-underline word that reveals a short hint bubble above or below it on hover or keyboard focus, driven entirely by CSS.
Using Underline hint tooltip
Underline hint tooltip 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 | Hover me | Up to 40 characters |
tip | text | Extra context appears here | Up to 80 characters |
position | select | top | Options: top, bottom |
accent | color | #7C5CFF | No additional limit in the metadata. |
Which frameworks are available for Underline hint tooltip?
Underline hint tooltip 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 Underline hint tooltip depend on?
The React metadata lists no additional npm dependencies beyond React.
What accessibility details are visible in Underline hint tooltip?
The React source for Underline hint tooltip includes: attributes and handlers (aria-describedby, tabIndex); explicit roles (tooltip). These are source observations. Verify accessible names, focus order and keyboard behavior in the composed page.
How does Underline hint tooltip handle reduced motion?
The source scan found no direct useReducedMotion() or matchMedia preference read in Underline hint tooltip'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.