Tooltip
A short floating note on hover or focus. Explains a constraint, not the visible label.
Position
Default is top. Compact API: pass text and wrap the trigger.
No delay
delay is on by default (~150ms). Set delay to false only for dense icon toolbars.
Box align
boxAlign shifts the floating box along the side: left, center (default), right.
Type
Custom text
Use the text slot when the note needs emphasis or a Kbd.
Tip and alignment
tip hides the arrow. center={false} left-aligns longer copy.
Best practices
- Visible label names the control. Tooltip adds the limit, scope, or why it is disabled.
- One sentence or fragment. Sentence case. No period on a single fragment.
- Do not repeat the button text or say “Click to…”. Entity previews with rows of facts belong on Context Card.
- Keep the default delay. Icon-only triggers still need their own
aria-label— the tooltip does not replace it. - Do not wrap a labelled Input. Put help on a sibling icon button so the field keeps a single name.