I-Digi Care / Design system / Components
← Part 1: Foundations

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.

06 · BUTTONS

Five kinds, three sizes, six states.

Every button kind has the same six states, in both themes. Focus is a visible ring for keyboard users, and loading keeps the button’s width so the layout never jumps.

Primary · One per screen: the main action.

Default

Book now

Hover

Book now

Pressed

Book now

Focus

Book now

Disabled

Book now

Loading

Saving

Secondary · Other actions next to a primary.

Default

Book now

Hover

Book now

Pressed

Book now

Focus

Book now

Disabled

Book now

Loading

Saving

Tertiary · Low-emphasis actions in tables and panels.

Default

Book now

Hover

Book now

Pressed

Book now

Focus

Book now

Disabled

Book now

Loading

Saving

Destructive · Delete, cancel an appointment, refund.

Default

Delete

Hover

Delete

Pressed

Delete

Focus

Delete

Disabled

Delete

Loading

Saving

Link · Navigation inside text.

Default

Book now

Hover

Book now

Pressed

Book now

Focus

Book now

Disabled

Book now

Loading

Saving

Sizes and icons

Small · 36Medium · 40Large · 48 With icon
DECISIONThe screens had several slightly different blues for buttons. Now there is one primary blue, with fixed hover and pressed shades.

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.

e.g. Joshua Jones

As written on the patient’s ID.

Joshua J

Typing

+91 98250 72218

Filled

1234 5678

Enter all 12 digits.

2231HRPQ3399812

Created by the system.

e.g. name, UHID or phone⌘K

Choices

Fever Cough Before food After food Current condition

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

Joshua
Jones
12 Jan 1985
e.g. 1234 5678 9012
e.g. 91-1234-5678-9012
CancelCreate patient
  • 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.
DECISIONThe faint grey input borders were hard to see on some screens. Inputs now use their own darker border, so empty fields stand out for every user.

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.

JJ

24

JJ

32

JJ

40

JJ

48

JJ

64

Family

KPRSAM+2

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

In queueIn progressDoneReceivedPending paymentPaidOut of stock

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

1

MOR

0

AFT

1

EVE

0

NIGHT

Patient card

JJ

Joshua Jones (24, Male)

UHID 2231HRPQ3399812

Follow-upAllergy
View detailsBook again

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.

ProposeReviewDesignDocumentRelease
Next case studyAI patient summary: the AI drafts, the doctor decides Open

© 2026 Yagnesh Dave · Back to the I-Digi Care case study