Appearance
The KendoReact Toolbar allows selecting a predefined size and fill mode options that changes its appearance.
Size
To change the default size of the Toolbar, set its size property which will change the padding of the Toolbar element. The available size options are:
small—Sets the padding of the component to 4px 4px.medium(default)—Sets the padding of the component to 8px 8px.large—Sets the padding of the component to 10px 10px.
The following example demonstrates how to define the Toolbar size:
Fill Mode
To change the default fill mode of the Toolbar, set its fillMode property. It accepts the following values:
solid(default)—Applies abackgroundcolor andsolid borders.flat—Sets atransparent backgroundandsolid bottom border.outline—Sets atransparent backgroundandsolid borders.
The
fillModeproperty only affects the appearance of the ToolBar component and does not propagate to theToolBar tools. Each ToolBar tool has a dedicatedfillModeproperty that can be defined individually.
The following example demonstrates how to define a fill mode only for the ToolBar and including the ToolBar tools.