CaseDemos
This source is documented by the existing examples linked below.
src/components/ds/CaseDemos.astroUsage contract
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Examples
- case-frame
<CaseHero content={cases[1]} locale={locale} demo/> <CaseRail content={finance} readTime={'8 '+t(locale,'case.minutes')} demo/> <CaseNotes notes={finance.notes} locale={locale}/> <CaseText locale={locale} text={finance.hero.lead}/>
API
Extracted from the source with the TypeScript parser. Inherited and imported types remain references; implementation is authoritative.
interface Props {locale:Locale}Astro.props
Bindings and defaults read from source; these do not add inferred types.
locale
Source usage
Docs / preview only
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.
Documentation
- src/pages/design-system/[category].astro
- src/components/ds/DesignSystemPage.astro
- src/components/ds/CaseDemos.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
@/lib/cases·src/lib/cases.ts@/components/case/CaseBlock.astro·src/components/case/CaseBlock.astro@/components/case/CaseHero.astro·src/components/case/CaseHero.astro@/components/case/CaseRail.astro·src/components/case/CaseRail.astro@/components/case/CaseNotes.astro·src/components/case/CaseNotes.astro@/components/case/CaseText.astro·src/components/case/CaseText.astro./DemoBlock.astro·src/components/ds/DemoBlock.astro@/i18n·src/i18n/index.ts@/styles/case.css·src/styles/case.css