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

## Basic Usage
```html
```
### Properties
| Name | Type | Default value | Description |
| ---- | ---- | ------------- | ----------- |
| title | `string` | `''` | Toolbar title. |
| color | `string` | | Toolbar color. Can be changed to empty value (default), `primary`, `accent` or `warn`. |
## 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)