LightboxIsland
Übernimmt Bild- und Zoomaktionen der Figure-Familie in ein gemeinsames Medienfenster.
src/components/islands/LightboxIsland.tsxSource contract in German. The marked authoring notes below retain their original language.
Usage contract
Use through the documented parent
Entry point: src/components/Figure.astro
- Nur eine Insel pro Seite; Figure liefert src, Alt, Caption und natürliche Dimensionen über data-Attribute.
- Ohne JavaScript bleibt der Bildlink nutzbar; Escape und Fokus-Rückkehr zum Zoomknopf erhalten.
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.
type Item = {src: string; alt: string; caption: string; w: number; h: number};LightboxIsland({title, closeLabel}: {title: string; closeLabel: string})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/islands/LightboxIsland.tsx
Documentation
- src/pages/design-system/[category].astro
- src/components/ds/DesignSystemPage.astro
- src/components/ds/EvidenceDemos.astro
- src/components/islands/LightboxIsland.tsx
Preview
- src/pages/vorschlag/cases/[id].astro
- src/components/case/CasePage.astro
- src/components/islands/LightboxIsland.tsx
Consumers in source
Direct static, dynamic and type imports. Imports do not prove that a branch renders or that a proposal is published.
Dependencies
@/components/LeetReady·src/components/LeetReady.tsxreact@/components/ui/dialog·src/components/ui/dialog.tsx