components / tooltip

tooltip.

white slide-up pill shown on hover or keyboard focus. pure CSS, wraps any trigger. aria-hidden — label the trigger itself.

installation
bunx @justin06lee/chrome@latest add tooltip
props
nametypedefaultdescription
label *ReactNode-text shown in the pill.
side'top' | 'bottom''top'
children *ReactNode-the trigger element.