---
Added: v2.0.0
Status: Active
---
# Toolbar Component
Simple container for headers, titles, actions and breadcrumbs.

## Contents
- [Basic Usage](#basic-usage)
- [Class members](#class-members)
- [Properties](#properties)
- [Details](#details)
- [Custom title](#custom-title)
- [Divider](#divider)
- [Dropdown menu](#dropdown-menu)
- [Custom color](#custom-color)
- [See also](#see-also)
## Basic Usage
```html
```
## Class members
### Properties
| Name | Type | Default value | Description |
| -- | -- | -- | -- |
| color | `string` | | Toolbar color. Can be changed to empty value (default), `primary`, `accent` or `warn`. |
| title | `string` | "" | Toolbar title. |
## Details
### Custom title
You can use any HTML layout or Angular component as a content of the Title section by using the special `` component instead of the "title" attribute:
```html
...
```
The toolbar should now look similar to the following:

### Divider
You can divide groups of elements with a visual separator ``:
```html
```
### Dropdown menu
You can use the following example to create a dropdown menu:
```html
...
```
The code above is based on the `` component from the `@angular/material` library. You can use any custom menu component as well.

Once you click the menu button you should see the following menu items as defined earlier:

### Custom color
Besides the default color you can use 'primary', 'accent', or 'warn' values:
Depending on the overall application theme the colors of the toolbar should change.
For example:



## See also
- [Toolbar Divider component](toolbar-divider.component.md)
- [Toolbar Title component](toolbar-title.component.md)