Skip to content

uk-gov-mirror/UKHomeOffice.formio-gds-template

Repository files navigation

GDS Design System Templates for Formio

This project provides the templates required to implement the GDS Design System for Formio form renderer.

Set up and configuration

Prerequisites

Installation

   npm install @ukhomeoffice/formio-gds-template

Usage

Using vanilla formio

import gds from '@ukhomeoffice/formio-gds-template';
import {Formio} from 'formiojs';

Formio.use(gds);

Using react-formio

import gds from '@ukhomeoffice/formio-gds-template';
import {Formio} from "react-formio";

Formio.use(gds);