App Bar
Svelte ComponentA header element for the top of your page layout. Pairs well with the App Shell.
Import
Package
Source
Doc
WAI-ARIA
Examples
Getting Started
App Bars can be generated with a number of different configurations by mixing and matching available slots and props.
Configurations
Two Rows and Headline
<AppBar>
<svelte:fragment slot="lead">(icon)</svelte:fragment>
<svelte:fragment slot="trail">(actions)</svelte:fragment>
<svelte:fragment slot="headline">(headline)</svelte:fragment>
</AppBar>
Single Row and Title
<AppBar>
<svelte:fragment slot="lead">(icon)</svelte:fragment>
(title)
<svelte:fragment slot="trail">(actions)</svelte:fragment>
</AppBar>
Even Columns
<AppBar gridColumns="grid-cols-3" slotDefault="place-self-center" slotTrail="place-content-end">
<svelte:fragment slot="lead">(icon)</svelte:fragment>
(title)
<svelte:fragment slot="trail">(actions)</svelte:fragment>
</AppBar>
Barebones
<AppBar>(title)</AppBar>