Skip to content
Mizen UI
Docs

IntroductionInstallationCLIStylingFoundationsThemingCompositionIntegrationsAccessibilityFor agents

useCopyToClipboard

AccordionAspect RatioCardCollapsibleFrameGridGroupInlineScroll AreaSectionSeparatorSpacerStack

BlockquoteCitationCodeHeadingKbdLabelLinkTextVisually Hidden

ButtonButton GroupToggleToggle groupToolbar

CalendarCheckboxCheckbox groupComboboxDate pickerDate range pickerDate-Time InputFieldFieldsetFile UploadFormInputInput groupNumber fieldOTP FieldRadio groupSelectSliderSwitchTextareaTime Input

BreadcrumbMenubarNavigation MenuPaginationSegmented ControlStepperTabs

Alert dialogCommandContext MenuDialogDrawerMenuPopoverPreview CardSheetTooltip

AlertBadgeEmptyError StateMeterProgressSkeletonSpinnerStatus dotToast

Activity FeedAvatarAvatar GroupData TableListMetricOverflow ListProperty ListTableTokenTree

Area ChartBar ListCalendar HeatmapCategory ComparisonChart FrameChart LegendChart TooltipDistributionFunnelHeatmapMetric TrendPart-to-WholeProgress RingsRadar ChartRadial BarsSankey ChartScatter ChartScore GaugeTime Series

Diagram

AttachmentCarouselCode BlockLightboxMarkdownThumbnailTimestamp

Agent ThinkingApproval CardComposerConversationInline CitationMessageMessage ScrollerQuestion CardSourcesStreaming TextSuggestionTask ListTerminalTool Call

On this page

  • Preview
  • Usage
  • Anatomy
  • Examples
  • Recommendations
  • Usage boundaries
  • API reference

Content

Carousel

Browses a horizontal sequence with native scrolling and labeled controls.

idle

Usage

import {
	Carousel,
	CarouselContent,
	CarouselIndicators,
	CarouselItem,
	CarouselNext,
	CarouselPrevious,
} from "@mizen-labs/ui";

Anatomy

The parts and how they nest, taken from the preview above.

<Carousel>
	<CarouselContent>
		<CarouselItem />
	</CarouselContent>
	<CarouselIndicators />
	<CarouselPrevious />
	<CarouselNext />
</Carousel>

Examples

Recommendations

GuidancePractice
Do

Keep navigation controls labeled and slide ordering meaningful. Allow users to review content at their own pace.

Usage boundaries

GuidanceBoundary
Scope

Do not hide required instructions in later slides. Use a static list for content that users must compare together.

API reference

Public props from @mizen-labs/ui. Use exported prop types for the complete TypeScript contract.

PropTypeDefaultDescription
CarouselCarouselPropsNamed regionRequires aria-label or aria-labelledby.
CarouselContentCarouselContentPropsHorizontalFocusable native scroll viewport with snap points.
CarouselItemCarouselItemPropsFull-width slideA slide group; provide a distinct accessible label.
CarouselPrevious / CarouselNextCarouselControlPropsPrevious slide / Next slideSystem-owned boundary states and scroll behavior. No autoplay or looping.
PreviousAttachmentNextCode Block
Rows of lavender running to the horizon in Valensole
Lavender stems in bloom, close up
A bee on a lavender flower
Paint swatches fanned out in soft colors
Rows of lavender under a pink evening sky

Project Alpha

A workspace for reviewing the details that make a component useful.

Lavender stems in bloom across a green field

Project Beta

A shared library for consistent forms, actions, and navigation.

A bee on a sprig of lavender

Project Gamma

A reading view that makes room for long names and real content.