Skip to main content

FieldSet

The Comet Admin FieldSet component is intended for better structuring of big forms. It allows the user to show and hide sections of related content on a page.

Props

NameTypeDefaultDescription
titleReactNodeTitle of the FieldSet
supportTextReactNode (optional)Additional line below the Title
endAdornmentReactNode (optional)An element on the right end of the FieldSetSummary
collapsibleboolean (optional)trueIf true, FieldSet can be opened and closed (Accordion behaviour)
initiallyExpandedboolean (optional)trueIf false, FieldSet is closed by default
disablePaddingboolean (optional)falseIf true, content will have no padding

Example