@osforms/react exposes the full FormTheme type for TypeScript consumers. Theme props are merged with the schema theme and the default dark theme.
FormTheme
Priority
Theme values are resolved in this order (highest to lowest):OSFormthemepropFormSchema.theme- Default dark theme
Passing themes
Light theme example
Custom fonts
SetfontFamily to any CSS font-family string. The SDK does not load fonts — ensure the font is loaded in your app (e.g., via Google Fonts or next/font):
ConversationalRenderer and ClassicRenderer
When using the low-level renderers directly, pass a resolved theme fromresolveTheme: