{"id":13847546,"url":"https://github.com/alphagov/govuk_elements","last_synced_at":"2025-05-08T22:51:13.520Z","repository":{"id":15173979,"uuid":"17901778","full_name":"alphagov/govuk_elements","owner":"alphagov","description":"❗️GOV.UK Elements is deprecated, and will only receive major bug fixes and security patches.","archived":false,"fork":false,"pushed_at":"2021-09-14T12:54:25.000Z","size":17508,"stargazers_count":227,"open_issues_count":1,"forks_count":90,"subscribers_count":96,"default_branch":"master","last_synced_at":"2025-04-18T02:38:13.681Z","etag":null,"topics":["deprecated","govuk-design-system-team","govuk-frontend","portfolio"],"latest_commit_sha":null,"homepage":"https://govuk-elements.herokuapp.com/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alphagov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-03-19T11:29:16.000Z","updated_at":"2024-05-29T13:42:06.000Z","dependencies_parsed_at":"2022-08-31T12:50:43.158Z","dependency_job_id":null,"html_url":"https://github.com/alphagov/govuk_elements","commit_stats":null,"previous_names":[],"tags_count":26,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fgovuk_elements","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fgovuk_elements/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fgovuk_elements/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphagov%2Fgovuk_elements/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alphagov","download_url":"https://codeload.github.com/alphagov/govuk_elements/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253160827,"owners_count":21863624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deprecated","govuk-design-system-team","govuk-frontend","portfolio"],"created_at":"2024-08-04T19:00:20.465Z","updated_at":"2025-05-08T22:51:13.503Z","avatar_url":"https://github.com/alphagov.png","language":"HTML","funding_links":[],"categories":["Deprecated"],"sub_categories":["Core libraries"],"readme":"The GOV.UK Design System launched on 22 June 2018\n===============\n\nGOV.UK Elements:\n\n- is no longer maintained\n- will only be updated for major bug fixes and security patches\n- does not meet the [Web Content Accessibility Guidelines (WCAG 2.1 level AA) accessibility standard](https://www.gov.uk/guidance/accessibility-requirements-for-public-sector-websites-and-apps#meeting-accessibility-requirements)\n\nThis framework will remain available in case you’re currently using it. To help your service meet accessibility requirements, you should use the [GOV.UK Design System](https://design-system.service.gov.uk/). You can [migrate to the Design System from GOV.UK Elements](https://frontend.design-system.service.gov.uk/migrating-from-legacy-products/).\n\nGOV.UK elements ·\n[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)\n[![Greenkeeper badge](https://badges.greenkeeper.io/alphagov/govuk_elements.svg)](https://greenkeeper.io/)\n===============\n\nGOV.UK elements is three things:\n\n1. [An online design guide](https://govuk-elements.herokuapp.com/), explaining how to make your service look consistent with the rest of GOV.UK.\n2. An example of how to use the code in the [GOV.UK template](https://github.com/alphagov/govuk_template) and the [GOV.UK frontend toolkit](https://github.com/alphagov/govuk_frontend_toolkit).\n3. An [npm package of the Sass files](https://www.npmjs.com/package/govuk-elements-sass).\n\n# GOV.UK elements guide\n\n[https://govuk-elements.herokuapp.com/](https://govuk-elements.herokuapp.com/).\n\n# Using govuk-elements-sass\n\nInstallation and usage instructions can be found in the govuk-elements-sass [README](https://github.com/alphagov/govuk_elements/blob/master/packages/govuk-elements-sass/README.md).\n\n## Running this site locally\n\nIf you would like to clone the repository and run it locally,\nyou will need [Node.js](https://nodejs.org/) (at least version v0.10.0).\n\nClone this repository\n\n    git clone git@github.com:alphagov/govuk_elements.git\n\n\nInstall all dependencies\n\n    npm install\n\n\nRun the app\n\n    npm start\n\nGo to [localhost:3000](http://localhost:3000) in your browser.\n\n\n## Running tests\n\nTo check the whole codebase, run:\n\n    npm test\n\n## Linting\n\n### GOV.UK lint\n[GOV.UK elements uses govuk-lint](https://github.com/alphagov/govuk-lint#sass), which uses [scss-lint](https://github.com/brigade/scss-lint) as its scss linter.\n\n### Standard JavaScript\nGOV.UK elements uses [standardjs](https://standardjs.com/), an opinionated JavaScript linter. All JavaScript files follow its conventions.\n\nBoth linters run on CI to ensure that new pull requests are in line with them.\n\n\n## Running Wraith to compare changes\n\nGOV.UK elements uses Wraith so that regressions can be easily spotted.\n\nThis needs to be run from the Wraith directory `/tests/wraith` and some dependencies need to be installed on the local machine first.\n\n1. Install Wraith and its dependencies.\n      \n        gem install wraith\n        \n        brew install phantomjs\n        \n        brew install imagemagick\n\n2. Take a baseline of the current version.\n\nOn master run:\n\n        wraith history config.yaml\n\n\n3. Switch to your feature branch and make changes.\n\nOn your feature branch run:\n\n        wraith latest config.yaml\n\n## Releasing a new version\n\nFollow the instructions in [CONTRIBUTING.md](https://github.com/alphagov/govuk_elements/blob/master/CONTRIBUTING.md).\n\n## Pattern libraries using GOV.UK elements\n\nHere are examples of service-specific pattern libraries using GOV.UK elements.\n\n* [Rural Payments style guide](http://rural-payments-styleguide.herokuapp.com) | [Source Code](https://github.com/Defra/rural-payments-styleguide/)\n* [Land Registry pattern library](http://land-registry-elements.herokuapp.com) | [Source Code](https://github.com/LandRegistry/land-registry-elements)\n* [Digital Marketplace frontend toolkit](http://alphagov.github.io/digitalmarketplace-frontend-toolkit/) | [Source Code](https://github.com/alphagov/digitalmarketplace-frontend-toolkit)\n\n\n## Contributing\n\nYou can find contribution guidelines in [CONTRIBUTING.md](https://github.com/alphagov/govuk_elements/blob/master/CONTRIBUTING.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphagov%2Fgovuk_elements","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falphagov%2Fgovuk_elements","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphagov%2Fgovuk_elements/lists"}