Ready-to-Use Components Powered by Flowbite, ShadCN & Headless UI
Component Library
Browse and explore components
Tooltip
A Tooltip is a UI component used to display informative text when users hover over or focus on an element.
Tooltip Styles
Tooltip content
Tooltip content
Sample Code
Show Code
Copy Code
Trigger Type
Tooltip content
Tooltip content
Sample Code
Show Code
Copy Code
Disable Arrow Tooltip
Tooltip content
Sample Code
Show Code
Copy Code
Animation Tooltip
Tooltip content
Tooltip content
Tooltip content
Tooltip content
Tooltip content
Sample Code
Show Code
Copy Code
Tooltip Placement
Tooltip content
Tooltip content
Tooltip content
Tooltip content
Sample Code
Show Code
Copy Code
API ( Tooltips )
Prop | Description | Type | Default |
---|---|---|---|
style | Determines the visual style of the tooltip. | 'light' | 'dark' | 'light' |
placement | Defines the position of the tooltip relative to the trigger element. | 'top' | 'right' | 'bottom' | 'left' | 'top' |
trigger | Sets the event that triggers the tooltip visibility. | 'hover' | 'click' | 'hover' |
animation | Controls the duration of the tooltip animation. | 'duration-150' | 'duration-300' | 'duration-500' | 'duration-300' |
arrow | Toggles the visibility of the tooltip arrow. | boolean | true |