Ark Logo
Reat
Components
Fieldset

Fieldset

A set of form controls optionally grouped under a common name.

Examples

The Fieldset component provides contexts such as invalid and disabled for form elements. While most Ark UI components natively support these contexts, you can also use the Field component with standard HTML form elements.

Basic Usage

Learn how to use the Fieldset component in your project. Let's take a look at the most basic example:

Fieldset with Fields

This example demonstrates how to use the Field component with a standard input field within a Fieldset.

Fieldset with other Form Elements

This example shows how to use the Fieldset component with other Ark UI form elements like Checkbox.

API Reference