Collapsible
Expand details using the browser’s native disclosure control.
alpina-ui/ui/collapsibleBorrowing policy
Read periodicals on site. You can borrow monographs for 30 days.
Usage notes
Write a summary that identifies the content behind it. The native disclosure works with Enter or Space and gives touch users a full row to press.
When to use
Hide a short, optional explanation such as how a reference number is assigned.
When to avoid
Keep information needed to complete the current field visible next to that field.
Accessibility
Use a descriptive summary that toggles with the keyboard. Place controls inside the expanded content rather than inside the summary.
| Key | Action |
|---|---|
| Tab | Focus the disclosure summary. |
| Enter / Space | Open or close the details. |
Content
Write a short question or a specific subject for the trigger. Its meaning should survive when the panel is closed.
- Use
- How is the fee calculated?
- Avoid
- Learn more
Copy in four languages
- German
- Berechnung der Gebühr21 characters
- French
- Calcul de la taxe17 characters
- Italian
- Calcolo della tassa19 characters
- Romansh
- Calculaziun da la taxa22 characters
npx --no-install alpina add collapsible