Prose
@/components/kamod-ui/prose
Documentation heading
Readable paragraph styles with sensible defaults.
- First point
- Second point
Installation
Import Prose from `@/components/kamod-ui/prose`.
pnpm add @kamod-ch/uiUsage
Wrap markdown or article-like HTML in Prose for readable typography.
import { Prose } from "@/components/kamod-ui/prose";<Prose />Article Prose
Render headings, paragraphs and lists with prose styles.
Narrow Prose
Constrain width for long-form readability.
Constrained line length improves reading comfort and scanability.
API Reference
Props, slots and variants for this component.
Prose
Prose component props and accepted values.
| Prop | Type | Default |
|---|---|---|
| class | string | undefined |
| children | rich text content | required |
| data-slot | "prose" | "prose" |
Accessibility Notes
Ensure semantic heading order is maintained and links remain distinguishable from body text.