Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/x-govuk/govuk-prototype-components
Use common components that are not yet part of the GOV.UK Design System.
https://github.com/x-govuk/govuk-prototype-components
components design-system govuk project prototyping
Last synced: about 6 hours ago
JSON representation
Use common components that are not yet part of the GOV.UK Design System.
- Host: GitHub
- URL: https://github.com/x-govuk/govuk-prototype-components
- Owner: x-govuk
- License: mit
- Created: 2022-03-04T00:23:08.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-01T05:32:05.000Z (8 days ago)
- Last Synced: 2024-11-06T07:06:18.375Z (3 days ago)
- Topics: components, design-system, govuk, project, prototyping
- Language: Nunjucks
- Homepage: https://x-govuk.github.io/govuk-prototype-components/
- Size: 1.92 MB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
- Support: docs/supported-versions.md
Awesome Lists containing this project
README
# GOV.UK Prototype Components · [![test](https://github.com/x-govuk/govuk-prototype-components/actions/workflows/test.yml/badge.svg)](https://github.com/x-govuk/govuk-prototype-components/actions/workflows/test.yml)
Common and experimental components that are not yet part of the GOV.UK Design System.
## Requirements
Node.js v18 or later.
## Installation
```shell
npm install @x-govuk/govuk-prototype-components
```## Usage
If you are using version 13 or later of the GOV.UK Prototype Kit, the components will be immediately available for use in Nunjucks templates.
Learn more about how to [get started](https://x-govuk.github.io/govuk-prototype-components/get-started/).
> [!NOTE]
> Prior to v1.0.0, this project included a collection of decorated form components. These can now be found in the [`govuk-decorated-components`](https://github.com/x-govuk/govuk-decorated-components) package.## Contributing
Bug reports and feature requests are welcome. Please raise an issue or submit a pull request.
We use [StandardJS](https://standardjs.com) to ensure code follows [the GDS way](https://gds-way.cloudapps.digital/manuals/programming-languages/js.html). Use `npm run lint` to check your code before submitting a pull request.
## Testing
```shell
npm test
```## Releasing a new version
`npm run release`
This command will ask you what version you want to use. It will then publish a new version on NPM, create and push a new git tag and then generate release notes ready for posting on GitHub.
> [!NOTE]
> Releasing a new version requires permission to publish packages to the `@x-govuk` organisation.