Components — SugboDoc Design System
Clinical UI for healthcare workflows. Calm, dense, information-first. Every component below is the live, file-copied design system source.
Buttons
Variants, sizes, loading & disabled states
Status pills & badges
StatusPill = clinical state. Badge = taxonomy, counts, metadata.
Form controls
Field wrapper + Input, Select, Textarea, Checkbox, Radio, Switch
Search by facility name
This field is required
Cards & stats
White surface, 1px border, at most shadow-sm
Patient summary
Active encounter- Patient
- Juan Dela Cruz
- PRN
- PRN-00231
- Facility
- Cebu City Medical Center
- Plan
- Clinic Pro
Alerts & announcements
Inline notices and dismissible banners
Claim rejected
CF4 validation failed: missing admitting diagnosis code.
Heads up
Filing window closes in 2 days.
Saved
Patient profile updated.
Action required
Assign an attending physician.
Avatars
Photo, initials, icon — with status dot
Tabs
Underline tabs with optional counters
Active tab: encounters
Table
TableCard, head, header cell, row, cell
| Patient | MRN | Provider | Status | Updated |
|---|---|---|---|---|
| Juan Dela Cruz | MRN-00231 | Dr. Reyes | In Progress | Aug 2610:24 AM |
| Maria Santos | MRN-00245 | Dr. Tan | Completed | Aug 254:02 PM |
| Ahmed Khalid | MRN-00262 | Dr. Lopez | Pending | Aug 249:15 AM |
| Liza Park | MRN-00271 | Dr. Reyes | Draft | Aug 231:48 PM |
Progress, stepper & timeline
Determinate progress, multi-step workflow, audit trail
- Claim submittedAug 26, 10:24 AM
CF4 + eSOA uploaded to PECWS.
- Validation passedAug 26, 10:21 AM
validateCF4 returned 0 errors.
- Awaiting voucherAug 26, 10:22 AM
- Draft createdAug 25, 4:02 PM
Empty states, skeletons & spinners
Loading and zero-data placeholders
No encounters yet
Add a patient to begin charting.
Loading claims...
Accordion
Progressive disclosure for dense reference content
Overlays
Modal, confirm modal and off-canvas drawer
Search bar
Pill search with menu + trailing slot
Typography
Ten type styles — Roboto only
Display — The quick brown fox
displayH1 — The quick brown fox
h1H2 — The quick brown fox
h2H3 — The quick brown fox
h3H4 — The quick brown fox
h4Body Large — The quick brown fox
bodyLargeBody — The quick brown fox
bodyBody Small — The quick brown fox
bodySmall