digdir / designsystemet

Designsystemet
https://designsystemet.no
MIT License
82 stars 38 forks source link

POC: Field component #1943

Closed mimarz closed 4 weeks ago

mimarz commented 6 months ago

Create a proof of concept pattern in React and CSS for generic container components for common form elements.

Some designsystems use generic form classes, usually called form-group for their form components to have consistent placement of label, descriptions and such around an input/textarea/select element.

Do we want to use this approach? Pros and cons?

Notes:

eirikbacker commented 2 months ago

Egentlig det samme som vi snakker om i #2221 og #2311