Page header
The opener for inner pages. Add a breadcrumb, a surface band or a
background image, and a meta row for articles.
Documentation
Everything you need to build with Samla.
Options
Section titled “Options”title: the pageh1, or use thetitleslot for markup such as an<em>intro: a short leadlayout:stacked(default),split(title on one side, intro and meta on the other)align:start(default),center; applies to the stacked layoutsurface:light,alternate,brand,dark; a surface also adds more vertical paddingbreadcrumb: list of{ label, href }, rendered with Breadcrumb; the last item is the current page; leave it out for noneimage: background image with a dark overlay and white text (overridessurface)meta:{ date, datetime, author, readingTime }for articles
<PageHeader title="Documentation" intro="Everything you need to build with Samla." breadcrumb={[{ label: "Home", href: "/" }, { label: "Docs", href: "/docs/" }, { label: "Getting started" }]}/>Why we rebuilt Samla
What changed when the library moved to Astro components.
About Samla
An Astro-first library of elements, components and sections.
Notes
Decisions and changes in the library, written down as they happen.
Contributing
How to add a piece to the library.
Build with Samla
Everything you need to build with Samla.