Skip to main content

Prose

Prose — Prism component.

Signature
Density
Viewport
Theme follows the navbar ☀/☾ toggle
Live demo
Open ↗

When to use

Prose — Prism component.

Accessibility

Use semantic elements (as/level) so structure—not just size—conveys hierarchy. Respect the reader’s line-length and contrast settings.

Import

const { Prose } = window.PrismDesignSystem_39d121;

Props

PropTypeRequiredDescription
htmlstringTrusted HTML string (e.g. rendered markdown). Mutually exclusive with children.
childrenReact.ReactNode
classNamestring