PropertyAttributeDescriptionTypeDefaultlabel labelThe label text.string''labelSize label-sizeThe size of the label text.type FieldsetLabelSize = 'small' 'medium''medium'message messageThe message styled depending on validation state.string''required requiredMarks the Fieldset as required.booleanfalsestate stateThe validation state.type FieldsetState = 'none' 'error' 'success''none'theme themeAdapts color depending on theme.type Theme = 'light' 'dark' 'auto''light'
Slots
prev
next
SlotDescriptionisRequiredaltPropallowedTagNames<slot name="label"> Shows a label. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed.<slot> Default slot for the main content.<slot name="message"> Shows a state message. Only [phrasing content](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Content_categories#Phrasing_content) is allowed.