Tooltip | CombricSkip to content

Tooltip

Combric

Immediate non-interactive description on hover or focus.

@combric/react · v1.2.0 · Current

Import and usage

import { Tooltip, TooltipTrigger, TooltipContent } from "@combric/react";

Load the native stylesheet with @import "@combric/react/css";. This path does not require Tailwind.

Examples

Help tooltip

Position and alignment

Public API

Public exports
Name
Tooltip
TooltipTrigger
TooltipContent
Documented contracts
Property / capabilityPublished contract
Contractside
Contractalign
Contractopen/defaultOpen

Accessibility

Uses role tooltip and aria-describedby, never moves focus, and requires non-interactive content.

Keyboard

Focus opens; blur or Escape closes.

CSS and customization

Combric classes and canonical --combric-* variables provide the package presentation. Consumer className extends the required class; it does not replace the component contract.

Motion

Tooltip content fades and translates/scales by default and is removed after its visual exit. Customize or locally disable the presentation through TooltipContent’s className and public state/side attributes. Reduced motion is automatic. See the Motion Foundation.

Source

View source on GitHub