# A Visual Guide to TopAppBar Variants in Jetpack Compose

DevFeed: [A Visual Guide to TopAppBar Variants in Jetpack Compose](<https://devfeed.tech/articles/a-visual-guide-to-topappbar-variants-in-jetpack-compose-24857.md>)

Original publisher: [Read original article](<https://alexzh.com/visual-guide-to-topappbar-variants-in-jetpack-compose/>)

Author: Alex Zhukovich

Published: 2025-02-14T01:16:00Z

Content type: article

Language: en

Sources: [Alex Zhuk](<https://devfeed.tech/sources/alex-zhuk-android-development-and-testing.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [material-components](<https://devfeed.tech/topics/material-components.md>), [Material Design](<https://devfeed.tech/topics/material-design.md>), [software-development](<https://devfeed.tech/topics/software-development.md>)

Tags: [article](<https://devfeed.tech/tags/article.md>), [components](<https://devfeed.tech/tags/components.md>), [compose](<https://devfeed.tech/tags/compose.md>), [design](<https://devfeed.tech/tags/design.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>), [material](<https://devfeed.tech/tags/material.md>)

## AI overview

Material 3 provides predefined Jetpack Compose TopAppBar variants with different title layouts and text support. CenterAlignedTopAppBar centers the title; MediumTopAppBar and LargeTopAppBar support expanding and collapsing; MediumFlexibleTopAppBar and LargeFlexibleTopAppBar add subtitles; TwoRowsTopAppBar supports subtitles and expanded/collapsed states, with separate text strings for each state. The article also says variants have default title and subtitle typography and heights, which can be customized, but the supplied excerpt gives no specific values.

## Source excerpt

Material 3 offers a variety of pre-built TopAppBar components to streamline your development and ensure consistency with Material Design guidelines. This article explores different TopAppBar variations, including those with centered titles, expandable layouts, and support for subtitles.