Carousel
The scroll track a row of cards sits in, with edge fades, a control each way, and a position indicator.
Carousel
The scroll track a row of cards sits in, with edge fades, a control each way, and a position indicator. It reads the scroll position off the DOM and holds no state of its own. The fade paints the elevated surface, so a track on any other plane shows a visible smear at each edge. The deck reports how many cards it laid out, and never its own exposure. A phone hides the arrows and swipes the track instead, so which cards a member saw is each card's own viewability.
Interaction Phases
State space: none. This item renders no phase treatment of its own.
Politeness is not announced — this item carries no live region.
Storybook
Loading
Props
Prop
Type
Also takes the attributes of the element it renders.
Tokens
Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.
--augds-border-default--augds-border-strong--augds-foreground-brand--augds-foreground-primary--augds-interaction-focus-ring--augds-motion-duration-fast--augds-motion-duration-normal--augds-motion-easing-standard--augds-spacing-12
Source
src/components/ui/carousel/carousel.tsx