Stylish Toolbar
A compact, slot-first toolbar for page actions and responsive layouts.
The title area is intentionally independent from navigation and actions: callers can provide titleContent for breadcrumbs, search, or a badge, while actions can contain any number of icon buttons. On narrow screens the title is ellipsized instead of pushing actions off-screen. The component is a molecule rather than a navigation bar, so it can be used inside cards, dialogs, and desktop panes as well as at the top of a page.
Parameters
Optional plain-text title. Ignored when titleContent is set.
Modifier applied to the surface.
Optional supporting text below title.
Typography for the title.
Typography for the subtitle.
Color for title and slot content.
Toolbar background.
Optional outer shape; defaults to no clipping.
Tonal elevation for a surface toolbar.
Shadow elevation, useful for floating toolbars.
Toolbar padding. Use PaddingValues to tune start, end, top, and bottom independently for platform-specific insets.
Optional leading slot (back button, avatar, etc.).
Optional custom title slot. It receives no scope so it can be reused independently of the toolbar.
Trailing actions, receiving RowScope for weight/alignment.