Copy this complete component into a page file. Edit and run it in the Playground.
Loading editor…
Alias of OpusThemeProvider for setting theme context, the document theme, and the global Opus font token.
| Prop | Type | Default | Description |
|---|---|---|---|
theme | Theme | — | Active theme. |
fontFamily | string | — | Font name or full CSS stack assigned to --opus-font-family. |
applyToDocument | boolean | true | Set root theme and font tokens for portalled content. |