govuk-react / govuk-react/govuk-react
Add support for width overrides
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 458
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
GDS in govuk-frontend provides the ability to [set explicit widths on elements](https://design-system.service.gov.uk/styles/spacing/#width-override-classes). Their example should form input elements of specific widths, and the use of width override classes is advices on the [table component documentation](https://design-system.service.gov.uk/components/table/) to set table column widths.
We do not currently provide a mechanism to support width overrides.
It's suggested that width overrides could be supported in a similar manner to the `withWhiteSpace` styling function.
Contributor guide
Assessment
This issue has not been assessed yet.