Back

Fieldset

Default (recessed)

Personal information

Elevated

Account

Bordered

Preferences
Theme

Disabled (cascades to all children)

Locked section

Usage

The native disabled attribute cascades to all descendant inputs automatically.

@forms.Fieldset(forms.FieldsetProps{
    Legend:   "Section title",           // optional <legend> text
    Variant:  "default",                 // "default" | "bordered" | "elevated"
    Disabled: false,                     // disables all child inputs
}) {
    @forms.Input(forms.InputProps{ ... })
    @forms.Toggle(forms.ToggleProps{ ... })
}