/govuk-components-plugin

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

Primary LanguagePHP

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.

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