← ui-lab

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.

Preview

Installation

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

Conformance

This component conforms to the @publictheta/ui-spec async-validate specification. Run the suite against any implementation with pnpm conformance.