# Carousel · semantische Komponentenreferenz

Browse a finite sequence of labelled slides using real previous/next controls and the selected Embla API.

Status der neuen Domänenmigration: **complete** im begrenzten Referenzumfang. Stabile Teile, tatsächlich passende Source-Selektoren, semantische Tokenwerte und nutzbare Zustands-Fixtures wurden mit dem normalen Komponentenprüfpfad und der echten React-Verwendung geprüft. [Browsernachweis](../../validation/semantic-utilities-browser-run.json); keine allgemeine Anwendungsfreigabe.

Actual source viewport/inner-track/slide identity remains distinct; Embla owns track transform and snap positions. Source 16px slide gutters map to native selected horizontal specimen 165px height and 28px full-round controls. Reference chooses one complete slide per snap; native multi-card samples remain evidence, not forced runtime widths. Controls are placed in reserved 40px internal lanes so320px views retain both navigation controls; this explicitly differs from source external 48px offsets. Vertical reference uses 240px constrained viewport and top/bottom control lanes; orientation is forwarded to Embla axis, while caller data-orientation binds visual CSS because wrapper emits no orientation attribute. Actual source capture still intercepts Left/Right in both orientations, not Up/Down, and does not exclude editable descendants; chosen slides contain no editable controls. RTL passes Embla opts.direction and HTML dir; Left still invokes scrollPrev and Right scrollNext per pinned wrapper, rather than invented physical-key reversal. Button source default outline/icon-sm is retained with native 28px circle override. External status is caller setApi select/reInit state, not an upstream onIndexChange API. No autoplay, fake slide tabindex, automatic focus movement or undocumented pause behavior.

[Stabile Anatomie und tatsächliche Source-/Caller-Bindungen](component.json), [CEM](interface.json), [semantische Zustands-/Variantenregeln](layout.css), [brauchbare Fixtures](stories.json). Native Muster, Hashes und Messwerte bleiben vollständig separat in [Quellmustern](figma/source-specimens.json) und [Traceability](figma/traceability.json).

Die veröffentlichten Props/Callbacks und der [führende SCXML-Aktor](behavior.scxml) bleiben die Quelle des tatsächlichen Verhaltens. [HTML/ARIA](accessibility.html) und [Projektionsregeln](accessibility.rules.json) benennen die konkrete Verwendung, einschließlich notwendiger Caller-Beschriftung. Selectorbindungen sind ein expliziter React-/DOM-Adaptervertrag, keine erfundenen automatischen Shadow-DOM-Exports.

Root props include opts:CarouselOptions, plugins:CarouselPlugin, orientation horizontal|vertical (defaulthorizontal), setApi(api) and native div props. useEmblaCarousel8.5.2 receives opts then an axis forced from orientation, so orientation wins over opts.axis. setApi receives the actual ready API, not a fabricated index event. Internal select/reInit observations derive canScrollPrev/Next; Previous/Next compose Button with default outline/icon-sm and readable hidden Previous slide/Next slide labels. Their disabled and onClick props are applied before {...props}, so callers can deliberately override them. Item is group with roledescription=slide; Root is region roledescription=carousel and requires caller context name. Content has an outer overflow viewport and inner flex track; className styles the track. Embla supplies drag, focus/resize behavior and snapping. No autoplay is enabled unless a plugin explicitly adds it; there is no built-in pause button, pagination or live announcement. This reference chooses three static slides, nonlooping default options, no plugin and external status from actual api.select subscriptions.

Next/Previous use native Button Enter/Space and are disabled at the respective nonlooping boundary. Root onKeyDownCapture intercepts Left to scrollPrev and Right to scrollNext even in vertical layout; it does not implement Up/Down and does not check editable descendant targets. This reference keeps editable fields outside the carousel. Tab follows actual child/Button order; no slide roving tabindex or focus jump is invented. Caller may override the capture handler via native props. Escape does not reset the selected slide. Each slide gets an explicit positional/task label in this reference.

[Originale React-Quellen und Versionen](../../sources/manifest.json), [nativer FIG-/PNG-Beleg](figma/figma-observations.json) und [tatsächliches Source-Prüfziel](provenance://source/apps%2Fshadcn-reference-lab%2FREADME.md). `release:false`; kein allgemeines Pixel-/Framework-/AT-Zertifikat.
