Skip to content

Tooltip

<bh-tooltip> | BharatTooltip

The Tooltip component provides contextual help or guidance when users hover or focus on elements. It supports configurable positions, sizes, colors, delay timing, and arrow indicators.

Open in flex-shrink: 0; flex-shrink: 0;
Right Tooltip

Tooltip Content

Left Tooltip

Tooltip Content

Basic Usage

Open in flex-shrink: 0; flex-shrink: 0;
Right Tooltip

Tooltip Content

Positions

Open in flex-shrink: 0; flex-shrink: 0;
Left Tooltip

Tooltip Content

Top Tooltip

Tooltip Content

Bottom Tooltip

Tooltip Content

Right Tooltip

Tooltip Content

Properties

PropertyTypeDescription
positionstringTooltip position: "top", "right", "bottom", or "left"
colorstringText color
backgroundstringBackground color
sizestringTooltip size: "small", "medium", or "large"
widthstringFixed width
delaynumberDelay in milliseconds before showing the tooltip
arrowbooleanWhether to display the arrow indicator
always-visiblebooleanIf true, tooltip is always shown
visiblebooleanTooltip visibility (internal/state-managed)
borderRadiusstringCustom border radius