Renders a set of headings that control the visibility of their content sections.
<.accordion id="dog-breeds">
<:section title="Golden Retriever">
<p>
Friendly, intelligent, great with families. Origin: Scotland. Needs
regular exercise.
</p>
</:section>
<:section title="Siberian Husky">
<p>
Energetic, outgoing, distinctive appearance. Origin: Northeast Asia.
Loves cold climates.
</p>
</:section>
<:section title="Dachshund">
<p>
Playful, stubborn, small size. Origin: Germany. Enjoys sniffing games.
</p>
</:section>
</.accordion>
Friendly, intelligent, great with families. Origin: Scotland. Needs regular exercise.
Energetic, outgoing, distinctive appearance. Origin: Northeast Asia. Loves cold climates.
Playful, stubborn, small size. Origin: Germany. Enjoys sniffing games.
<.accordion id="accordion-single-all-expanded"> <:section title="Golden Retriever"> <p> Friendly, intelligent, great with families. Origin: Scotland. Needs regular exercise. </p> </:section> <:section title="Siberian Husky"> <p> Energetic, outgoing, distinctive appearance. Origin: Northeast Asia. Loves cold climates. </p> </:section> <:section title="Dachshund"> <p> Playful, stubborn, small size. Origin: Germany. Enjoys sniffing games. </p> </:section> </.accordion>
Friendly, intelligent, great with families. Origin: Scotland. Needs regular exercise.
Energetic, outgoing, distinctive appearance. Origin: Northeast Asia. Loves cold climates.
Playful, stubborn, small size. Origin: Germany. Enjoys sniffing games.
<.accordion id="accordion-single-first-expanded" expanded={:first}> <:section title="Golden Retriever"> <p> Friendly, intelligent, great with families. Origin: Scotland. Needs regular exercise. </p> </:section> <:section title="Siberian Husky"> <p> Energetic, outgoing, distinctive appearance. Origin: Northeast Asia. Loves cold climates. </p> </:section> <:section title="Dachshund"> <p> Playful, stubborn, small size. Origin: Germany. Enjoys sniffing games. </p> </:section> </.accordion>
Friendly, intelligent, great with families. Origin: Scotland. Needs regular exercise.
Energetic, outgoing, distinctive appearance. Origin: Northeast Asia. Loves cold climates.
Playful, stubborn, small size. Origin: Germany. Enjoys sniffing games.
<.accordion id="accordion-single-all-collapsed" expanded={:none}> <:section title="Golden Retriever"> <p> Friendly, intelligent, great with families. Origin: Scotland. Needs regular exercise. </p> </:section> <:section title="Siberian Husky"> <p> Energetic, outgoing, distinctive appearance. Origin: Northeast Asia. Loves cold climates. </p> </:section> <:section title="Dachshund"> <p> Playful, stubborn, small size. Origin: Germany. Enjoys sniffing games. </p> </:section> </.accordion>