Hydro UI · component gallery

Every component, in context.

A hands-on catalogue of the native-first controls, disclosure patterns, overlays, and feedback primitives in Hydro UI. Try each control with a mouse, keyboard, or touch input.

16 components Native semantics Token-based styles

Integration · styling

tokens + Tailwind

Style from state and tokens

Keep component behavior headless: use the generated --hui-* aliases for visual values and target data-* or ARIA attributes for state.

Token hooks

Open surface Border, text, and focus colors come from aliases.
.my-surface {
  background: var(--hui-color-surface);
  color: var(--hui-color-foreground);
  border: var(--hui-border-width-thin) solid var(--hui-color-border);
}

.my-surface[data-state="open"] {
  border-color: var(--hui-color-interactive);
}

Tailwind data and ARIA variants

Disabled surface ARIA state stays available to assistive technology.
<div class="hidden data-[state=open]:block"
     data-state="open">
  Open content
</div>

<button class="aria-disabled:opacity-50"
        aria-disabled="true">
  Disabled action
</button>