0.10.7 • Published 2 years ago
@govuk-react/fieldset
Licence
MIT
Version
0.10.7
Deps
3
Size
20 kB
Vulns
0
Weekly
0
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.
- https://govuk-react.github.io/govuk-react/?path=/docs/fieldset
- https://design-system.service.gov.uk/components/fieldset/
Properties
| Prop | Required | Default | Type | Description |
|---|---|---|---|---|
margin |
Margin | Margin[] | |||
mb |
string | number | |||
padding |
Padding | Padding[] |