Compose labels, controls, descriptions, and errors into a form field.
pnpm dlx shadcn@latest add https://stylexcn.vercel.app/r/field.jsonpnpm dlx shadcn@latest add @stylexcn/field<FieldSet>
<FieldLegend>Profile</FieldLegend>
<FieldGroup>
<Field>
<FieldLabel htmlFor="email">Email</FieldLabel>
<Input id="email" placeholder="you@example.com" />
<FieldDescription>We will not share your email.</FieldDescription>
</Field>
</FieldGroup>
</FieldSet>