Lapikit

Toolbar component

Toolbar

The Toolbar component creates a flexible, customizable toolbar, ideal for organizing actions, titles, filters or other navigation content. It is designed to adapt to different contexts thanks to its layout, style and density options.

Examples of toolbar

Base

A simple example of Toolbar usage with a few elements placed inside. This is the default configuration, with no particular density or custom orientation.

Density

Shows how to adjust density (compact, comfortable, default) to manage vertical spacing within the bar. Useful for optimizing the interface according to available space.

Orientation

The toolbar can be displayed horizontally (default) or vertically. This example illustrates the use of the orientation=“vertical” option to stack elements from top to bottom.

Variant

Demonstrates the use of visual variants: outline, text or dash to adapt the style of the bar to different UI contexts.

API Reference

propstypedescriptiondefaulttype_extend
ref $bindableHTMLElementDirect access to DOM elementundefined
isenumDefines the HTML tag.divheader | nav | div
classContentstringAdds one or more custom CSS classes to the Appbar wrapper.undefined
darkbooleanEnable dark theme for component.false
lightbooleanEnable light theme for the component.false
colorstringApplies a custom color to text or icons.undefined
backgroundstringApply a custom background color.undefined
densityenumControls vertical densitydefaultcompact | comfortable | default
variantenumSets the visual style of the Toolbar.undefinedoutline | text | dash
roundedstringControls item rounding (none, sm, md, lg, etc.).md
orientationenumControls the arrangement of elements in the bar (row or column)horizontalhorizontal | vertical
locationenumAllows the toolbar to be attached to the top or bottom of the containerundefinedtop | bottom

Variables CSS

variabledefaultdescription
–-toolbar-color–-kit-on-containerText color
–-toolbar-background–-kit-containerBackground color
–-toolbar-radius0Toolbar edge radius

Toolbar is the right place to group Buttons, Chips and Icons in a coherent space.

©2025 Lapikit.

Made with by Nycolaide