Skip to content

Card

A bordered box with an optional title.

Example

Shipping

Orders placed before noon leave the same day.

Show code
use zeyn::prelude::*;

pub fn overview(_ctx: &Ctx) -> Node {
    Card::new()
        .title("Shipping")
        .add(Paragraph::new("Orders placed before noon leave the same day."))
        .into()
}