Welcome Getting started Layout styles github-circle-black-transparent Source
Components
Badges
App bars
Bottom app bars Top app bars
Buttons
Common buttons FAB Icon buttons Segmented buttons
Cards Carousel Checkboxes Chips Date pickers Dialogs Forms Icons Lists Menus Navigation Progress indicators Pull to refresh Radios Search Selects
Sheets
Bottom sheets Side sheets
Sliders Snackbars Switches Tables Tabs Text fields Time pickers Tooltips Utilities
home apps Buttons palette Two
Materially
github-circle-black-transparent

Bottom app bar

A bottom app bar displays navigation and key actions at the bottom of mobile screens
Material Design Guidelines: Bottom app bar

Basic

<mc-bottom-app-bar>
  <mc-icon-button>
    <mc-icon>more_vert</mc-icon>
  </mc-icon-button>

  <mc-icon-button>
    <mc-icon>search</mc-icon>
  </mc-icon-button>

  <mc-icon-button>
    <mc-icon>delete</mc-icon>
  </mc-icon-button>

  <mc-fab>
    <mc-icon>add</mc-icon>
  </mc-fab>
</mc-bottom-app-bar>
            

Auto hide

<mc-bottom-app-bar auto-hide>
  <mc-icon-button>
    <mc-icon>search</mc-icon>
  </mc-icon-button>

  <mc-icon-button>
    <mc-icon>delete</mc-icon>
  </mc-icon-button>

  <mc-fab>
    <mc-icon>add</mc-icon>
  </mc-fab>
</mc-bottom-app-bar>
            

Secondary bar

<mc-bottom-app-bar>
  <mc-icon-button>
    <mc-icon>search</mc-icon>
  </mc-icon-button>

  <mc-icon-button>
    <mc-icon>delete</mc-icon>
  </mc-icon-button>

  <mc-icon-button slot="secondary">
    <mc-icon>add</mc-icon>
  </mc-icon-button>

  <mc-icon-button slot="secondary">
    <mc-icon>edit</mc-icon>
  </mc-icon-button>

  <mc-icon-button slot="secondary">
    <mc-icon>favorite</mc-icon>
  </mc-icon-button>
</mc-bottom-app-bar>


<!-- you can also trigger secondary based on url hash -->
<mc-bottom-app-bar secondary-hash="#one">
        
document.querySelector('mc-bottom-app-bar').showAlt('bottom-ap-bar-secondary-one');

// calling showSecondary with no id will revert back to primary
document.querySelector('mc-bottom-app-bar').showPrimary();
document.querySelector('mc-bottom-app-bar').showAlt();
            

Style

CSS variables that allow you override default values
/* Optional variables for overriding */
  
--mc-bottom-app-bar-container-color: var(--mc-surface-container);
            
menu home apps Get started