WRNexus UI
Overlays component

Tooltip

Theme-aware, responsive tooltip component.

8 props1 slots0 eventsTheme readyResponsive
Interactive playground

Configure Tooltip

Change any prop and inspect the server-rendered component immediately.

Live preview
Tooltip example

A polished default tooltip for a modern application.

Component code
<Tooltip
  title="Tooltip example"
  description="A polished default tooltip for a modern application."
  open="true"
  closeLabel="Tooltip">
  <!-- Add default slot content here -->
</Tooltip>
Component props8 controls
Live examples

Designed for real product surfaces

Compare configurations and resize the browser to check responsive behavior.

Recommended

Production default

Balanced spacing, hierarchy, and content for the most common product workflow.

01
Live preview
Tooltip example

A polished default tooltip for a modern application.

Component usage.wrn
<Tooltip
  title="Tooltip example"
  description="A polished default tooltip for a modern application."
  open="true"
  closeLabel="Tooltip">
  <!-- Add default slot content here -->
</Tooltip>
Dense UI

Compact application

A tighter variation for dashboards, side panels, tables, and operational interfaces.

02
Live preview
Compact Tooltip

A compact configuration for dashboards and dense product surfaces.

Component usage.wrn
<Tooltip
  size="sm"
  title="Compact Tooltip"
  description="A compact configuration for dashboards and dense product surfaces."
  open="true"
  closeLabel="Compact example">
  <!-- Add default slot content here -->
</Tooltip>
Extended

Rich configuration

A more expressive variation using additional data, stronger emphasis, and optional states.

03
Live preview
Advanced Tooltip

A richer configuration demonstrating additional content and hierarchy.

Component usage.wrn
<Tooltip
  size="lg"
  title="Advanced Tooltip"
  description="A richer configuration demonstrating additional content and hierarchy."
  open="true"
  closeLabel="Advanced example">
  <!-- Add default slot content here -->
</Tooltip>
Component API

Props and configuration

All content and behavior shown above is supplied through these props and slots.

PropTypeDefaultRequired
sizestring"default"No
colorstring"primary"No
titlestring"Tooltip"No
descriptionstring""No
openbooleanfalseNo
placementstring"bottom"No
closeLabelstring"Close"No
classstring""No