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-16.0.0 node_modules/govuk-frontend/components/accordion/README.md
govuk_publishing_components-15.3.0 node_modules/govuk-frontend/components/accordion/README.md
govuk_publishing_components-15.2.0 node_modules/govuk-frontend/components/accordion/README.md
govuk_publishing_components-15.1.0 node_modules/govuk-frontend/components/accordion/README.md
govuk_publishing_components-15.0.0 node_modules/govuk-frontend/components/accordion/README.md
govuk_publishing_components-14.0.0 node_modules/govuk-frontend/components/accordion/README.md
govuk_publishing_components-13.8.1 node_modules/govuk-frontend/components/accordion/README.md
govuk_publishing_components-13.8.0 node_modules/govuk-frontend/components/accordion/README.md
govuk_publishing_components-13.7.0 node_modules/govuk-frontend/components/accordion/README.md
govuk_publishing_components-13.6.1 node_modules/govuk-frontend/components/accordion/README.md