Tooltip

Feedback

Contextual hover information with arrow positioning, delay configuration, and portal rendering

Basic Usage

Positions

With Delay

Usage Guidelines

When to Use

  • Icon explanations
  • Truncated text
  • Feature hints

Accessibility

  • Shows on focus not just hover
  • aria-describedby on trigger

Performance

  • Lazy render on trigger
  • Efficient positioning

Common Mistakes

  • Putting essential info in tooltip only
  • Tooltip on touch without alternative

Frequently Asked Questions

Yes, Tooltips use aria-describedby and appear on focus for keyboard users.
No, use Popover for interactive content. Tooltips are for text hints only.

View on GitHub

See the full source code on GitHub