We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
open
1 parent 53b1b19 commit bb2fd29Copy full SHA for bb2fd29
1 file changed
site/src/content/docs/components/accordion.mdx
@@ -17,7 +17,7 @@ Click the accordions below to expand/collapse the accordion content. Each `<deta
17
To render an accordion that's expanded by default, add the `open` attribute to the `<details>` element.
18
19
<Example code={`<div class="accordion">
20
- <details class="accordion-item" name="accordionExample">
+ <details class="accordion-item" name="accordionExample" open>
21
<summary class="accordion-header">
22
Accordion Item #1
23
<svg class="accordion-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round"><path d="m2 5 6 6 6-6"/></svg>
0 commit comments