Details
# Intro
Details are used to create collapsible content. The summary element is required to change the default label and is styled with uppercase text. Use a content classed container inside the detail for proper padding.
Icons should be used to convey to the user that the detail is interactive. This can be done by using a
icon classed element inside of the summary. Detail
This is the content of a detail
# Groups
You can group together details by wrapping them in a details classed container.
Detail
This is the content of a detail
Detail
This is the content of a detail
Detail
This is the content of a detail
# State
You can change the state of a detail by using the open attribute. See MDN for more details.
Closed
This is the content of a detail
Opened
This is the content of a detail
# Nested
Details can be nested inside another detail.
Parent
Child
This is the content of a detail