<Toolbar />

Toolbar component that can be used with navigation. Left, center and right container can be specified by class names. This component will automatically displays as a Material Design toolbar when running on Android devices.

Tutorial

Adding a toolbar

The Toolbar component displays a navigation bar on the top of a Page component. It is separated into three sections (left, center and right) in order to let the buttons and title be layouted a beautiful way.

A toolbar is displayed on the screen by return the Toolbar component in the renderToolbar property of the Page element. To layout the content the left, center and right classes are used.

<Page
  renderToolbar={() =>
    <Toolbar>
      <div className='left'>Left</div>
      <div className='center'>Center</div>
      <div className='right'>Right</div>
    </Toolbar>
  }
/>

Props

Name Type Description
modifier string Specify modifier name to specify custom styles. Optional. Optional.

Preset Modifiers

Name Description
material Material Design toolbar.
transparent Transparent toolbar.
cover-content Displays the toolbar on top of the page’s content. Should be combined with transparent modifier.
noshadow Toolbar without shadow.

Need Help?

If you have any questions, use our Community Forum or talk to us on Discord chat. The Onsen UI team and your peers in the community will work together to help solve your issues.

For bug reports and feature requests use our GitHub Issues page.