Dokumentation durchsuchen
Design System
Jede sichtbare Eigenschaft kommt aus einer Stufe, jedes Element gibt es genau einmal. Hier steht alles, woraus die Seiten gebaut sind.
Kein passendes Beispiel in dieser Ansicht. Suche löschen oder eine andere Kategorie wählen.
Jede Kategorie lädt ihre eigenen Beispiele. Quellverträge stehen unter der Vorschau; Hover und Tastaturfokus lassen sich direkt prüfen.
Grundbausteine
Input
Nutzung und Quellvertrag
Use Input for native text/search fields. Always connect a visible label; errors use aria-invalid and aria-describedby.
Hauptquelle: src/components/ui/input.tsx
Varianten: size: sm | md · native input props except numeric size
States: empty · filled · focus-visible · disabled · readOnly · aria-invalid + aria-describedby
- Use native semantics and visible keyboard focus.
- Check 320px, long content and both themes.
<label for="search">Search work</label>
<Input id="search" type="search" size="md" />Karte
Eine ruhige Fläche
Karten tragen eine Einheit Inhalt und heben sich mit einer Schattenstufe ab.
Nutzung und Quellvertrag
Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Hauptquelle: src/components/ui/card.tsx
src/components/ui/badge.tsx
src/components/ui/separator.tsx
States: default · keyboard focus where interactive · light / dark · reduced motion
- Use native semantics and visible keyboard focus.
- Check 320px, long content and both themes.
<Card className="max-w-text">
<CardHeader><CardTitle>{t(locale, 'ds.cardTitle')}</CardTitle><CardDescription>{t(locale, 'ds.cardBody')}</CardDescription></CardHeader>
<Separator />
<div class="flex gap-2"><Badge tone="brand" dot>{t(locale, 'flag.tag')}</Badge></div>
</Card>Tabelle
| Kennzahl | Was |
|---|---|
| 0 → 1 | Ein Einstieg für alle zvoove-Produkte, vom ersten Shell-Prototyp bis zur Auslieferung mit den zvoove One Bundles. |
| 4 → 14 | Das Designteam von Container xChange als Design Co-Lead mit aufgebaut. |
| 7-stellig | Offene Kundenforderungen zurückgeholt, gemeinsame Initiative im Finanzbereich. |
| seit 2017 | Eigene Design Systems von car2go über SHARE NOW bis Compass. |
Nutzung und Quellvertrag
Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Hauptquelle: src/components/ui/table.tsx
States: default · keyboard focus where interactive · light / dark · reduced motion
- Use native semantics and visible keyboard focus.
- Check 320px, long content and both themes.
<div class="overflow-hidden rounded-card bg-panel shadow-lift">
<Table>
<TableHeader><TableRow><TableHead>{locale === 'de' ? 'Kennzahl' : 'Figure'}</TableHead><TableHead>{locale === 'de' ? 'Was' : 'What'}</TableHead></TableRow></TableHeader>
<TableBody>
{proof.map((n) => <TableRow><TableCell className="text-lg font-medium text-ink tabular-nums">{t(locale, `proof.${n}.v`)}</TableCell><TableCell>{t(locale, `proof.${n}.t`)}</TableCell></TableRow>)}
</TableBody>
</Table>
</div>Dialog, Menü, Hinweis
Nutzung und Quellvertrag
Use the existing Radix dialog/menu/tooltip wrappers. Dialogs require an accessible title and focus return; tooltips never carry essential content alone.
Hauptquelle: src/components/ds/PrimitiveDemos.astro
src/components/islands/DsDialogDemo.tsx
src/components/islands/DsTooltipDemo.tsx
src/components/islands/PanelMenu.tsx
src/components/islands/PreRead.tsx
States: default · keyboard focus where interactive · light / dark · reduced motion
- Use native semantics and visible keyboard focus.
- Check 320px, long content and both themes.
<div class="flex flex-wrap items-center gap-3">
<DsDialogDemo client:visible open={t(locale, 'ds.dialogOpen')} title={t(locale, 'ds.dialogTitle')} body={t(locale, 'ds.dialogBody')} close={t(locale, 'ds.close')} />
<PanelMenu client:visible label={t(locale, 'ds.menuLabel')} items={[{label: t(locale, 'ds.menuAll'), href: '/work/'}, {label: t(locale, 'ds.menuCv'), href: t(locale, 'nav.cvHref')}]} />
<DsTooltipDemo client:visible trigger={t(locale, 'ds.tooltipTrigger')} text={t(locale, 'ds.tooltip')} />
<PreRead client:visible trigger={t(locale, 'preread.open')} title={t(locale, 'preread.title')} intro={t(locale, 'preread.intro')} items={[t(locale, 'preread.1'), t(locale, 'preread.2'), t(locale, 'preread.3')]} closeLabel={t(locale, 'ds.close')} />
</div>SegmentSwitcher
Nutzung und Quellvertrag
Use links for navigation and buttons for in-page choices. Exactly one current/pressed item.
Hauptquelle: src/components/SegmentSwitcher.astro
Varianten: mode: links | buttons
States: default · keyboard focus where interactive · light / dark · reduced motion
- Use native semantics and visible keyboard focus.
- Check 320px, long content and both themes.
<div class="flex flex-wrap items-center gap-6">
<SegmentSwitcher name="lang-demo" mode="links" label={t(locale, 'lang.label')} items={[{value: 'de', label: 'DE', lang: 'de', href: localePath('de', '/design-system/'), current: locale === 'de'}, {value: 'en', label: 'EN', lang: 'en', href: localePath('en', '/design-system/'), current: locale === 'en'}]} />
<SegmentSwitcher name="theme-demo" mode="buttons" label={t(locale, 'switch.theme')} items={[{value: 'system', label: t(locale, 'theme.system'), current: true}, {value: 'light', label: t(locale, 'theme.light')}, {value: 'dark', label: t(locale, 'theme.dark')}]} />
</div>Tastenkürzel
Kapitel CKurzfassung KCase lesen RStory S / W
Nutzung und Quellvertrag
Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Hauptquelle: src/components/Keycap.astro
States: default · keyboard focus where interactive · light / dark · reduced motion
- Use native semantics and visible keyboard focus.
- Check 320px, long content and both themes.
<div class="flex flex-col gap-4"><div class="flex items-center gap-2 text-xs text-ink-muted"><Keycap>C</Keycap><Keycap>K</Keycap><Keycap>S</Keycap><Keycap>W</Keycap><Keycap>L</Keycap><Keycap>T</Keycap><Keycap title="Enter">↵</Keycap><Keycap>Esc</Keycap><Keycap>?</Keycap></div><p class="flex flex-wrap items-center gap-6 text-xs text-ink-muted"><span class="inline-flex items-center gap-2">{t(locale,'case.chapters')} <Keycap>C</Keycap></span><span class="inline-flex items-center gap-2">{t(locale,'case.preRead')} <Keycap>K</Keycap></span><span class="inline-flex items-center gap-2">{t(locale,'case.readCase')} <Keycap>R</Keycap></span><span class="inline-flex items-center gap-2">Story <Keycap>S</Keycap> / <Keycap>W</Keycap></span></p></div>Switch · Radix
Nutzung und Quellvertrag
Use the existing Radix Switch with a visible label and controlled on/off semantics.
Hauptquelle: src/components/ui/switch.tsx
src/components/islands/SwitchDemo.tsx
Varianten: checked | unchecked · disabled
States: default · keyboard focus where interactive · light / dark · reduced motion
- Use native semantics and visible keyboard focus.
- Check 320px, long content and both themes.
<SwitchDemo client:load label={t(locale,'keys.enabled')}/>KeyboardHelp
Nutzung und Quellvertrag
Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Hauptquelle: src/components/islands/KeyboardHelp.tsx
src/components/Keycap.astro
States: default · keyboard focus where interactive · light / dark · reduced motion
- Use native semantics and visible keyboard focus.
- Check 320px, long content and both themes.
<button hidden type="button" data-keyboard-help aria-haspopup="dialog" aria-expanded="false" aria-keyshortcuts="?" class="inline-flex min-h-8 items-center gap-2 rounded-control border border-line px-3 text-sm hover:bg-sunken focus-visible:outline-2 focus-visible:outline-ring"><Keycap>?</Keycap>{t(locale,'island.label')}</button>
<KeyboardHelp client:load title={t(locale,'island.label')} close={t(locale,'case.close')} enabled={t(locale,'keys.enabled')} hint={t(locale,'keys.hint')} native={t(locale,'keys.native')} sections={{reading:t(locale,'keys.reading'),page:t(locale,'keys.page'),focus:t(locale,'keys.focus')}} shortcuts={[{key:'?',label:t(locale,'keys.help')},{key:'L',label:t(locale,'island.lang')},{key:'T',label:t(locale,'island.theme')}]}/>Metadaten-Chip
Nutzung und Quellvertrag
Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Hauptquelle: src/components/ds/ControlDemos.astro
src/components/ui/badge.tsx
States: default · keyboard focus where interactive · light / dark · reduced motion
- Use native semantics and visible keyboard focus.
- Check 320px, long content and both themes.
<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>Glossar-Begriff
Jede Aktion mit Wirkung läuft über das
Nutzung und Quellvertrag
Reuse this composition from its source and demo. Keep its existing semantic structure and locale/data contracts.
Hauptquelle: src/components/islands/Term.tsx
States: default · keyboard focus where interactive · light / dark · reduced motion
- Use native semantics and visible keyboard focus.
- Check 320px, long content and both themes.
<p class="max-w-text">{t(locale, 'term.before')}<Term client:visible term={t(locale, 'term.word')} title={t(locale, 'term.title')} body={t(locale, 'term.body')} />{t(locale, 'term.after')}</p>