DemoBlock
Gibt einer echten Demo ihren stabilen Suchanker und die gemeinsame Vertragsdarstellung.
src/components/ds/DemoBlock.astroSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use through the documented parent
Entry point: src/components/ds/DesignSystemPage.astro
- Nur für die Workbench; keine zweite Website-Komponentenimplementierung daraus ableiten.
- id muss im Katalog und in der tatsächlichen Demo eindeutig registriert sein; data-demo wird auch intern von Story-Controls benutzt.
Examples
No dedicated demo is assigned. Use the documented entry point and consumers below; this is not evidence of a missing runtime component.
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props { id: string; title: string }Astro.props
Bindings and defaults read from source; these do not add inferred types.
idtitle
Slots: default
Source usage
Website reference
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.
Website
Documentation
- src/pages/design-system/[category].astro
- src/components/ds/DesignSystemPage.astro
- src/components/ds/PrimitiveDemos.astro
- src/components/ds/DemoBlock.astro
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
- src/components/ds/CaseDemos.astro:8 import
- src/components/ds/CompositionD.astro:3 import
- src/components/ds/ContentDemos.astro:2 import
- src/components/ds/ControlDemos.astro:2 import
- src/components/ds/DataDemos.astro:2 import
- src/components/ds/EvidenceDemos.astro:2 import
- src/components/ds/LayoutDemos.astro:2 import
- src/components/ds/LayoutMoreDemos.astro:2 import
- src/components/ds/MainPageDemos.astro:11 import
- src/components/ds/PrimitiveDemos.astro:2 import
- src/components/ds/StoryDemos.astro:16 import
- src/components/ds/VisualDemos.astro:2 import
- src/components/ds/ZeichenDemos.astro:3 import
Dependencies
./catalog·src/components/ds/catalog.ts./ContractDetails.astro·src/components/ds/ContractDetails.astro