Skip to content

EmptyState

What a list shows when it has nothing.

Example

No orders yet

Orders you place show up here.

Show code
use zeyn::prelude::*;

pub fn overview(_ctx: &Ctx) -> Node {
    EmptyState::new("No orders yet")
        .text("Orders you place show up here.")
        .into()
}