> ## Documentation Index
> Fetch the complete documentation index at: https://filament-34a8cf01.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Fieldset

> [!WARNING]
>
> You are currently viewing the documentation for Filament 3.x, which is a previous version of Filament.
>
> Looking for the current stable version? Visit the [5.x documentation](https://filament-34a8cf01.mintlify.site/5.x/forms).

## Overview

You may want to group fields into a Fieldset. Each fieldset has a label, a border, and a two-column grid by default:

```php theme={"theme":"gruvbox-dark-hard"}
use Filament\Forms\Components\Fieldset;

Fieldset::make('Label')
    ->schema([
        // ...
    ])
```

Loading preview

![Fieldset](https://filament-34a8cf01.mintlify.site/docs/images/3.x/light/forms/layout/fieldset/simple.jpg)

## Using grid columns within a fieldset

You may use the `columns()` method to customize the [grid](https://filament-34a8cf01.mintlify.site/3.x/forms/layout/grid.md) within the fieldset:

```php theme={"theme":"gruvbox-dark-hard"}
use Filament\Forms\Components\Fieldset;

Fieldset::make('Label')
    ->schema([
        // ...
    ])
    ->columns(3)
```

[Edit this page on GitHub](https://github.com/filamentphp/filament/edit/3.x/packages/forms/docs/04-layout/03-fieldset.md)

## Sponsored by

[Your logo here](https://github.com/sponsors/danharrin)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.