zWebUI
v0.1.0 中 Dark

Overlays

Tooltip

Hover/focus-triggered floating tooltip. Configurable placement and delay. Uses FloatingPosition primitive.

Hover (top) Hover (right) Hover (bottom) Long content
Show Code
<z-tooltip content="Helpful tip" placement="top">
  <z-button>Hover me</z-button>
</z-tooltip>

Popover

Interactive floating card triggered by click or hover. Uses FloatingPosition + document click-outside detection.

Click Popover

Popover Title

Interactive popover content. Click outside to close.

Hover Popover
Hover over the trigger to show this popover. Moving away hides it.
Show Code
<z-popover>
  <z-button slot="trigger">Click</z-button>
  <div>Content</div>
</z-popover>

Datepicker

Calendar date picker with single and range modes, min/max constraints, locale-aware month and weekday names, and full keyboard navigation.

Pick a date Pick a range
Show Code
<z-datepicker mode="range" min="2026-01-01" max="2026-12-31">
  <z-button slot="trigger">Pick a range</z-button>
</z-datepicker>