Home

Awesome

The Australian Government Design System has been decommissioned Visit our community page for more information

Australian Government Design System Components

The components for the Australian Government Design System.

Documentation

Full documentation at designsystem.gov.au


Installation

Prerequisites

The design system components are distributed through the npm ecosystem. Npm requires node.js and the components needs node.js 8 or higher.

If you are not familiar with npm and want to use the design system, we have created a download page to help.

Once on the page you can select the components you wish to use and choose how you want do download them.

Installing modules

To install a module make sure you have a package.json file in the root of your project folders. (You can generate one by running npm init.) Inside your working folder install any module and pancake will make sure you have all assets ready to use.

Run npm install @gov.au/body to install the body module. To install several modules, chain them like:

npm install @gov.au/body @gov.au/header @gov.au/footer @gov.au/buttons

An even better experience is using Syrup. Install it globally via npm install -g @gov.au/syrup. More info coming soon.

⬆ back to top


Frequently asked questions

View our frequently asked questions page to see common questions from the community.

If you can’t find an answer to a question you have please email us at designsystem@dta.gov.au or join our conversation on slack.

⬆ back to top


Checklist and browser support

We use the below checklist to ensure new modules or updates to existing modules have a certain level of quality:

Checklist

General checks

Accessibility checks

CSS / Sass

JavaScript

package.json

Browser support

All components have to work on the below browsers:

BrowserVersionPlatformEngine
Internet Explorer8Windows 7Trident
Internet Explorer9Windows 7Trident
Internet Explorer10Windows 7Trident
Internet Explorer11Windows 8.1Trident
EdgeLatestWindows 10EdgeHTML
FirefoxLatestOS XGecko
FirefoxLatestWindows 10Gecko
FirefoxLatestAndroid 6Gecko
ChromeLatestOS XBlink
ChromeLatestWindows 10Blink
ChromeLatestAndroid 4.0Blink
ChromeLatestAndroid 6Blink
SafariLatest (11)OS XWebKit
SafariLatest - 1 ( 10 )iOSWebKit
SamsungG S8
SamsungG S7
SamsungG S6
Chromepixel 7.1
Native browserLumia 930 8.1
Chome +1
Safari +1
Firefox +1

⬆ back to top


Modules

<details> <summary>@gov.au/core</summary> <br><code>npm install @gov.au/core</code><br> <br>See the <a href="https://auds.service.gov.au/packages/core/tests/site/">visual test file for core</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/core/README.md">readme file for core</a><br><br> <i>No dependencies</i>
</details> <details> <summary>@gov.au/accordion</summary> <br><code>npm install @gov.au/accordion</code><br> <br>See the <a href="https://auds.service.gov.au/packages/accordion/tests/site/">visual test file for accordion</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/accordion/README.md">readme file for accordion</a><br><br> Dependencies: <br>
├─ animate
└─ core

</details> <details> <summary>@gov.au/animate</summary> <br><code>npm install @gov.au/animate</code><br> <br>See the <a href="https://auds.service.gov.au/packages/animate/tests/site/">visual test file for animate</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/animate/README.md">readme file for animate</a><br><br> <i>No dependencies</i>
</details> <details> <summary>@gov.au/body</summary> <br><code>npm install @gov.au/body</code><br> <br>See the <a href="https://auds.service.gov.au/packages/body/tests/site/">visual test file for body</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/body/README.md">readme file for body</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/breadcrumbs</summary> <br><code>npm install @gov.au/breadcrumbs</code><br> <br>See the <a href="https://auds.service.gov.au/packages/breadcrumbs/tests/site/">visual test file for breadcrumbs</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/breadcrumbs/README.md">readme file for breadcrumbs</a><br><br> Dependencies: <br>
├─ core
└─ link-list
   ├─ core
   └─ body
      └─ core

</details> <details> <summary>@gov.au/buttons</summary> <br><code>npm install @gov.au/buttons</code><br> <br>See the <a href="https://auds.service.gov.au/packages/buttons/tests/site/">visual test file for buttons</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/buttons/README.md">readme file for buttons</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/callout</summary> <br><code>npm install @gov.au/callout</code><br> <br>See the <a href="https://auds.service.gov.au/packages/callout/tests/site/">visual test file for callout</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/callout/README.md">readme file for callout</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/card</summary> <br><code>npm install @gov.au/card</code><br> <br>See the <a href="https://auds.service.gov.au/packages/card/tests/site/">visual test file for card</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/card/README.md">readme file for card</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/control-input</summary> <br><code>npm install @gov.au/control-input</code><br> <br>See the <a href="https://auds.service.gov.au/packages/control-input/tests/site/">visual test file for control-input</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/control-input/README.md">readme file for control-input</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/cta-link</summary> <br><code>npm install @gov.au/cta-link</code><br> <br>See the <a href="https://auds.service.gov.au/packages/cta-link/tests/site/">visual test file for cta-link</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/cta-link/README.md">readme file for cta-link</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/direction-links</summary> <br><code>npm install @gov.au/direction-links</code><br> <br>See the <a href="https://auds.service.gov.au/packages/direction-links/tests/site/">visual test file for direction-links</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/direction-links/README.md">readme file for direction-links</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/footer</summary> <br><code>npm install @gov.au/footer</code><br> <br>See the <a href="https://auds.service.gov.au/packages/footer/tests/site/">visual test file for footer</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/footer/README.md">readme file for footer</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/form</summary> <br><code>npm install @gov.au/form</code><br> <br>See the <a href="https://auds.service.gov.au/packages/form/tests/site/">visual test file for form</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/form/README.md">readme file for form</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/grid-12</summary> <br><code>npm install @gov.au/grid-12</code><br> <br>See the <a href="https://auds.service.gov.au/packages/grid-12/tests/site/">visual test file for grid-12</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/grid-12/README.md">readme file for grid-12</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/header</summary> <br><code>npm install @gov.au/header</code><br> <br>See the <a href="https://auds.service.gov.au/packages/header/tests/site/">visual test file for header</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/header/README.md">readme file for header</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/headings</summary> <br><code>npm install @gov.au/headings</code><br> <br>See the <a href="https://auds.service.gov.au/packages/headings/tests/site/">visual test file for headings</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/headings/README.md">readme file for headings</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/inpage-nav</summary> <br><code>npm install @gov.au/inpage-nav</code><br> <br>See the <a href="https://auds.service.gov.au/packages/inpage-nav/tests/site/">visual test file for inpage-nav</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/inpage-nav/README.md">readme file for inpage-nav</a><br><br> Dependencies: <br>
├─ core
└─ link-list
   ├─ core
   └─ body
      └─ core

