Skip to content
ogcioPublic

About

GOV.IE Design system

Topics

Resources

Contributing

Security policy

Stars

9 stars

Watchers

2 watching

Forks

Latest commit

 

History

1,817 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Government of Ireland Design System

The Government of Ireland Design System is an open-source design system developed by the Office of the Government Chief Information Officer (OGCIO). It provides tools for design and development, along with resources and guidelines to help teams create consistent, accessible, and user-centred digital services across government.




Project Overview
Introduction to the Government of Ireland Design System, its goals, and scope.

Technical Reference
Technical setup, architecture, and implementation details.

React Storybook
Interactive documentation for React components.

Angular Storybook
Interactive documentation for Angular components.

Vue Storybook
Interactive documentation for Vue components.

HTML Storybook
Interactive documentation for HTML components.

Available Components
Complete catalogue of available components.

Design

The Government of Ireland Design System uses Figma as its primary design tool, helping teams maintain consistency across government platforms and services. Design tokens and variables are centrally managed and available for direct use in Figma.




Design
Design packages, tools, and tokens for building and theming the design system.

Figma
Tools and resources for designing in Figma.

Packages

This project includes the following packages that are publicly available on npm:

Getting started

corepack enable
pnpm install
pnpm ds

Scripts

Script Description
pnpm docs Launch documentation site (Next.js)
pnpm storybook:react Launch React components Storybook
pnpm storybook:html Launch HTML components Storybook
pnpm storybook:angular Launch Angular components Storybook
pnpm storybook:vue Launch Vue components Storybook
pnpm examples:vite Run Vite example
pnpm examples:nextjs Run Next.js example
pnpm examples:angular Run Angular example
pnpm examples:vue Run Vue example
pnpm examples:html Run HTML example
pnpm format:check Check formatting on all projects
pnpm lint Check linting on all projects
pnpm test Run tests on all projects
pnpm gen:licenses Generate third-party licenses report

Generate third-party licenses report

This repository includes a helper script that produces a markdown report of all third‑party dependency licenses.

Prerequisites:

  • jq (brew install jq)
pnpm gen:licenses

You can also run the script directly:

sh ./scripts/licenses.sh

This generates LICENSES.md with a table of package name, version, and license for all dependencies.

Testing

A comprehensive testing strategy is employed to ensure the stability and visual integrity of components:

  • Unit Testing: Verifying core logic and behaviours using Vitest.
  • Interaction Testing: Testing user interactions within Storybook using Play functions.
  • Visual Regression: Capturing and comparing snapshots via Chromatic and Playwright.

For full guidance, including local execution instructions and CI/CD integration, see the Testing Strategy.

Contributing

Contributions are welcome within defined constraints.

Before opening an issue or pull request, please read:

Acceptance of contributions is at the discretion of the maintainers.

Thanks

Chromatic

Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.

This project is tested with BrowserStack.

About

GOV.IE Design system

Topics

Resources

Contributing

Security policy

Stars

9 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages