Components
Tooltip
SketchTooltip — a hand-drawn tooltip that appears above its trigger on hover.
SketchTooltip wraps any element and shows a rough.js filled callout above it on
hover. Pass the label text via content and the trigger as children.
Default
import { SketchTooltip, SketchButton } from "blackchalk";<SketchTooltip content="This saves your changes"><SketchButton>Hover me</SketchButton></SketchTooltip>Props
| Prop | Type | Default |
|---|---|---|
content | string | — |
children | ReactNode | — |
See it in the Storybook playground, or read the source.