You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lenny P. edited this page May 17, 2025
·
1 revision
Tooltip Component
The Tooltip component wraps any content and shows a small informational popup when the user hovers or focuses on the element. It's useful for providing additional context or explanations without cluttering the interface.
tooltip (string|null)
The text displayed inside the tooltip.
position (string, default: "top")
Determines where the tooltip appears relative to the content. Options: top, bottom, left, right.
Overview
This Tooltip component enhances user interaction by providing context-sensitive messages on hover or focus. It uses Tailwind for styling and supports all standard placement directions. The tooltip is styled for both light and dark modes.