Simtip
react-simtip is a small React tooltip. Zero extra packages. Wrap a trigger, pass content, place it with props or CSS.
react-simtip is a small React tooltip. Zero extra packages. Wrap a trigger, pass content, and the label sits next to it. Placement, delay, and look are props, a, or CSS variables.
Open Storybook A label on top A label on the left A label on the right A label on the bottom The npm package is React. This page shows the sameea in the site type. Hover or focus a side.The problem
Most tooltip kits pull a positioning engine, a portal layer, and a theme. You wanted a label on hover. The trigger already knows where it is.
Accessibility is the part that gets left for later. A pretty box that never gets
role="tooltip" or a keyboard path is just decoration.
The approach
One component. No runtime dependencies. role="tooltip", aria-describedby, and keyboard
support are the defaults. Tree-shakeable TypeScript. About 5 kB gzipped.
it with props, a, or --simtip-* variables so a whole app can share one look. Storybook
has the full table. Install from
npm.
open when the parent owns the state. Skip it when hover is enough.