Field
Inputs · upstream shadcn/ui, GitHub theme
Combine labels, controls, and help text to compose accessible form fields and grouped inputs.
We only use it to reply to you.
Enter a complete email address, like name@example.com.
import { Field, FieldLabel, FieldDescription, FieldError } from "@/components/ui/field"
<Field>…</Field>Tokens it uses
--muted-foregroundtext#59636E--destructivetext#CF222E--primaryfill#1F883D--mutedfill#F6F8FA--ringfocus ring#0969DA