Expandable headings
1 min
expandable heading docid\ ajpn6hemcswfb9rr4hdhz blocks let users collapse and expand sections of content they are useful for faqs, optional details, and long reference pages where readers may not need to see all information at once syntax you can add this component using either markdown or mdx \ expandableheading \# expandable heading 1 this is the largest expandable heading click to collapse or expand \ \ expandableheading \## expandable heading 2 a medium expandable heading use it for subsections that users can toggle \ \ expandableheading \### expandable heading 3 the smallest expandable heading good for optional details or faq items \ \<expandableheading> \# expandable heading 1 this is the largest expandable heading click to collapse or expand \</expandableheading> \<expandableheading> \## expandable heading 2 a medium expandable heading use it for subsections that users can toggle \</expandableheading> \<expandableheading> \### expandable heading 3 the smallest expandable heading good for optional details or faq items \</expandableheading> expandable heading blocks support three heading levels \# ## ### the heading itself becomes the clickable element, while all content beneath it remains collapsible until the next heading or the end of the block
Have a question?
Our super-smart AI, knowledgeable support team and an awesome community will get you an answer in a flash.
To ask a question or participate in discussions, you'll need to authenticate first.