NB
NEO

Neo Tooltip

Contextual hints that pop. Because sometimes your UI needs to explain itself without cluttering the screen.

01 Installation

Copy the source code below. It depends on `framer-motion` for the pop effect.

Source Code
New Component

src/components/neo/

NeoTooltip.tsx

Or switch to the "Code" tab to view manually

02 Basic Usage

Simple Hover

03 Positions

Tooltips can appear on any side of the element: `top`, `bottom`, `left`, or `right`.

Directional Tooltips

04 Color Variants

Style your tooltips to match their context (or their danger level).

Styled Tooltips
?
?
?
?

05 Real World Examples

Toolbar Actions
Image Hotspots
Tactical Map

Props API

PropTypeDefaultDescription
contentReactNode-The text or element to display inside the tooltip.
position"top" | "bottom" | "left" | "right""top"Where the tooltip appears relative to the trigger.
variant"dark" | "light" | "lime" | "pink""dark"Color scheme of the tooltip.