Agriculture Design System
Beta
Design System for the Export Service

Accordion

An accordion lets users show and hide sections of related content.

View in FigmaView in StorybookView in Github
import { ... } from '@ag.ds-next/react/accordion';

For general guidance on content, go to the TFTM content patterns.

Style

For general guidance on content, go to:

For DAFF staff, please refer to the internal departmental style guide.

There are slight variations between these guides. If guidance differs, follow the DAFF style guide first or the next in order down this list.

Length and structure

Title

Use unique, accurate headings to describe panel content.

Use up to 150 characters.

Panel

Use short paragraphs or bullet lists and don’t use sub-headings.

Longer content may cause a scroll bar to appear and provide a bad user experience.

Make sure all panel content other than body text is accessible. For example, alt-text on images, column and table labels.

Use up to 250 characters.

Language

Refer to the glossary for general information on language.

Voice and tone

Go to the TFTM Voice and tone guide for guidance.