JollyUI
  1. Docs
  2. components
  3. Tooltip

Tooltip

A tooltip displays a description of an element on hover or focus.

The HTML title attribute can be used to create a tooltip, but it cannot be styled. Custom styled tooltips can be hard to build in an accessible way. TooltipTrigger and Tooltip help build fully accessible tooltips that can be styled as needed.

Installation

npx shadcn@latest add https://jollyui.dev/default/tooltip

Usage

Positioning

Placement

Offset and cross offset

Disabled