Components
AppPageLayout
src/lib/components/AppPageLayout.svelte
Purpose
The standard page wrapper for authenticated routes. It renders an
AppPageScaffold whose header snippet places AppPageBreadcrumb (ancestor
segments) on the left, an optional title snippet below it, and an optional
actions snippet (toolbar buttons) on the right. The page body is passed as
children into the scaffold's bordered content region.
Origin
Custom — Primebrick-written. Composes AppPageScaffold and
AppPageBreadcrumb.
Usage
Default with breadcrumb and title
Code
With action buttons
Code
Breadcrumb-only (no title)
Code
Props
Full prop table: see API reference — apppagelayout.
Key props: segments: AppBreadcrumbSegment[] (ancestor breadcrumb segments),
title?: Snippet, actions?: Snippet, children?: Snippet.
Next steps
Last modified on