@govuk-react/fieldset
TypeScript icon, indicating that this package has built-in type declarations

0.10.6 • Public • Published

Fieldset

Import

  import Fieldset from '@govuk-react/fieldset';

Use the fieldset component when you need to show a relationship between multiple form inputs. For example, you may need to group a set of text inputs into a single fieldset when asking for an address.

Properties

Prop Required Default Type Description
margin Margin | Margin[]
mb string | number
padding Padding | Padding[]

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i @govuk-react/fieldset

    Weekly Downloads

    3,293

    Version

    0.10.6

    License

    MIT

    Unpacked Size

    20.4 kB

    Total Files

    15

    Last publish

    Collaborators

    • loque-
    • steve_sims
    • petelockey
    • penx
    • marksy