Skip to main content

page_header

Function page_header 

Source
pub fn page_header<'a, Message: 'a>(
    title: impl IntoFragment<'a>,
    subtitle: Option<String>,
    scale: FontScale,
) -> Element<'a, Message>
Expand description

A page’s title, with a short mono line beside it saying what the page is talking to or what it found — NetworkManager, 2 connected · drag to arrange, 86 binds · 1 conflict.

Drawn by the app’s shell rather than by each page, so every page has one and they all sit at the same height.