`<tc:toolBar/>` and `<tc:toolBarCommand/>` are deprecated. To replace a toolbar in the header of a component use or instead. To replace a plain toolbar, use .

The first box show the deprecated version of a toolbar. The second and the third one are solutions with #{demoBundle.buttons} and #{demoBundle.links}.

Instead of `<f:facet name="toolBar"/>` use `<f:facet name="bar"/>`.

Instead of `<tc:toolBar/>` use `<tc:buttons/>` or `<tc:links/>`.

Instead of `<tc:toolBarCommand/>` use `<tc:button/>` or `<tc:link/>`.

Content

Content

For a plain toolbar use the `<tc:bar/>` tag.

    <tc:toolBar>
      <tc:toolBarCommand label="Text Button"/>
      <tc:toolBarCommand label="Image Button" image="fa-cube"/>
      <tc:in placeholder="Search"/>
    </tc:toolBar>

    <tc:bar>
      <tc:buttons>
        <tc:button label="Text Button"/>
        <tc:button label="Image Button" image="fa-cube"/>
      </tc:buttons>
      <tc:flowLayout textAlign="right">
        <tc:button label="Dropdown" omit="true"> ... </tc:button>
        <tc:in placeholder="Search"/>
      </tc:flowLayout>
    </tc:bar>