ReUI
Components

Tooltip

Displays brief, contextual information when hovering over or focusing on an element, improving clarity without cluttering the interface.

Installation

pnpm dlx shadcn@latest add https://reui.io/r/tooltip.json

Examples

Default

Loading

Light

Loading

Side

Loading

API Reference

This component is built using Radix UI Tooltip primitives. For detailed information, please visit the full API reference.

Tooltip

This component is based on the Tooltip.Root primitive. For full details, visit the official documentation.

TooltipTrigger

This component is based on the Tooltip.Trigger primitive. For full details, visit the official documentation.

TooltipContent

This component is based on the Tooltip.Content primitive and includes the following custom props:

PropTypeDefault
sideOffset number4
className stringundefined

TooltipProvider

This component is based on the Tooltip.Provider primitive. For full details, visit the official documentation.