Agriculture Design System
Beta
Design System for the Export Service

Max width tokens

Used to set the maximum width of elements and containers in a page layout.

Max-width tokens
TokenValueDescription
bodyText42emUsed for setting an optimal line length for readability in body text. This helps the users attention flow easily from one line to the next, making reading more natural and comfortable.
container80remUsed for setting the max-width of the page container.

Form fields

The width of a form field should indicate the amount of information expected to be entered into the field. The size of the form field acts as a visual constraint for the end user.

As an example, form fields for postcodes should have a smaller width than fields for emails.

Max-width form field tokens
TokenValue
xs
5rem
sm
8rem
md
13rem
lg
18rem
xl
24rem