Typed renderer core
Strict Questionnaire typing, composable renderers, and validation utilities that scale from single forms to full workflows.
Formbox Renderer is a typed React renderer for FHIR R5 Questionnaires. Build clinical forms once, then ship them with pluggable themes, predictable state, and Storybook-ready previews.
pnpm add @formbox/renderer @formbox/hs-themeimport "@formbox/hs-theme/style.css";
import { Renderer } from "@formbox/renderer";
import { theme } from "@formbox/hs-theme";
<Renderer questionnaire={questionnaire} theme={theme} />Purpose-built for FHIR R5 Questionnaires with a fully typed renderer, tested helpers, and predictable state management.
Strict Questionnaire typing, composable renderers, and validation utilities that scale from single forms to full workflows.
The renderer never touches DOM APIs directly. Your theme defines markup, layout, and styling while data flows through strict props.
Start with NHS Design, Health Samurai, Ant Design, or Mantine and keep your clinical workflows on-brand.
Structured Data Capture behavior is covered and actively expanding toward full parity.
Core rendering logic works in React Native, CLI tooling, or server-side environments.
Integrated with Formbox Builder for end-to-end questionnaire authoring and renderer delivery.
ARIA ids, helper text, and error messaging flow through the theme contract to support WCAG-ready experiences.
A Theme is a full object with React components for every slot. The renderer never touches DOM APIs directly, so your theme controls layout and styling while data stays purely in props.
import type { Theme } from "@formbox/theme";
import { theme as baseTheme } from "@formbox/hs-theme";
const theme: Theme = {
...baseTheme,
Label: MyLabel,
};pnpm add @formbox/themeThe Theme type requires every component, so you always know what to render.
Start with the official themes or bring your own design system to stay on-brand.
Clinical-ready layout density, contrast, and spacing tuned for Formbox workflows, built on Health Samurai Design System.
DocsNHS.UK-aligned typography, spacing, and component behavior for public health services, built on NHS.UK Design System.
DocsEnterprise-grade components and layout patterns for complex clinical apps, powered by Ant Design.
DocsMantine components with first-class Provider setup and theme tokens, built on Mantine.
DocsGluestack-powered native layouts with accessible, touch-friendly components, built on Gluestack UI.
Map renderer slots to your design system while keeping data flow predictable with the Theme guide.
DocsBrowse every renderer, theme, and sample questionnaire. Use the Storybook page as a living design system and QA checklist.
Install the renderer, choose a theme, and wire it to your Questionnaire data in minutes.
Install
pnpm add @formbox/renderer @formbox/hs-themeStyle
import "@formbox/hs-theme/style.css";Import
import { theme } from "@formbox/hs-theme";Render
<Renderer questionnaire={questionnaire} theme={theme} />import "@formbox/hs-theme/style.css";
import { Renderer } from "@formbox/renderer";
import { theme } from "@formbox/hs-theme";
<Renderer questionnaire={questionnaire} theme={theme} />Built by the Formbox team and open to the community. File issues, propose improvements, or ship a new theme.
Review the codebase, open pull requests, and help shape the roadmap.
Embed the renderer in patient portals, provider dashboards, or EHR extensions.
Build custom themes or renderer overrides for unique clinical workflows.