pub fn paragraph() -> ParagraphExpand description
paragraph makes it possible to render rich text with different styles. Its a more personalizable api than crate::elements::label.
See the available methods in Paragraph.
fn app() -> impl IntoElement {
paragraph()
.span(Span::new("Hello").font_size(24.0))
.span(Span::new("World").font_size(16.0))
}