AppBar
Top app bars for navigation and actionsnpx rootnative add appbar
Variants
Small
Small App Bar
Center Aligned
Centered App Bar
Medium
Medium App Bar
Large
Large App Bar
With Back Button
Small
Small App Bar
Center Aligned
Centered App Bar
Medium
Medium App Bar
Large
Large App Bar
With SubtitleOne line under the title. Medium and large bars grow to hold it.
Small
Small App Bar
Supporting textCenter Aligned
Centered App Bar
Supporting textMedium
Medium App Bar
Supporting textLarge
Large App Bar
Supporting textClose ButtonnavigationIcon="close" for a modal. The second bar passes an IconButton to leading and trailing; both sit on the title line.
About
About
Elevated
Small
Small App Bar
Center Aligned
Centered App Bar
Medium
Medium App Bar
Large
Large App Bar
Collapse on ScrollMedium and large bars collapse to the small form as the content scrolls, driven by `scrollOffset` from inertia's useScroll().
Medium
Medium App Bar
Scroll content row 1Scroll content row 2Scroll content row 3Scroll content row 4Scroll content row 5Scroll content row 6Scroll content row 7Scroll content row 8Scroll content row 9Scroll content row 10Scroll content row 11Scroll content row 12Scroll content row 13Scroll content row 14Scroll content row 15Scroll content row 16
Large
Large App Bar
Scroll content row 1Scroll content row 2Scroll content row 3Scroll content row 4Scroll content row 5Scroll content row 6Scroll content row 7Scroll content row 8Scroll content row 9Scroll content row 10Scroll content row 11Scroll content row 12Scroll content row 13Scroll content row 14Scroll content row 15Scroll content row 16
Medium with subtitle
Medium App Bar
Supporting textScroll content row 1Scroll content row 2Scroll content row 3Scroll content row 4Scroll content row 5Scroll content row 6Scroll content row 7Scroll content row 8Scroll content row 9Scroll content row 10Scroll content row 11Scroll content row 12Scroll content row 13Scroll content row 14Scroll content row 15Scroll content row 16
Large with subtitle
Large App Bar
Supporting textScroll content row 1Scroll content row 2Scroll content row 3Scroll content row 4Scroll content row 5Scroll content row 6Scroll content row 7Scroll content row 8Scroll content row 9Scroll content row 10Scroll content row 11Scroll content row 12Scroll content row 13Scroll content row 14Scroll content row 15Scroll content row 16
Color Schemes
Surface (default)
Surface (default)
Surface Container Lowest
Surface Container Lowest
Surface Container Low
Surface Container Low
Surface Container
Surface Container
Surface Container High
Surface Container High
Surface Container Highest
Surface Container Highest
Primary
Primary
Primary Container
Primary Container
Custom Title StyletitleStyle merges over the variant's type scale — the back button and actions are unaffected.
Rootnative
Rootnative
Long Title
Small
Very Long App Bar Title That Should Truncate Properly
Center Aligned
Very Long App Bar Title That Should Truncate Properly
Medium
Very Long App Bar Title That Should Truncate Properly
Large