Sha256: 20d882f361e255c7b65e8c4b42d33918ef08e1ab5c3b77c256a744b64e3890f5

Contents?: true

Size: 896 Bytes

Versions: 90

Compression:

Stored size: 896 Bytes

Contents

# Accordion

## Installation

See the [main README quick start guide](https://github.com/alphagov/govuk-frontend#quick-start) for how to install this component.

## Guidance and Examples

Find out when to use the details component in your service in the [GOV.UK Design System](https://design-system.service.gov.uk/components/accordion).

## Component options

Use options to customise the appearance, content and behaviour of a component when using a macro, for example, changing the text.

`id` option given to instances of the component must be **unique** across the domain of your service (as the expanded state of individual instances of the component persists across page loads using [`localStorage`](https://developer.mozilla.org/en-US/docs/Web/API/Window/localStorage)).

See [options table](https://design-system.service.gov.uk/components/accordion/#options-example-default) for details.

Version data entries

90 entries across 90 versions & 1 rubygems

Version Path
govuk_publishing_components-20.5.1 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-20.5.0 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-20.4.0 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-20.3.0 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-20.2.2 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-20.2.1 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-20.2.0 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-20.1.0 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-20.0.0 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-19.0.0 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-18.3.1 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-18.3.0 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-18.2.0 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-18.1.2 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-18.1.1 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-18.1.0 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-18.0.1 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-18.0.0 node_modules/govuk-frontend/govuk/components/accordion/README.md
govuk_publishing_components-17.21.0 node_modules/govuk-frontend/components/accordion/README.md
govuk_publishing_components-17.20.0 node_modules/govuk-frontend/components/accordion/README.md