Advanced form field component with comprehensive layout and styling options.

Installation

pnpm dlx shadcn@latest add https://sase-ui.vercel.app/r/field.json

Usage

import { Field, FieldDescription, FieldGroup, FieldLabel, FieldLegend, FieldSet } from "@/components/ui/field";
<Field>
  <FieldLabel>Email</FieldLabel>
  <Input type="email" />
  <FieldDescription>We'll never share your email.</FieldDescription>
</Field>

Examples

Payment Form

With Slider

With Checkbox

Survey Form