StoryDemos
This source is documented by the existing examples linked below.
src/components/ds/StoryDemos.astroUsage contract
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Examples
- story-roles
<div class="ds-roles">{roles.map(r=><span class="ds-role"><i style={`background:var(--${r})`}></i><code>--{r}</code></span>)}<span class="ds-role"><i class="ds-role__ink"></i><code>.case-path.dark</code></span></div> - story-hero
<div class="case-hero-stage ds-story--hero"><div class="case-frame"><CaseHero content={c} locale={locale} demo story/></div></div> - story-platform
<div class="ds-story case-path dark"><StoryScene name="lanes" locale={locale}/></div> - story-signal
<div class="ds-story case-path dark"><StoryScene name="signal" locale={locale}/></div> - story-decision
<div class="ds-story case-path dark"><StoryScene name="dobj" locale={locale}/></div> - story-chat
<div class="ds-story case-path dark"><StoryScene name="zain" locale={locale}/></div> - story-dashboard
<div class="ds-story case-path dark"><StoryScene name="dash" locale={locale}/></div> - story-station-mock
<div class="ds-story case-path dark"><ol class="case-path__steps"><StoryStation i={story.steps[withMock]} n={withMock} art={arts[story.steps[withMock].id]} locale={locale} zoomLabel={t(locale,'case.zoom')} lit/></ol></div> - story-band
<CaseHighlight b={band}/> - story-tip
<div class="ds-tips"><CaseTip k="01" t={story.steps[0].t} b={story.steps[0].b} locale={locale}/><CaseTip k="19" t={c.hero.h1} locale={locale}/></div> - story-pager
<CasePager prev={link(others[0],'design-systems')} next={link(others[1],'product-systems')} locale={locale}/> - story-notes
<CaseFooter notes={c.notes} locale={locale}/> - story-motion
<p class="max-w-text text-sm text-ink-muted">{t(locale,'ds.storyMotionNote')}</p>
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/StoryDemos.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@/lib/story·src/lib/story.ts@/components/story/StoryStart.astro·src/components/story/StoryStart.astro@/components/story/StoryDock.astro·src/components/story/StoryDock.astro@/components/story/StoryScene.astro·src/components/story/StoryScene.astro@/components/story/StoryStation.astro·src/components/story/StoryStation.astro@/components/case/CaseTip.astro·src/components/case/CaseTip.astro@/components/case/CasePager.astro·src/components/case/CasePager.astro@/components/case/CaseHero.astro·src/components/case/CaseHero.astro@/components/case/CaseHighlight.astro·src/components/case/CaseHighlight.astro@/components/case/CaseFooter.astro·src/components/case/CaseFooter.astro./DemoBlock.astro·src/components/ds/DemoBlock.astro@/i18n·src/i18n/index.ts@/styles/case.css·src/styles/case.css