Bloques
DashboardGitHub
DashboardGitHub

Get started

QuickstartIntroduction

Writing content

MDX basicsMarkdown reference

Configuration

docs.json overviewNavigationThemeNavbarInternationalizationSchema reference

API reference

API reference overviewSet up an API reference

Publishing

Connect GitHubDeploymentsCustom domainLLM endpointsMCP server

Team

OrganizationsMembers and roles

Accordion

A collapsible section that hides its content until the reader expands it.

Use an accordion to tuck away supporting detail without removing it from the page. Wrap each <Accordion> in an <AccordionGroup> — the group provides the shared open-state behavior that a single accordion also needs.

<AccordionGroup>
  <Accordion title="What does Save do?">
    Save commits pending changes to the current branch without deploying.
  </Accordion>
</AccordionGroup>

Props

PropTypeDefault
titlestring—
valuestringFalls back to the title.

Variants

Custom value

Set value when you want a stable ID for the accordion that's different from its title — useful if you later rename the title.

<AccordionGroup>
  <Accordion title="What does Publish do?" value="publish-behavior">
    Publish opens a pull request on a working branch, or deploys directly on the
    default branch.
  </Accordion>
</AccordionGroup>

Accordion group

<AccordionGroup>
  <Accordion title="First question">First answer.</Accordion>
  <Accordion title="Second question">Second answer.</Accordion>
</AccordionGroup>

Next

Steps

A numbered list of stages for a procedure.

Go to content

Callout

Highlight an aside, warning, tip, or note.

Go to content

On this page

Props
Variants
Custom value
Accordion group
Next