>skeehn

tooltip

Hover info with dither tooltip

Coretooltip.css

Installation

$npx skeehn add tooltip

Preview

Top tooltip
Bottom tooltip

Props

PropTypeDefaultDescription
contentstringTooltip text content
position'top' | 'bottom' | 'left' | 'right''top'Tooltip position

Usage

tooltip.tsx
1import { Tooltip } from '@skeehn/react';23export function Actions() {4  return (5    <Tooltip content="Save your changes">6      <button>Save</button>7    </Tooltip>8  );9}