Skip to main content

A hapi plugin for building GOV.UK form journeys with minimal code

Configuration-driven and extensible, built on Hapi.js. Handles routing, validation, state management, and GOV.UK Frontend rendering — so teams can focus on form design, not plumbing.

Get started

betaThis is a new capability. Help us improve it and give your feedback on Slack.

Configuration driven

Define form journeys through JSON — pages, fields, validation, and conditional logic — without writing custom route handlers or view logic.

Inclusive and accessible

Built on GOV.UK Frontend, ensuring forms meet WCAG standards and work with assistive technologies out of the box for all users of public services.

Open source and flexible

Extensible architecture with hooks for custom services, components, and page views. Integrates with any Hapi.js application.

Installation

See our getting started developer guide.

Demo

If you are within the Defra network, see a live demo.

If you aren't within the Defra network, see our example UI and run it locally.