Skip to content

App Bar ​

Regular

Loading...

Dense

Loading...

flint-app-bar: The top App bar provides content and actions related to the current screen.

  • Tag: <flint-app-bar>
  • Class: FlintAppBar

Import ​

ts
import '@getufy/flint-ui'; // auto-registers all
// or
import { FlintAppBar } from '@getufy/flint-ui';

Usage ​

html
<flint-app-bar></flint-app-bar>

Properties ​

PropertyAttributeTypeDefaultDescription
titletitlestring''Title text displayed in the center of the app bar.
positionposition'static' | 'fixed' | 'absolute' | 'sticky''static'CSS positioning behavior of the app bar.
variantvariant'regular' | 'outlined''regular'Visual style variant of the app bar.

Slots ​

NameDescription
navigationLeft section, e.g. menu button (alias: start-content).
start-contentAlias for navigation slot.
titleCenter section next to the title prop.
actionsRight section, e.g. action buttons (alias: end-content).
end-contentAlias for actions slot.

CSS Parts ​

NameDescription
actionsThe actions container.
baseThe component's base wrapper element.
navigationThe navigation container.
titleThe title element.

CSS Custom Properties ​

PropertyDefault
--flint-app-bar-height—
--flint-app-bar-bg—
--flint-app-bar-color—
--flint-app-bar-shadow—
--flint-primary-color—
--flint-text-color-on-primary—
--flint-shadow-md—
--flint-z-app-bar1100
--flint-surface-1—
--flint-text-color—
--flint-border-color—
--flint-font-family—