Components
AppPageScaffold
src/lib/components/AppPageScaffold.svelte
Purpose
The low-level page shell that fills the main content region (full width, no
max-width). It applies outer padding (p-2 sm:p-3), a vertical stack with
gap-4 and min-h-0 so flex children can shrink, and a bordered body region
for children. The header is either a legacy full header snippet, or a
title string (rendered as a truncated h1) plus optional headerExtras
snippet. AppPageLayout builds on top of this with breadcrumbs and actions.
Origin
Custom — Primebrick-written.
Usage
Title string
Code
Title with header extras
Code
Legacy full header snippet
Code
Props
Full prop table: see API reference — apppagescaffold.
Key props: title?: string, headerExtras?: Snippet, header?: Snippet
(legacy), children?: Snippet.
Next steps
Last modified on