LayoutDemos
Diese Quelle ist durch die unten verlinkten vorhandenen Beispiele dokumentiert.
src/components/ds/LayoutDemos.astroVerwendung
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Beispiele
- 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
Mit dem TypeScript-Parser aus der Quelle gelesen. Vererbte und importierte Typen bleiben Referenzen; verbindlich ist die Implementierung.
interface Props { locale: Locale }Astro.props
Bindings und Defaults aus der Quelle; daraus werden keine Typen erfunden.
locale
Quellnutzung
Nur Doku / Vorschau
Das ist statische Quellevidenz. Ein erreichbares Modul kann bedingte oder ungenutzte Zweige enthalten. Externe Verbraucher und gestagte statische Seiten liegen außerhalb des Scans. Kein Status ist eine Löschfreigabe.
Dokumentation
- src/pages/design-system/[category].astro
- src/components/ds/DesignSystemPage.astro
- src/components/ds/LayoutDemos.astro
Verbraucher im Quellcode
Direkte statische, dynamische und Typimporte. Importe beweisen weder einen gerenderten Zweig noch die Veröffentlichung eines Vorschlags.
Abhängigkeiten
./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