Styles
Body
Use paragraphs for your core content.
Read the Design System guidance for body
Import
import { Body } from 'govuk-react/body';Examples
Default
Code
<Body>
Body text, rendered as a paragraph.
</Body>Sizes
Code
<>
<Body size="l">Lead paragraph (size l)</Body>
<Body>Body text (size m, the default)</Body>
<Body size="s">Small body text (size s)</Body>
</>With inline content
Code
<Body>
Body text can contain <strong>bold text</strong> and <Link href="#">links</Link>.
</Body>API reference
Body
Use paragraphs for your core content.
| Prop | Type |
|---|---|
size | "s" | "l" | "m" |
marginBottom | Spacing |