Medplum React Component Library
npm install @medplum/reactThe Medplum React Component Library provides many helpful components to quickly build your healthcare web app.
The Medplum SDK can be used with any compliant FHIR server. However, some advanced features are only available when paired with a Medplum server.
Check out a live demo:
Add as a dependency:
```
npm install @medplum/react
Note the following peer dependencies:
- @medplum/core
- react
- react-dom
Note the following optional peer dependencies:
- @emotion/react
- @mantine/core
- @mantine/hooks
- @mantine/notifications
`tsx
import { MedplumClient } from '@medplum/core';
import { MedplumProvider } from '@medplum/react';
const medplum = new MedplumClient();
export function App() {
return (
);
}
`
For more details on how to setup MedplumClient, refer to the docs for medplum.
`tsx`
export function SignInPage() {
const auth = useMedplumContext();
return (
{auth.user ? (
User: {JSON.stringify(auth.user)}
) : (
)}
);
}
`tsx``
export function ChatPage() {
return (
);
}
Medplum is a healthcare platform that helps you quickly develop high-quality compliant applications. Medplum includes a FHIR server, React component library, and developer app.
Apache 2.0. Copyright © Medplum 2025