UI
← Home

Async Validation

A field that validates as you type against a remote source — like a username availability check. Each keystroke shows a pending state then resolves available or taken, and a stale-response guard ensures a slow earlier check never overwrites a newer one. Tryadmin (taken) vs. anything else.

  • Axe
  • Focus

Preview

Installation

npx shadcn@latest add https://ui.publictheta.com/r/async-validation.json

Conformance

Verified against the @publictheta/ui-spec async-validation specification on both the React and vanilla reference implementations, across Chromium, Firefox, and WebKit.

  • Axe No WCAG 2 A/AA axe-core violations
  • Focus A visible focus indicator appears on keyboard focus (WCAG 2.4.7)

See the full conformance matrix across all components.