The AppBar allows you to arrange the layout of its content by splitting it into sections, defining spacings and separators or simply place any content "as is".
To arrange the content and the layout of the AppBar, you could use:
AppBarSection component allows you to place HTML elements or React components between its tags. AppBar sections provide a better layout structure, alignment styling and control over the content arrangement.
The following example demonstrates the
AppBarSection component in action.
To define spacings between tha AppBar sections, you can use the
AppBarSpacer, which gives an additional white space in the content layout. You can customize the width of the spacing by setting width CSS rule inside
style property. If not set, the spacer element will take all the available space.
Separators are used to create a visual separation of the AppBar content. To add a separator, add the
k-appbar-separator class on a