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.
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.
This project includes the following packages that are publicly available on npm:
@ogcio/design-system-react- A library of UI components for government platforms in React.@ogcio/design-system-angular- A library of UI components for government platforms in Angular.@ogcio/design-system-vue- A library of UI components for government platforms in Vue.@ogcio/design-system-tokens- A library of design tokens for consistent styling across government platforms.@ogcio/design-system-tailwind- A Tailwind CSS integration for the Government of Ireland Design System, providing utility-first styling options for rapid UI development.@ogcio/theme-govie- A theme package for the Government of Ireland Design System, providing predefined styles and components tailored for the Govie platform.
corepack enable
pnpm install
pnpm ds| 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 |
This repository includes a helper script that produces a markdown report of all third‑party dependency licenses.
Prerequisites:
- jq (
brew install jq)
pnpm gen:licensesYou can also run the script directly:
sh ./scripts/licenses.shThis generates LICENSES.md with a table of package name, version, and license for all dependencies.
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.
Contributions are welcome within defined constraints.
Before opening an issue or pull request, please read:
- CONTRIBUTING.md — contribution scope, criteria, and process
- GOVERNANCE.md — decision-making authority and fraud safeguards
- SECURITY.md — reporting vulnerabilities
Acceptance of contributions is at the discretion of the maintainers.
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.