Skip to content
Shamar

Fieldset

Fieldset mirrors Filament’s fieldset: a labeled boundary without the elevated card of Section.

import { Fieldset, TextInput } from '@shamar/core'
Fieldset.make('Address').columns(2).schema([
TextInput.make('city'),
TextInput.make('country'),
])

Fieldset

MethodDescription
Fieldset.make(title?)Legend / title for the group.
.columns(1|2|3|4)Child grid columns.
.card(true)Opt into elevated chrome (default is transparent).
.schema([...])Nested layouts and leaves.