States
- Every field has a visible label.
- Errors show an icon, a 2px border and text; never colour alone.
- A unit turns the value mono so digits line up.
As written on the label.
Enter a number between 90 and 110.
Basic
- A floating label replaces the placeholder: it never disappears.
Field
- Help text sits 4px under the field.
- Say why you ask, or what happens next.
Your care team sees this name.
Field group
- Stack related fields with 24px between them.
- Buttons beside 48px fields are LG.
We send visit reminders here.
Disabled
- Disable only what can't change here, and say where it can.
Change it in Settings, under Account.
Invalid
- The error says what to enter, with the octagon; the border turns red.
Enter a number between 90 and 110.
File
- File inputs keep the label above: a file field always shows its button, so there is nowhere to float from.
A clear photo in daylight helps the nurse.
Inline
- A field and its one action in a row; the button matches the field height.
Grid
- Short fields that belong together can share a row.
Required
- Mark required fields with an asterisk; say what happens if it's missing.
We call this number if we can't reach you.
Badge
- A badge in the label marks something new; keep it short.
Input group
- A prefix sits inside the field; the label stays up so it never covers it.
Form
- One column on a phone; group what belongs together.
- Selects keep their label above.
We never share it outside your care team.