Description
some text for the details to display.
Details keeps attention on primary content while letting users show brief supporting information only when they need it.
Also known as: arrow toggle, disclosure, expandable section, expand/collapse, expander, open/close, reveal, show more, show/hide, summary/details, twistie
some text for the details to display.
<bolt-details>
<details>
<summary>Description</summary>
<p>some text for the details to display.</p>
</details>
</bolt-details>
some text for the details to display.
<bolt-details summarysize="sm">
<details>
<summary>Description</summary>
<p>some text for the details to display.</p>
</details>
</bolt-details>
some text for the details to display.
<bolt-details noindent>
<details>
<summary>Description</summary>
<p>some text for the details to display.</p>
</details>
</bolt-details>
<!-- REQUIRED for bolt styles to be applied -->
<bolt-details>
<details>
<!-- The summary provides an indication of the content body -->
<summary>Description</summary>
<!-- Content can be any valid HTML -->
<p>
Lorem ipsum dolor sit amet, consectetur adipiscing elit,
sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris
nisi ut aliquip ex ea commodo consequat.
</p>
</details>
</bolt-details>
Refer to MDN for best practices on using the HTML <details> element.
noindent: (optional)
<details> element.summarysize: (optional)
md (default): Uses 'bolt-body-md' typographysm: Uses 'bolt-body-sm' typographyAll Bolt components have gone through accessibility testing, but please keep our accessibility guidelines in mind.