Evantis

Design System

Lists & tables

  • 2components
Dosages, times and IDs are always mono with the unit beside the value.

List

  • Title first, metadata second.
  • Trailing slot for one badge or action.
  • Give the list an aria-label.
  • Dr. Ana Lopez
    Orthopedic surgeon
    New
  • Sam Okafor, RN
    Nurse line
  • Riverside Pharmacy
    Fills prescriptions

Table

  • Numbers right-aligned and mono.
  • Status in a badge, never a coloured cell.
  • Always a caption.
Medication log
TimeMedicationDoseStatus
08:00Oxycodone5 mgTaken
12:00Acetaminophen500 mgDue soon
20:00Enoxaparin40 mgScheduled

Demo

  • shadcn's Table on the DS Table: caption, header, body and a totals row.
  • The total is added up from the rows, never typed in.
  • Status is a DS Badge: Paid success, Pending info, Unpaid warning.
Pharmacy copays, November
ReceiptStatusPaid withAmount
RX-1041PaidInsurance$12.50
RX-1042PendingHSA card$8.00
RX-1043UnpaidBill me$35.00
RX-1044PaidInsurance$4.25
RX-1045PaidCredit card$15.00
RX-1046PendingInsurance$10.00
RX-1047UnpaidBill me$22.00
Total$106.75

Actions

  • Row actions use the Data table pattern: an icon-only link button named Actions for the row, opening a Dropdown Menu.
  • Leaving the list is red and sits behind a separator.
Your medications
MedicationCopayActions
Lisinopril 10 mg$4.00
Metformin 500 mg$0.00
Atorvastatin 20 mg$12.00