
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@medplum/ui
Advanced tools
The 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: https://docs.medplum.com/storybook/index.html
Add as a dependency:
npm install @medplum/ui
Note the following peer dependencies:
import { MedplumClient } from '@medplum/core';
import { MedplumProvider } from '@medplum/ui';
const medplum = new MedplumClient();
export function App() {
return (
<MedplumProvider medplum={medplum}>
<MyPage1 />
<MyPage2 />
<Etc />
</MedplumProvider>
);
}
For more details on how to setup MedplumClient
, refer to the docs for medplum
.
export function SignInPage() {
const auth = useMedplumContext();
return (
<Document>
{auth.user ? (
<div>
<pre>User: {JSON.stringify(auth.user)}</pre>
<Button onClick={() => auth.medplum.signOut().then(() => alert('Signed out!'))}>Sign out</Button>
</div>
) : (
<SignInForm onSuccess={() => alert('Signed in!')} />
)}
</Document>
);
}
export function ChatPage() {
return (
<Document>
<ChatControl criteria="Communication?encounter=123" {...args} />
</Document>
);
}
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 2022
FAQs
Medplum React Component Library
The npm package @medplum/ui receives a total of 8 weekly downloads. As such, @medplum/ui popularity was classified as not popular.
We found that @medplum/ui demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.