Figure
This source is documented by the existing examples linked below.
src/components/Figure.astroUsage contract
- Use Figure with accurate alt text, caption, source and publication approval.
- 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
- figure
<Figure {...f1} class="max-w-text" /> - figure-pair
<FigurePair><Figure {...f1} /><Figure {...f2} /></FigurePair> - figure-grid
<FigureGrid><Figure {...f1} /><Figure {...f2} /><Figure {...f3} /></FigureGrid>
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props { src: string; w: number; h: number; alt: string; caption: string; zoomLabel: string; origin?: string; class?: string }Astro.props
Bindings and defaults read from source; these do not add inferred types.
srcwhaltcaptionzoomLabeloriginclass = ''
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
- src/pages/en/work/[id].astro
- src/components/case/CasePage.astro
- src/components/case/CaseHero.astro
- src/components/Figure.astro
Documentation
- src/pages/design-system/[category].astro
- src/components/ds/DesignSystemPage.astro
- src/components/ds/EvidenceDemos.astro
- src/components/Figure.astro
Preview
- src/pages/vorschlag/cases/[id].astro
- src/components/case/CasePage.astro
- src/components/case/CaseHero.astro
- src/components/Figure.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
./Zeichen.astro·src/components/Zeichen.astro