Section
This source is documented by the existing examples linked below.
src/components/site/Section.astroUsage contract
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Examples
- main-surface
<Surface root="Home" first={ui.work}> <Section section="demo-a" title={ui.work} count="03"><Fragment slot="meta"><Keycap>J</Keycap><Keycap>K</Keycap><em>{ui.navigate}</em></Fragment><RowList items={rows}/></Section> <Section section="demo-b" title={ui.about}><p class="ds-main__pad">{en?'One header for the whole surface; it names the section one is reading.':'Ein Kopf für die ganze Fläche; er nennt den Abschnitt, in dem man gerade liest.'}</p></Section> </Surface> - main-rows
<Section section="demo-rows" title={ui.cases} count="03"><RowList items={rows}/></Section>
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props {section:string;title:string;id?:string;count?:string;class?:string;[k:`data-${string}`]:unknown}Astro.props
Bindings and defaults read from source; these do not add inferred types.
sectiontitleidcountclass
Slots: meta · default · foot
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/MainPageDemos.astro
- src/components/site/Section.astro
Preview
- src/pages/en/vorschlag/about.astro
- src/components/site/pages/AboutPage.astro
- src/components/site/Section.astro
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.