Paragraph

PDF

Block of text with paragraph spacing.

Paragraph(content, tone: …, size: …, align: …)

Example

Paragraph("A block of prose, with the spacing a paragraph has.")

Renders with the class wf-text, stable across releases, so a stylesheet may target it.

Props of Paragraph
Prop Type Meaning
content Any (positional)

The text

tone: .primary .secondary .success .danger .warning .info

Colour

size: .sm .md .lg

Its size

align: .left .center .right

Text alignment

transform: .uppercase .lowercase

Letter case

kind: .heading .subtitle

Typographic role

bold: Bool

Bold

italic: Bool

Italic

underline: Bool

Underlined

muted: Bool

Dimmed, for secondary text

Attribute families: global, aria, data. Plus the universal props on every element: animate:, exit:, speed:, class:, ref:.