<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.

Usage

<Page renderToolbar={() =>
  <Toolbar>
    <div className="left">
      <BackButton>
          Back
      </BackButton>
    </div>
    <div className="center">
      Title
    </div>
    <div className="right">
      <ToolbarButton>
        <Icon icon="md-menu" />
      </ToolbarButton>
    </div>
  </Toolbar> }
/>
Name Type Description
modifier string Specify modifier name to specify custom styles. Optional. Optional.
visible bool If true, the toolbar is shown on the screen. Otherwise, the toolbar is not shown. Optional.
static bool Static toolbars are not animated by ons-navigator when pushing or popping pages. This can be useful to improve performance in some situations. Optional.
inline bool Display the toolbar as an inline element. Optional.
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.