Basic
- One item open at a time; the first is open by default.
- The trigger is a full-width button: Enter and Space toggle it.
- Questions in sentence case, ending with a question mark.
Your nurse shares the recovery plan here. You'll see medications, exercises and the next appointment in one place.
Multiple
- Use multiple when people compare sections side by side.
- Keep it to related details of one thing, like one medication.
- Don't nest accordions.
Acetaminophen 500 mg every 6 hours. Next dose at 12:00.
Disabled
- Disable an item only when its content can't exist yet.
- Say why in the trigger text, so nothing is hidden behind a disabled state.
In a card
- Wrap in a Card when the accordion is one block among others on a screen.
- The card carries the heading; the accordion carries the questions.
Help