Skip to content

feat(appbar): add a subtitle to the flexible modes - #5272

Open
Priyanshu0007 wants to merge 1 commit into
callstack:mainfrom
Priyanshu0007:feat/appbar-flexible-subtitle
Open

Priyanshu0007 wants to merge 1 commit into
callstack:mainfrom
Priyanshu0007:feat/appbar-flexible-subtitle

Conversation

@Priyanshu0007

@Priyanshu0007 Priyanshu0007 commented Nov 20, 2026 •

Copy link
Copy Markdown

Motivation

M3 Expressive gives the flexible app bars a subtitle. #5218 added medium-flexible and large-flexible without one. Follow-up suggested in #5173.

<Appbar.Content title="Inbox" subtitle="3 unread messages" />
  • New Appbar.Content props: subtitle, subtitleStyle, subtitleMaxFontSizeMultiplier
  • labelLarge (medium) / titleMedium (large), onSurfaceVariant, one line
  • Min height 112→136 and 120→152. Other modes ignore it.

Related issue

Follow-up to #5218. Part of #4989.

Screenshots / Videos

iOS
Android
Web

Test plan

Appbar example → Medium / Large flexible → toggle Subtitle: the bar grows to 136 / 152. In other modes the switch is disabled.

`Appbar.Content` takes `subtitle`, `subtitleStyle` and `subtitleMaxFontSizeMultiplier`. The `medium-flexible` and `large-flexible` modes show the subtitle below the title, in `labelLarge` and `titleMedium` with the `onSurfaceVariant` color, and raise their minimum height to 136 and 152, following the Material 3 Expressive spec. The other modes don't show it.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant