Components: Shadcn UI
Carousel
Understand the design system and contribute to it
Component preview
The live preview for UI components is handled by components/atoms/codedocs/ComponentPreview.tsx. Use it directly inside MDX whenever you want a playground-style embed. Provide componentProps to set default values and propOptions to surface toggle-able props next to the preview.
Preview
1. Product onboarding
Guide teams as they ship new features.
Each card is a standard Card component, so you can render any content inside.
2. Daily standup
Keep track of blockers and celebrate wins.
Each card is a standard Card component, so you can render any content inside.
3. Retro meeting
Catalog insights and next steps.
Each card is a standard Card component, so you can render any content inside.
Prop reference
Auto-generated from the component source
Carousel
orientation= "horizontal"optssetApipluginsclassNamechildren
React.ComponentProps<"div"> & CarouselProps
CarouselContent
className
React.ComponentProps<"div">
CarouselItem
className
React.ComponentProps<"div">
CarouselNext
classNamevariant= "outline"size= "icon"
React.ComponentProps<typeof Button>
CarouselPrevious
classNamevariant= "outline"size= "icon"
React.ComponentProps<typeof Button>
Code