Overview
Forms & inputs
Search for a command to run or a page to navigate to.
A slideshow component for cycling through elements like images or cards.
import { Carousel } from "@strongtie/design-system/carousel"Not installed yet? Add the package to your app:
This module exports the following components:
CarouselCarouselContentCarouselItemCarouselNextCarouselPrevious<Carousel>| Prop | Type | Default | Description |
|---|---|---|---|
opts | Partial<OptionsType> | - | |
orientation | horizontal | vertical | - | |
plugins | CreatePluginType<LoosePluginType, {}>[] | - | |
setApi | ((api: EmblaCarouselType) => void) | - |
<CarouselNext>| Prop | Type | Default | Description |
|---|---|---|---|
size | "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | - | |
variant | "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | - |
<CarouselPrevious>| Prop | Type | Default | Description |
|---|---|---|---|
size | "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | - | |
variant | "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | - |