ControlDemos
This source is documented by the existing examples linked below.
src/components/ds/ControlDemos.astroUsage contract
- Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Examples
- meta
<div class="flex flex-wrap gap-2"><Badge tone="meta">Figma Make</Badge><Badge tone="meta">Claude Code</Badge><Badge tone="meta">Lovable</Badge></div>
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/ControlDemos.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
./DemoBlock.astro·src/components/ds/DemoBlock.astro@/components/SegmentSwitcher.astro·src/components/SegmentSwitcher.astro@/components/Keycap.astro·src/components/Keycap.astro@/components/ShortcutIsland.astro·src/components/ShortcutIsland.astro@/components/islands/SwitchDemo·src/components/islands/SwitchDemo.tsx@/components/islands/KeyboardHelp·src/components/islands/KeyboardHelp.tsx@/components/Zeichen.astro·src/components/Zeichen.astro@/components/ui/icon-button·src/components/ui/icon-button.tsx@/components/ui/badge·src/components/ui/badge.tsx@/components/islands/Term·src/components/islands/Term.tsx@/i18n/index.ts·src/i18n/index.ts