Skip to content

paragraphs

Gabe Webb edited this page Mar 20, 2025 · 1 revision

Paragraphs are the bread and butter of text processors like MS Word and Google Docs. Paragraphs are the most common top-level building block of an OOXML/DOCX document.

For example, headings and list items are both paragraphs, but with different style properties.

👉 Read more about styling paragraphs as lists and list items

You'll probably use the Paragraph component all over the place, and get acquinted with its formatting options.

<Paragraph
	alignment="center"
	spacing={{
		before: cm(1),
		after: cm(1),
	}}
	indentation={{
		firstLine: cm(2),
	}}
	shading={{
		background: 'yellow',
		foreground: 'orange',
		pattern: 'diagStripe',
	}}
></Paragraph>

👉 Jump to the type definition of paragraph properties

Clone this wiki locally