EN FR
← Modules

jizy-tooltip

A lightweight JS tooltip module.

Overview

A lightweight JavaScript tooltip module for displaying contextual hints on any DOM element, with no framework dependency.

Features

  • Minimal footprint
  • Attach tooltips to arbitrary DOM elements
  • Vanilla JavaScript, zero dependency

Installation

npm install jizy-tooltip

Example

Lightweight tooltip driven by data-tip attributes, shown via a reused singleton element. data-tip-position drives the arrow direction.

Top Bottom Left Right
Header + body Longer body

A second instance whose tip element carries .jtip-blue re-themes via CSS vars — no rebuild:

Hover me (themed) Themed header