Paragraph
Paragraph is a Text rendered as <p> with body-copy defaults — a medium font size and a 1.6
line-height. Reach for it whenever the content is a run of prose.
Loading playground…
What it is
A Text with as="p", fontSize="$md", and lineHeight={1.6}. Margins are zeroed — spacing
between paragraphs is the layout's job, handled by the gap on the surrounding Stack. Style props
override every default.
Install
Paragraph is exported from usemotif. No separate install.
API
Paragraph
stablefunction Paragraph(props: ParagraphProps): JSX.Element
…TextPropsOmit<TextProps, "as">
Every Text prop except `as` — Paragraph always renders `<p>`. Style props override the body-copy defaults.
Examples
Body copy:
A run of paragraphs spaced by the parent Stack:
Muted, constrained-width copy: