# daisyUI Documentation - Fieldset Component Fieldset is a container for grouping related form elements. It includes fieldset-legend as a title and label as a description. ## Classes and Usage ### Core Classes: - **fieldset** - The main fieldset container - **fieldset-legend** - The title of the fieldset - **label** - Label for inputs (used for descriptions) ## Examples ### Basic Fieldset with Legend and Label ```html
Page title

You can edit page title later on from settings

``` ### Fieldset with Background and Border ```html
Page title

You can edit page title later on from settings

``` ### Fieldset with Multiple Inputs ```html
Page details
``` ### Fieldset with Join Items ```html
Settings
``` ### Login Form with Fieldset ```html
Login
``` ## Features - Groups related form elements together - Provides semantic structure for forms - Uses fieldset-legend as the title - Can include descriptive labels - Works well with other daisyUI components like inputs and buttons - Customizable with Tailwind classes This component is useful for organizing form elements into logical groups, improving accessibility and user experience in complex forms.