Layout
AppShell
An application header, sidebar and main landmark.
components.AppShell · AppShellProps
Preview
Open standalone preview →Give the layout a full page
This component owns document or application landmarks. Open its standalone preview to see it in context.
Open layout previewUse it well.
Place inside Layout and do not nest shells or main landmarks. Navigation uses a native disclosure; Actions and Footer accept components.
Explore the full demo →Templ example
Download example.templThis is the source compiled for the preview. Select the text to copy it, or download the file. Change the package name and demo routes for your application.
package examples
import "github.com/Tend-Stack/GothUI/v2026/components"
templ ExampleAppShell() {
@components.AppShell(components.AppShellProps{Brand: "Studio", BrandHref: "/catalog", Title: "A place for your work", Navigation: []components.NavItem{{Label: "Catalog", Href: "/catalog", Current: true}, {Label: "Dashboard", Href: "/dashboard"}}}) {
<p>Use one application shell inside a Layout. Its native sidebar disclosure remains keyboard operable.</p><a href="/catalog/appshell">Back to AppShell</a>
}
}