Field
Compose accessible labels, controls, descriptions, errors, and grouped form sections.
Examples
Form
Use Field inside Blazor's EditForm with DataAnnotationsValidator and the matching input components.
Input
Textarea
Select
Select your department or area of work.
Slider
Set your budget range ($200 – 800).
Fieldset
Checkbox
Your Desktop & Documents folders are being synced with iCloud Drive. You can access them from other devices.
Radio
Switch
Choice Card
Wrap fields inside FieldLabel to make the complete card selectable.
Field Group
Stack fields with FieldGroup and divide related sections with FieldSeparator.
RTL
Responsive Layout
Responsive fields use their nearest FieldGroup container instead of the browser viewport.
Validation and Errors
Put invalid state on both the field and its control, then connect descriptions and errors with ARIA references.
Choose a unique public username.
- Username already taken.
- Use at least 3 characters.