</details> <details> <summary>@gov.au/keyword-list</summary> <br><code>npm install @gov.au/keyword-list</code><br> <br>See the <a href="https://auds.service.gov.au/packages/keyword-list/tests/site/">visual test file for keyword-list</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/keyword-list/README.md">readme file for keyword-list</a><br><br> Dependencies: <br>
├─ core
└─ link-list
   ├─ core
   └─ body
      └─ core

</details> <details> <summary>@gov.au/link-list</summary> <br><code>npm install @gov.au/link-list</code><br> <br>See the <a href="https://auds.service.gov.au/packages/link-list/tests/site/">visual test file for link-list</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/link-list/README.md">readme file for link-list</a><br><br> Dependencies: <br>
├─ core
└─ body
   └─ core

</details> <details> <summary>@gov.au/main-nav</summary> <br><code>npm install @gov.au/main-nav</code><br> <br>See the <a href="https://auds.service.gov.au/packages/main-nav/tests/site/">visual test file for main-nav</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/main-nav/README.md">readme file for main-nav</a><br><br> Dependencies: <br>
├─ core
├─ animate
└─ link-list
   ├─ core
   └─ body
      └─ core

</details> <details> <summary>@gov.au/page-alerts</summary> <br><code>npm install @gov.au/page-alerts</code><br> <br>See the <a href="https://auds.service.gov.au/packages/page-alerts/tests/site/">visual test file for page-alerts</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/page-alerts/README.md">readme file for page-alerts</a><br><br> Dependencies: <br>
├─ core
└─ body
   └─ core

</details> <details> <summary>@gov.au/progress-indicator</summary> <br><code>npm install @gov.au/progress-indicator</code><br> <br>See the <a href="https://auds.service.gov.au/packages/progress-indicator/tests/site/">visual test file for progress-indicator</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/progress-indicator/README.md">readme file for progress-indicator</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/responsive-media</summary> <br><code>npm install @gov.au/responsive-media</code><br> <br>See the <a href="https://auds.service.gov.au/packages/responsive-media/tests/site/">visual test file for responsive-media</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/responsive-media/README.md">readme file for responsive-media</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/searchbox</summary> <br><code>npm install @gov.au/searchbox</code><br> <br>See the <a href="https://auds.service.gov.au/packages/searchbox/tests/site/">visual test file for searchbox</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/searchbox/README.md">readme file for searchbox</a><br><br> Dependencies: <br>
├─ core
├─ text-inputs
│  └─ core
└─ buttons
   └─ core

</details> <details> <summary>@gov.au/select</summary> <br><code>npm install @gov.au/select</code><br> <br>See the <a href="https://auds.service.gov.au/packages/select/tests/site/">visual test file for select</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/select/README.md">readme file for select</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/side-nav</summary> <br><code>npm install @gov.au/side-nav</code><br> <br>See the <a href="https://auds.service.gov.au/packages/side-nav/tests/site/">visual test file for side-nav</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/side-nav/README.md">readme file for side-nav</a><br><br> Dependencies: <br>
├─ core
├─ animate
├─ accordion
│  ├─ animate
│  └─ core
└─ link-list
   ├─ core
   └─ body
      └─ core

</details> <details> <summary>@gov.au/skip-link</summary> <br><code>npm install @gov.au/skip-link</code><br> <br>See the <a href="https://auds.service.gov.au/packages/skip-link/tests/site/">visual test file for skip-link</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/skip-link/README.md">readme file for skip-link</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/table</summary> <br><code>npm install @gov.au/table</code><br> <br>See the <a href="https://auds.service.gov.au/packages/table/tests/site/">visual test file for table</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/table/README.md">readme file for table</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/tags</summary> <br><code>npm install @gov.au/tags</code><br> <br>See the <a href="https://auds.service.gov.au/packages/tags/tests/site/">visual test file for tags</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/tags/README.md">readme file for tags</a><br><br> Dependencies: <br>
└─ core

</details> <details> <summary>@gov.au/text-inputs</summary> <br><code>npm install @gov.au/text-inputs</code><br> <br>See the <a href="https://auds.service.gov.au/packages/text-inputs/tests/site/">visual test file for text-inputs</a> <br>See the <a href="https://github.com/govau/design-system-components/blob/master/packages/text-inputs/README.md">readme file for text-inputs</a><br><br> Dependencies: <br>
└─ core

</details> <br>

⬆ back to top


Tests

Visual tests have been built into each module and can be seen in either of the README.md files of each module or in the listing above. We have also integrated pa11y for accessibility testing and are using jest for javascript tests.

Run all tests with the npm test script:

npm run test

⬆ back to top


Related repositories

⬆ back to top