PureKit UI logoPureKit UI

Tooltip

Provides additional information on hover.

1npx purekit add tooltip
1import Tooltip from "@/components/purekit-ui/tooltip/tooltip"

Basic

Simple tooltip with label

Tooltip

Custom Content

Using children for custom content

Custom

Main Props

NameTypeDefaultDescription
label
string-Text displayed in the tooltip
children
React.ReactNode-Custom tooltip content

Class Props

NameTypeDefaultDescription
className
string''Additional CSS classes