Guidelines
Best practices
- Keep input labels brief and use the Helper message to add explanatory information if necessary.
- Do not change the placement of the label.
- If you limit the number of characters in a field, you should display a counter to inform the user of the limitation.
- Left align the Fields with other components in their parent container.
- The Field width should reflect the intended length of the content.
Properties
Helper message
Optional Helper message provides an extra explanation beyond the label. Use it when:
- The label isn't clear enough on its own,
- There are specific requirements e.g. for password fields,
- You need to provide reassurance about why information is being collected, e.g., for a field to collect sex as listed on the passport: “This information is a legal requirement in the country of your stay.”
The Helper message is displayed under the Field’s container (it is hidden when the inline property is enabled).
Placeholder
Optional Placeholder text that appears inside the Field’s container and disappears when the user starts typing or selects a value. Because it does not persist, Placeholder text should only provide exemplary data input. Never include essential information to enter correct data in the Placeholder text.


Required
In MDS, required Fields are marked with an asterisk, regardless of the required/optional Fields ratio in the Form, including the Forms with only required Fields. This reduces cognitive effort and error rates.


Size
Fields come in four sizes: Small, Medium, Large, and Extra Large. The difference between them is the height of the Container and the spacing between the particular elements. When choosing a size, follow the below guidelines.

- Small size should be used only when working with a very compact UI, to ensure a proper fit of the form on the page.
- Medium is a default size on desktop and tablet breakpoints. It should also be used in the forms placed inside a Floating Panel.
- Large Fields should be used when designing full-page forms to take advantage of the increased space available.
- Extra Large size was created specifically for mobile devices. They provide a bigger tap area and should, therefore, be used on small touch screens.
captionIconWithTooltip
While we continue to support the Tooltip info, we strongly recommend against using it and instead encourage using the Helper Message for additional information. Due to its low accessibility, the Tooltip info should only be used in rare situations and for non-essential information. If you need further assistance, please contact the Mews Design System team.



Inline
When the Inline property is enabled, the Label, Helper message, Info Icon, and Error message are hidden. Only the Container remains visible. The error state is indicated by an Error Icon inside the container.
Alignment
Fields should be left aligned with other elements in the parent container.
The Field width should reflect the intended length of the content while still aligning to the grid. This gives users context clues about what information is expected while ensuring that text remains easily readable without causing strain or visual clutter.


Content
Be as concise as possible. Eliminate extra words where possible, as long as you are being clear.
Label
- Keep it concise: one to three words only. Any additional details needed should go in helper text, placeholder text, or tooltip (depending on context).
- Use nouns or short phrases starting with verbs.


Helper message
- When listing requirements, you can use a bullet list to help users check their compliance.
- When clarifying the purpose of the Field, explain what the user's benefit from providing the data is.
- Use sentence case, and whenever possible, write the message as a complete sentence with punctuation.


Tooltip info
- Use sentence case and write the message as a complete sentence with punctuation.
- Keep the message short and clear.
Placeholder
- Suggest exemplary data input or required format.
- Use sentence case.
- Avoid long placeholders.
- Do not repeat Field’s Label in a Placeholder.


Error message
- Explain what to do next. Optionally, the message can explain why the error happened.
- Use sentence case and write the message as a complete sentence with punctuation.

