Tooltip
Overlays · Guide 11 of 46
Purpose
Hover and focus hint for a control.
Import
<script lang="ts">
import { Tooltip } from 'bits-ui';
</script>The registry names Tooltip as this guide’s namespace. Copy the exact root and part composition from the live demo rather than guessing part names.
Usage checklist
- Give the trigger and surfaced content useful accessible names.
- Verify focus entry, Escape behavior, and focus restoration.
- Test viewport collisions, page scrolling, and stacking with other overlays.
Secondary reference
After using the local example, consult the upstream Bits UI reference for exhaustive API details.
Continue
- Previous: Popover
- Index: All component guides
- Next: Link Preview