Govuk Component banner
benjaminr benjaminr

Govuk Component

Development community

Description

<component-name> [--to <file>] [--with-js] - Add a properly configured GOV.UK component to your project with all necessary imports and setup. ## Usage ``` /project:govuk-component <component-name> [--to <file>] [--with-js] ``` ## Arguments - `<component-name>` - Required. Name of the GOV.UK component to add. Common components include: - **Form components**: input, textarea, radios, checkboxes, select, file-upload - **Content components**: accordion, tabs, details, summary-list, table - *

Installation

Installs to ~/.claude/commands/benjaminr-govuk-claude-template-govuk-component.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/benjaminr/govuk-claude-template/HEAD/.claude/commands/govuk-component.md -o ~/.claude/commands/benjaminr-govuk-claude-template-govuk-component.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository