HomePluginsToolsWorkflowAboutContact
GetSet

Premium UI/UX layout engines, customizable micro-interaction plugins, and high-performance components for modern web developers.

Plugins

  • Carousel
  • Select
  • Zoom
  • FlexoGrid
  • Sortable
  • Modal
  • Drawer
  • Tooltip
  • Popover
  • Toast
  • ContextMenu
  • Tabs
  • Accordion
  • Reveal
  • Autocomplete
  • Tags
  • Range
  • DatePicker
  • Upload
  • Cropper
  • Table
  • Tree
  • Editor

Company

  • Home
  • Plugins
  • Developer Tools
  • Showcase
  • Our Process
  • About Us
  • Contact

Policies

  • Terms and Conditions
  • Privacy Policy
  • Accessibility Policy
  • Cookie Policy

© 2026 GetSet. All rights reserved.

Crafted for frontend excellence.

Your Bundle

Your bundle is empty

Add plugins from the catalog to build one combined CDN link — like picking font families.

Browse plugins
Overlay Plugin

GS Tooltip

Featherweight tooltips with 12 auto-flipping placements, hover/focus/click triggers, arrow rendering, interactive content and follow-cursor mode.

Latest: v1.0.2
Downloads last month: 179
Visit Demo Website

Install Package

npm i @get-set/gs-tooltip
or via CDN
<link rel="stylesheet" href="https://cdn.get-set.it/gs-tooltip/latest/gs-tooltip.min.css">
<script src="https://cdn.get-set.it/gs-tooltip/latest/gs-tooltip.min.js"></script>
Interactive Playground

Live Sandbox

Tooltip.jsx
1
2
3
4
5
6
7
8
9
import Tooltip from '@get-set/gs-tooltip';

export default function App() {
  return (
    <Tooltip>
      <div className="content">Your Tooltip content</div>
    </Tooltip>
  );
}
Live Preview

Options

Configuration Values

Reference?Reference option.
Content?Tooltip content. Plain text by default; pass `allowHTML` to render markup.
Placement?Preferred placement (12 RTL-aware variants).
Boundary Padding?Padding (px) kept between the tooltip and the viewport edge.
Trigger?How the tooltip opens.
Show Delay?Delay (ms) before showing.
Hide Delay?Delay (ms) before hiding.
Delay?Combined delay shorthand: number applies to both, object sets each.
Interactive Border?Extra hover-bridge padding (px) for `interactive` tooltips.
Follow Cursor?Follow the cursor while hovering.
Animation?Entrance/exit animation name.
Animation Duration?Animation duration in ms.
Animation Easing?CSS easing for the animation.
Arrow Size?Arrow size in px. Default: 8.
Theme?Visual theme. `auto` follows prefers-color-scheme.
Accent Color?Accent / background color (CSS var --gst-bg).
Max Width?Max width. Number = px; string = raw CSS.
Z Index?z-index of the floating tooltip.
Class Name?Extra class name applied to the tooltip box.
Append To?Element to append the floating tooltip to.
Target?Explicit reference element(s).

Feature Flags

API Specifications

OptionTypeDefaultDescription
referencestringnoneReference.
contentstring''Tooltip content. Plain text by default; pass `allowHTML` to render markup.
allowHTMLbooleanfalseTreat `content` as raw HTML instead of escaped text. Default: false.
placementGSTooltipPlacement'top'Preferred placement (12 RTL-aware variants). Default: 'top'.
flipbooleantrueAuto-flip to the opposite side on viewport collision. Default: true.
shiftbooleantrueShift along the side to stay in the viewport on collision. Default: true.
boundaryPaddingnumber8Padding (px) kept between the tooltip and the viewport edge. Default: 8.
offsetGSTooltipOffsetnoneSkidding / distance offset from the reference.
triggerGSTooltipTrigger'hover focus'How the tooltip opens. Default: 'hover focus'.
showDelaynumber0Delay (ms) before showing. Number = both; object = per phase. Default: 0.
hideDelaynumber0Delay (ms) before hiding. Number = both; object = per phase. Default: 0.
delaynumber | { show?: number; hide?: number }noneCombined delay shorthand: number applies to both, object sets each. When set, overrides `showDelay`/`hideDelay`.
hideOnClickbooleantrueHide when the reference (or document) is clicked. Default: true.
interactivebooleanfalseKeep the tooltip open while the pointer is over it. Default: false.
interactiveBordernumber6Extra hover-bridge padding (px) for `interactive` tooltips. Default: 6.
followCursorGSTooltipFollowCursorfalseFollow the cursor while hovering. true | 'horizontal' | 'vertical' | 'initial' | false. Default: false.
touchboolean | 'hold'trueEnable touch support (long-press / tap). true | false | 'hold'. Default: true.
animationGSTooltipAnimation | false'fade'Entrance/exit animation name. `false` disables motion. Default: 'fade'.
animationDurationnumber | { enter?: number; exit?: number }200Animation duration in ms. Number = both; object = per phase. Default: 200.
animationEasingstring'cubic-bezier(.16,1,.3,1)'CSS easing for the animation.
reducedMotion'auto' | boolean'auto'Honor prefers-reduced-motion. 'auto' | true | false. Default: 'auto'.
arrowbooleantrueShow the pointing arrow. Default: true.
arrowSizenumber8Arrow size in px. Default: 8.
themeGSTooltipTheme'auto'Visual theme. `auto` follows prefers-color-scheme. Default: 'auto'.
accentColorstringnoneAccent / background color (CSS var --gst-bg).
maxWidthnumber | string300Max width. Number = px; string = raw CSS. Default: 300.
zIndexnumber9999z-index of the floating tooltip. Default: 9999.
rtlbooleanfalseRight-to-left layout. Default: false.
customClassGSTooltipCustomClassnonePer-part class overrides.
classNamestringnoneExtra class name applied to the tooltip box.
appendToHandlerTarget | 'body' | 'parent''body'Element to append the floating tooltip to. selector | HTMLElement | 'body' | 'parent'. Default: 'body'.
disabledbooleanfalseStart disabled (no triggers fire until enabled). Default: false.
ariabooleantrueWire `aria-describedby` on the reference to the tooltip. Default: true.
hideOnScrollbooleantrueHide when the reference is scrolled out of view. Default: true.
stickybooleantrueReposition on scroll/resize while open. Default: true.
targetHandlerTargetnoneExplicit reference element(s). Defaults to the element the plugin is constructed on (native) or the wrapped child (React).

Technical Features

12 Placements

Every side and corner, with viewport auto-flip.

Multiple Triggers

Hover, focus and click activation.

Follow Cursor

Optionally track the pointer as it moves.

Interactive Mode

Hoverable, clickable rich tooltip content.