Tooltip

A floating informational popup that appears on hover or focus, providing contextual help or descriptions.

Installation

npx chilli@latest add tooltip

Default

API Reference

Tooltip

PropTypeDefaultDescription
contentReactNodeThe content displayed inside the tooltip.
side"top" | "right" | "bottom" | "left""top"The preferred side of the trigger to display.
delayDurationnumber200Delay in ms before the tooltip appears.
childrenReactNodeThe trigger element.