Skip to content

Paragraph

A paragraph of escaped text, normal or quiet.

Example

Every order ships within two working days.

Prices include tax.

Show code
use zeyn::prelude::*;

pub fn overview(_ctx: &Ctx) -> Node {
    Stack::new()
        .gap(1)
        .add(Paragraph::new("Every order ships within two working days."))
        .add(
            Paragraph::new("Prices include tax.")
                .muted()
                .small(),
        )
        .into()
}