Fieldset

Display a collection of related information in a single unit.

Basic

Add custom buttons.

Custom Text

Representation in different situations.

Tabs

Show multiple Fieldset.

With Divider

Use Divider and Fieldset.Content to combine different layouts.

APIs

Fieldset.Props

AttributeDescriptionTypeAccepted valuesDefault
valueunique ident value (only in group)string--
labelgroup tab text (only in group)string--
titletitle of fieldsetReactNode / string--
subtitlesubtitle of fieldsetReactNode / string--
...native propsFieldsetHTMLAttributes'name', 'className', ...-

Fieldset.Content.Props[alias: Fieldset.Body]

AttributeDescriptionTypeAccepted valuesDefault
...native propsHTMLAttributes--

Fieldset.Footer.Props

AttributeDescriptionTypeAccepted valuesDefault
...native propsHTMLAttributes--

Fieldset.Group.Props

AttributeDescriptionTypeAccepted valuesDefault
valueselected tab valuestring--
onChangechange tab event(value: string) => void--
...native propsHTMLAttributes--