Theme
Preview
Open in new tabLayout sections
Package recurring app regions into blocks the team can reuse.
Layout sections turn repeated product scaffolding into named DryUI assets.
| Region | Purpose | Placement |
|---|---|---|
| Summary rail | High-signal context | Right rail |
| Filter bar | Refine lists | Top section |
| Context stack | Secondary data | Lower rail |
- Built from
- Grid, Stack, Card, PageHeader, Toolbar, and DescriptionList.
Variants
Summary rail
Card rail for compact context.
Filter bar
Top-of-list filter and action section.
Context stack
Right-rail context block stack.
Source
Copy this source into your app and own it. The theme imports are already included.
svelte
<script lang="ts">
import '@dryui/ui/themes/default.css';
import '@dryui/ui/themes/dark.css';
import { AppBar, Card, DescriptionList, Fieldset, Heading, PageHeader, PageLayout, Sidebar, Stack, Table, Text } from '@dryui/ui';
</script>
<PageLayout.Root fullHeight>
<PageLayout.Header sticky>
<AppBar.Root>
<AppBar.Title>Layout sections</AppBar.Title>
</AppBar.Root>
</PageLayout.Header>
<PageLayout.Sidebar sticky>
<Sidebar.Root style="height: 100%;">
<Sidebar.Content>
<Sidebar.Group>
<Sidebar.GroupLabel>Navigation</Sidebar.GroupLabel>
<Sidebar.Item active href="#">Overview</Sidebar.Item>
<Sidebar.Item href="#">Segments</Sidebar.Item>
<Sidebar.Item href="#">Filters</Sidebar.Item>
<Sidebar.Item href="#">Exports</Sidebar.Item>
</Sidebar.Group>
</Sidebar.Content>
</Sidebar.Root>
</PageLayout.Sidebar>
<PageLayout.Content>
<Stack gap="lg">
<PageHeader.Root>
<PageHeader.Content>
<PageHeader.Title level={1}>Package recurring app regions into blocks the team can reuse.</PageHeader.Title>
<PageHeader.Description>Layout sections turn repeated product scaffolding into named DryUI assets.</PageHeader.Description>
</PageHeader.Content>
</PageHeader.Root>
<Table.Root>
<Table.Header>
<Table.Row>
<Table.Head>Region</Table.Head>
<Table.Head>Purpose</Table.Head>
<Table.Head>Placement</Table.Head>
</Table.Row>
</Table.Header>
<Table.Body>
<Table.Row>
<Table.Cell>Summary rail</Table.Cell>
<Table.Cell>High-signal context</Table.Cell>
<Table.Cell>Right rail</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>Filter bar</Table.Cell>
<Table.Cell>Refine lists</Table.Cell>
<Table.Cell>Top section</Table.Cell>
</Table.Row>
<Table.Row>
<Table.Cell>Context stack</Table.Cell>
<Table.Cell>Secondary data</Table.Cell>
<Table.Cell>Lower rail</Table.Cell>
</Table.Row>
</Table.Body>
</Table.Root>
<DescriptionList.Root>
<DescriptionList.Item>
<DescriptionList.Term>Built from</DescriptionList.Term>
<DescriptionList.Description>Grid, Stack, Card, PageHeader, Toolbar, and DescriptionList.</DescriptionList.Description>
</DescriptionList.Item>
</DescriptionList.Root>
<Fieldset.Root>
<Fieldset.Legend>Included patterns</Fieldset.Legend>
<Fieldset.Content>
<Text as="p">• Reusable summary rail</Text>
<Text as="p">• Filter/action section</Text>
<Text as="p">• Context card stack</Text>
</Fieldset.Content>
</Fieldset.Root>
</Stack>
</PageLayout.Content>
</PageLayout.Root>