Skip to content

Top app bar

A header with the screen title and actions, in three sizes, with scroll behaviour.

import { TopAppBar } from '@windmorph/react';

Playground

Inbox
24 messages

Alex MorganLunch on Friday?

Priya ShahDesign review notes

Sam OkaforFlight confirmation

Zoë LaurentPhotos from the weekend

Jonas MüllerInvoice for March

Mei TanakaTeam offsite agenda

Omar HaddadRe: Quarterly report

Lena NovakBook club this Thursday

Alex MorganRe: Lunch on Friday?

Priya ShahLaunch checklist

Sam OkaforYour receipt

Zoë LaurentConcert tickets

Code

// Use your own icon components.import { ArrowBackIcon, MoreVertIcon, StarIcon } from './icons';import { TopAppBar, IconButton } from '@windmorph/react'; <TopAppBar  variant="medium"  title="Inbox"  subtitle="24 messages"  navigationIcon={<IconButton icon={<ArrowBackIcon />} aria-label="Back" />}  actions={(    <>      <IconButton icon={<StarIcon />} aria-label="Favourite" />      <IconButton icon={<MoreVertIcon />} aria-label="More" />    </>  )}  scrollBehavior="exit-until-collapsed"/>

Examples

Sizes

Flexible bars with centred text

Scroll behaviour

Search app bar

A row of chips in the bar

Transparent on scroll