Skip to content

Medplum Design System: bridging frontend & FHIR for custom EHRs

The Medplum Design System is a free, open-source Figma library that maps one-to-one to Medplum’s React components, which are built on Mantine, so the designers and developers building a custom EHR work from the same component names and props. Teams use it to design and validate FHIR-native clinical workflows before development budget is committed, without building a frontend from zero.

This post explains what Medplum is, how Mantine and Storybook fit together, what the design system includes, and how we take a Medplum EHR from discovery to launch.

Key takeaways

Who it's for

Healthcare founders, Clinical Operations (ClinOps) leaders, and design-engineering teams building or modernizing an EHR who need workflow control without building a frontend from zero.

Core benefit

It cuts the design-to-development handoff gap, because every Figma component carries the same name and props as its real Medplum Storybook counterpart.

When to use it

Use it once you have chosen Medplum, or are weighing it, and want designers and developers to work from the same component names and props from the first screen. Whether to build a custom EHR at all is an earlier decision, covered in our build vs. buy EHR guide.

Tool stack

Medplum (FHIR-native backend and React components), Mantine (UI library), Figma (design system) and Storybook (living component library), wrapped around a Product Discovery process.

Where to get it

The design system is open source on the Medplum Design System Figma Community file; the components live in the Medplum React Storybook.

What is Medplum?

Medplum is an open-source, FHIR-native developer platform that gives engineering teams the building blocks for a custom EHR instead of a rigid, pre-built one.

Medplum decorative image

Launched in 2021, Medplum provides a FHIR R4 datastore, REST and GraphQL APIs, OAuth 2.0/SMART on FHIR authentication, and a React component library, all released under the Apache 2.0 license. Unlike white-label EHR products, which lock teams into pre-defined workflows and screens (see the hidden gaps of off-the-shelf EHRs in specialty care), Medplum is built API-first so every workflow, role-based view, and UI screen can be assembled to match how a specific care team actually operates. It ships with HIPAA- and SOC 2 Type II–aligned compliance infrastructure out of the box, and it’s ONC-certified.

This matters most where clinical settings diverge from generic templates: a hospital may need fast, tablet-friendly charting, while a telemedicine network prioritizes scheduling, secure messaging, and real-time patient updates. Medplum’s modularity lets both be built on the same backend without forcing either into the other’s mold.

How does Mantine map to Medplum’s UI, and what is Storybook’s role?

Medplum’s UI layer is built on Mantine, and its React Storybook documents every resulting component, but only in code, which is why a Figma-side design system exists.

Mantine form components in light and dark themes: date pickers, selects, radio group, checkbox, switch and sliders

Mantine is an open-source (MIT-licensed) React component library offering more than 120 customizable components and 70+ hooks, with a large open-source community (over 30,000 GitHub stars and 5M+ monthly downloads on its core hooks package as of this writing).

It gives Medplum cross-browser compatible, accessible components with theming support, so Medplum’s engineering team doesn’t rebuild basic UI primitives from scratch. Mantine itself lists Medplum among its official sponsors, reflecting the depth of that dependency.

Medplum uses Mantine to build its React Storybook, a living library where components like SearchControl, ResourceTable, PatientTimeline, and ResourceHistoryTable can be inspected in isolation, with their real props and states.

The problem: Storybook lives in the codebase. Designers working in Figma have no direct line of sight into it, which is exactly the gap the Medplum Design System was built to close; a two-week delivery deadline on a real client project made that gap impossible to ignore.

What is the Medplum Design System, and what does it include?

It’s an open-source Figma library where every component is mapped, name-for-name, to a real Medplum/Mantine code component, so a Figma prototype and a developer’s implementation stay in sync automatically.

Medplum Design System

Vinta built the Medplum Design System on top of Mantine and Medplum’s Storybook components specifically so that a design decision made in Figma is technically feasible and FHIR-aligned before a single line of code gets written. Because component names match the codebase, handoff between design and engineering doesn’t require a re-translation step.

Design system inventory

A flat list of what’s inside. All of it lives in the Figma Community file, except accessibility guidance, inherited from Mantine, and the real code components, in the Medplum React Storybook.

Artifact What it is
Design tokens Single-source values (spacing, radii, sizing) that propagate across every component when changed once
Typography scale Predefined heading/body text styles aligned with Mantine’s type system
Color themes & variables Branding-ready color variables that can be swapped at a single point of change
Light and dark modes Pre-built theme variants for both color schemes
Personas Editable sample user/patient data that updates across an entire flow from one change point
FHIR field patterns Structured components for FHIR-shaped data, like patient names and addresses
Workflow templates Reusable screen patterns for charting, scheduling, and intake
Accessibility guidance Inherited from Mantine’s built-in accessibility features, applied consistently across components
Real code components Every Figma component’s counterpart, implemented and documented

Together, these let a design team validate a workflow (and a simplified working prototype) often within the first few weeks of a project, before development budget is fully committed.

Medplum Design System preview

Which EHRs have been built with this stack?

Rewind (Type 2 diabetes reversal program)

Rewind needed an EHR that could replace Healthie and be FHIR-compliant. Vinta implemented a fully customizable Medplum-based system, improving charting, provider messaging, and patient interactions.

Rewind’s patient charting screen on a tablet, built on Medplum

Case study · Chronic DiseaseRewind’s care team moves off Healthie onto an EHR of its ownRead the case study

Quilted Health (maternal care)

Quilted Health needed to migrate off a 14-year-old legacy system onto a modern FHIR-based EHR. Vinta used Medplum’s headless architecture to build a future-proof, HIPAA-compliant platform with interoperability built in from day one.

Quilted Health’s EHR, showing a client’s in-progress and completed encounters

Case study · Maternal CareLabor and delivery, charted liveRead the case study

How do you build a custom EHR with Medplum and Mantine?

A numbered sequence from kickoff to launch, with expected duration, inputs, and outputs for each step. The call that shapes every step after it comes in discovery: stay on Medplum’s Provider App, fork it or build your own frontend. Stay, Fork, or Build covers when each one fits.

  1. Discovery

    1–2 weeks

    • Input: stakeholder access, existing workflow documentation, any current EHR/system to migrate from.
    • Output: validated problem statement, prioritized workflow list, and a recommendation on the frontend route: stay on Medplum's Provider App, fork it or build your own.
  2. Figma & theming

    1 week

    • Input: brand guidelines, discovery findings.
    • Output: a themed instance of the Design System (color variables, typography, and personas configured for the client).
  3. Component mapping to Medplum Storybook

    1 week

    • Input: the themed Figma file.
    • Output: each screen's Figma components matched to their Storybook equivalents (e.g., SearchControl, ResourceTable), flagging any gap that needs a custom component.
  4. Prototype validation

    1–2 weeks

    • Input: mapped Figma prototype.
    • Output: stakeholder and end-user feedback, a validated workflow design, and a locked scope for build.
  5. Build

    4–8 weeks

    • Input: validated prototype, component mapping.
    • Output: a working application using real Medplum/Mantine components, wired to FHIR resources.
  6. Compliance review

    • Input: built application.
    • Output: verification against HIPAA and SOC 2-aligned controls before go-live.
    • Can run partially in parallel with the later part of the build.
  7. Launch

    • Input: reviewed, compliant build.
    • Output: production deployment and handoff to the client's team.

Glossary

EHR (Electronic Health Record)

Digital software that stores and manages patient health information (charts, orders, scheduling, and communication) replacing paper records.

FHIR (Fast Healthcare Interoperability Resources)

An HL7-maintained, API-based standard for structuring and exchanging health data electronically between systems, built on typed resources like Patient, Appointment, and Observation.

Medplum

An open-source (Apache 2.0), FHIR-native developer platform that provides a hosted or self-hostable backend, React component library, and compliance infrastructure for building healthcare applications.

Mantine

An open-source React component library (MIT licensed) offering 120+ accessible, themeable UI components and 70+ hooks, used by Medplum to build its React component library.

Storybook

A tool for developing and documenting UI components in isolation; Medplum’s public Storybook shows every React component it ships, with live props and variants.

HIPAA (Health Insurance Portability and Accountability Act)

U.S. federal law whose Privacy and Security Rules set national standards for protecting patients’ health information, applying to covered entities and their business associates.

SOC 2

An auditing standard (AICPA) that evaluates a service organization’s controls around security, availability, and confidentiality of customer data; SOC 2 Type II confirms those controls operated effectively over a period of time.

Product Discovery

A structured, time-boxed process (UX research, stakeholder workshops, and technical assessment) used to validate whether a custom build is the right call before committing engineering budget.

FHIR-aware design constraints

FHIR’s search and filtering capabilities are powerful but not unlimited, especially across related resources. A common example: FHIR does not offer a native “next upcoming appointment” sort, so the design system builds this behavior with a toggle between future and past appointments rather than a single sortable field. Baking this kind of constraint into the design system upfront keeps prototypes technically feasible instead of promising interactions FHIR can’t cleanly support later.

References

  1. Medplum, “Why Medplum Is Open Source”, Medplum Inc., accessed 2026.
  2. Medplum, medplum.com, product site; source for HIPAA/SOC 2/ONC compliance and platform scale claims.
  3. Mantine, mantine.dev, Mantine (Vitaly Rtishchev and contributors); source for current component count, hooks, GitHub stars, and download figures.
  4. Medplum, React Storybook, source for named React components referenced in this article.
  5. Vinta Software, Medplum Design System Figma Community file, the open-source design system discussed throughout.
  6. U.S. Department of Health and Human Services, “Summary of the HIPAA Privacy Rule”, HHS.gov.
  7. HL7 International, FHIR Overview, hl7.org.
  8. Vinta Software, Rewind case study and Quilted Health case study, vintasoftware.com

Book a call

Ready for software that finally fits?

Bring us your care model and find the right technical partner to build it with you.