Components
Every component here is built from the foundations in Part 1. Switch the theme at the top to see each one in dark mode.
07 · INPUTS AND FORMS
Fields that are hard to get wrong.
Every field has the same parts: a label above, the input, and a hint or error below. Errors say what to do, in plain words.
As written on the patient’s ID.
Typing
Filled
Enter all 12 digits.
Created by the system.
Choices
File upload
Click to upload or drag and drop
PDF, JPG or PNG, up to 10 MB
Upload from your phone
Patients scan a QR code and send reports from their own phone.
Building a form
New patient
Personal details
- Group fields under a short heading.
- Put related fields side by side; everything else stacks.
- One primary action, bottom right, with Cancel next to it.
- Use examples as placeholders, never as labels.
08 · AVATARS
People, at five sizes.
Initials by default, so the product never depends on patient photos. A green dot marks a doctor who is available now. Families stack together.
24
32
40
48
64
Family
09 · HEALTHCARE COMPONENTS
The parts that make it I-Digi Care.
These are built from the same variables, but solve problems only a clinic has: queue states, allergies, stock, vitals and doses.
Status chips
Each status always has a word and a dot, so it never relies on colour alone.
Allergy: Penicillin
Shown at the top of every prescription, before any medicine.
Low stock: Metoprolol 25mg
Two substitutes are in stock.
Vitals row
BP
120/80 mmHg
Pulse
72 bpm
SpO2
98 %
Temp
98.6 °F
Weight
68 kg
Dose grid
Amicid 500 Inj
After food · 5 days
MOR
AFT
EVE
NIGHT
Patient card
Joshua Jones (24, Male)
UHID 2231HRPQ3399812
10 · WORKING RULES
Rules that keep it consistent.
A system only works if the team can use it without asking. Four rules, and one path for adding anything new.
Name by job, not by colour
text/primary, not grey-900. When the theme changes, names stay true.
Use variables, never raw colours
Every colour comes from the named list, so dark theme works everywhere.
Status needs a word
Colour supports meaning; it never carries it alone.
Add, don’t fork
Need something new? Propose it, review it together, then add it here for everyone.
© 2026 Yagnesh Dave · Back to the I-Digi Care case study