Skip to content
GitHub

Field

Container for inputs, labels, and helper text.

Choose a unique username for your account.

Installation

Usage

Examples

Default

Input

Autocomplete

Select an item.

Combobox

Select an item.

Combobox Multiple

Select multiple items.

Textarea

Write a short bio. Maximum 500 characters.

Select

Used for shipping estimates

Checkbox

You'll receive a notification when someone posts a comment

Checkbox Group

Select the items you want to show:

Radio Group

Choose Plan

Select the plan that fits your needs.

Switch

Slider

Use <SliderLabel /> inside the <Slider /> to label the slider.

Adjust the volume of the media player

Number Input

Field

Newsletter

Choose how you want to receive updates about new features and product releases.

Updates

Get notified about important account activity. View activity log

API Reference

Field

Root layout for label, control, and helper/error text. Supports vertical and horizontal orientation.

FieldSet

Groups related form controls semantically.

FieldLegend

Legend or label for a FieldSet group.

FieldGroup

Groups multiple fields with consistent spacing.

FieldContent

Wraps label, description, and error. Use with horizontal orientation.

FieldLabel

Label associated with the control via htmlFor / id. Required for accessibility.

FieldRequiredIndicator

FieldTitle

Title wrapper for grouped field content.

FieldDescription

Helper text or description. Shown in muted foreground.

FieldSeparator

Horizontal divider between field groups. Optional center label.

FieldHelper

Alias for FieldDescription. Use for consistency with other form libraries.

FieldError

Error message shown when the field is invalid. Shown in destructive color.


For a complete list of props, see the Ark UI documentation.