LayoutDemos
This source is documented by the existing examples linked below.
src/components/ds/LayoutDemos.astroUsage contract
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Examples
- labels
<Stack gap={2}><Label>{t(locale, 'meta.role')}</Label><Label variant="kicker">{t(locale, 'ds.kicker')}</Label><Label variant="eyebrow">01 · {t(locale, 'ds.foundations')}</Label></Stack>
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props { locale: Locale }Astro.props
Bindings and defaults read from source; these do not add inferred types.
locale
Source usage
Docs / preview only
This is static source evidence. A reachable module may contain conditional or unused branches. External consumers and staged static pages are outside this scan. No status authorizes deletion.
Documentation
- src/pages/design-system/[category].astro
- src/components/ds/DesignSystemPage.astro
- src/components/ds/LayoutDemos.astro
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
Dependencies
./DemoBlock.astro·src/components/ds/DemoBlock.astro@/components/Container.astro·src/components/Container.astro@/components/Section.astro·src/components/Section.astro@/components/Stack.astro·src/components/Stack.astro@/components/Grid.astro·src/components/Grid.astro@/components/Label.astro·src/components/Label.astro@/components/Panel.astro·src/components/Panel.astro@/components/PanelHeader.astro·src/components/PanelHeader.astro@/i18n/index.ts·src/i18n/index.ts