# Fieldset
A group of related form fields with a common label.
## Installation
Start from a Svelte 5 application, then install the component package, shared theme, and Bits UI peer:
```bash
pnpm add coss-svelte @coss-svelte/theme bits-ui
```
Import `@coss-svelte/theme/style-coss.css` after Tailwind from the application's global stylesheet.
## Usage
```svelte
```
## Anatomy
- `Fieldset`
- `FieldsetLegend`
## API Reference
### Fieldset
A group of related form fields with a common label.
| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `legend` | `string` | `""` | Legend text rendered by the fieldset fallback layout. |
| `description` | `string` | `""` | Supporting text rendered by the component's built-in fallback layout. |
**Composition and refs**
- `children: Snippet<[]>`
Inherits from [Svelte