Tooltip
Brief text help on hover or focus, with collision-aware placement.
Preview
Use Tooltip
Tooltip is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- Requires native Popover API.
- Forward trigger props and ref to one actual button. Tooltip is text-only; interactive content belongs in Popover.
- Escape dismisses. Hover can move onto the tooltip; focus stays on the trigger. Do not use it as the only accessible name or essential instruction.
API reference
View TypeScript source