Tooltip

The Tooltip component is used to display a small popup that appears when a user interacts with a trigger element.

Imports

`Root` - The root of the component, what wraps everything.

`Trigger` - The trigger that opens the tooltip.

`Content` - The content, the generic popover base.

Installation

npx neel-ui add tooltip

Example

API Reference

Props of the `Combobox` component. `*` denotes the default value. As it is an extension of the `Popover` component, it also inherits the props of the `Popover` component.

Attribute
Type
Description
Parent
placement
What side the content should open on, defaults to `top`.
`Content`, `Trigger`, `Trigger`
delayClose
number
The delay before the content closes, defaults to `0`.
undefined
delayOpen
number
The delay before the content opens, defaults to `250`.
undefined