--- Added: v2.0.0 Status: Active --- # Toolbar Component Simple container for headers, titles, actions and breadcrumbs. ![](../docassets/images/adf-toolbar-01.png) ## 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: ![](../docassets/images/adf-toolbar-02.png) ### 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. ![](../docassets/images/adf-toolbar-03.png) Once you click the menu button you should see the following menu items as defined earlier: ![](../docassets/images/adf-toolbar-04.png) ### 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: ![](../docassets/images/adf-toolbar-05.png) ![](../docassets/images/adf-toolbar-06.png) ![](../docassets/images/adf-toolbar-07.png) ## See also - [Toolbar Divider component](toolbar-divider.component.md) - [Toolbar Title component](toolbar-title.component.md)