Skip to content

Repository files navigation

GOVUK Components

A WordPress plugin that adds components from the GOV.UK Design System to the block editor.

This plugin produces the HTML required for the components, but the CSS & JS assets aren't included - you should add those by implementing the GOV.UK Frontend in your theme, or use the dxw GOV.UK theme.

Currently supports GovUK Frontend v6 (tested up to 6.1.0), so that's what your theme should be using. Support for other major versions is not guaranteed.

Requires ACF Pro 5.8.0 or above.

Development

Install the dependencies:

composer install

Run the tests:

vendor/bin/kahlan spec

Run the linter:

vendor/bin/php-cs-fixer fix

About

A WordPress plugin that adds GOV.UK Frontend components to the block editor

Topics

Resources

Code of conduct

Contributing

Stars

5 stars

Watchers

10 watching

Forks

Releases

Used by

Contributors

Languages