Label
This source is documented by the existing examples linked below.
src/components/Label.astroUsage contract
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
- Existing composed portfolio example; reuse its building blocks rather than copying a whole page.
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> - composition
<CompositionD locale={locale} />
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props { variant?: 'label' | 'kicker' | 'eyebrow'; as?: 'p' | 'span' | 'dt' | 'h3'; class?: string }Astro.props
Bindings and defaults read from source; these do not add inferred types.
variant = 'label'as = 'p'class = ''
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/LayoutDemos.astro
- src/components/Label.astro
Preview
- src/pages/vorschlag/cases/[id].astro
- src/components/case/CasePage.astro
- src/components/case/CaseHero.astro
- src/components/PageIntro.astro
- src/components/Label.astro
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.