Show design guidelines
Disclosures are expandable areas of content that are summarized or otherwise labeled to indicate what they relate to. There is a trigger that must be manually selected which allows the user to show and hide the additional content that is available.
Framework HTML React Angular
Content of the disclosure is now shown
Disclosure can be set to be open by default
The disclosure arrow shows at the end of the opener
Content is padded to be flush with the opener
Custom summary More complex formatting is available within a slot="custom-summary" element
Content has an inner classname
alignItems
Attribute align-itemsType "baseline" | "center" | "end" | "start"Default undefinedRequired falseDescription Control vertical alignment of disclosure triange
arrowEnd
Attribute arrow-endType booleanDefault falseRequired falseDescription Disclosure arrow will show at the end of the content
hasHover
Attribute has-hoverType booleanDefault trueRequired falseDescription Controls the default hover effect
hasPadding
Attribute has-paddingType booleanDefault falseRequired falseDescription Content is padded to be flush with the opener
innerClassName
Attribute inner-class-nameType stringDefault undefinedRequired falseDescription Additional class name(s) to apply to the inner content wrapper
open
Attribute openType booleanDefault falseRequired falseDescription Hidden content will be visible
summary
Attribute summaryType stringDefault undefinedRequired falseDescription Visible label of the disclosure control
There are no events available for this component
There are no public methods available for this component
Name Description Content hidden by the disclosure goes in the main slot custom-summarySlot available if summary requires custom formatting