Lapikit

Appbar component

Appbar

The Appbar is an essential component for structuring an application’s header. It provides a dedicated space for displaying elements such as titles, icons, buttons or menus. Thanks to its many customization options, the Appbar integrates perfectly into a variety of designs, from minimalist to complex.

Lapikit

Examples of app bar

Base

The basic example illustrates an Appbar with its default settings. This simple starting point allows you to quickly understand how to use the component in an application.

Lapikit

Density

The density property lets you control the Appbar’s appearance by adjusting its height and spacing. The available options: compact, comfortable and default, meet different design and ergonomic needs.

Lapikit

Lapikit

Lapikit

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
roundedstringControls item rounding (none, sm, md, lg, etc.).md

Variables CSS

variabledefaultdescription
–-appbar-color–-kit-on-surfaceText color
–-appbar-background–-kit-surfaceBackground color
–-appbar-radius0Appbar edge radius
–-appbar-padding-wrapper–-kit-spacing * 4Spacing between Appbar parent and content

An effective Appbar goes well with Dropdown for menus and Avatars for identification.

©2025 Lapikit.

Made with by Nycolaide