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 tooltipprops
| name | type | default | description |
|---|---|---|---|
| label * | ReactNode | - | text shown in the pill. |
| side | 'top' | 'bottom' | 'top' | |
| children * | ReactNode | - | the trigger element. |