55 lines
811 B
Plaintext
55 lines
811 B
Plaintext
---
|
|
title: Carousel
|
|
description: Let your users select a date to cancel subscription.
|
|
lastUpdated: 14 Nov, 2025
|
|
---
|
|
|
|
<ComponentShowcase name="carousel-style-default" />
|
|
<br />
|
|
<br />
|
|
|
|
## Installation
|
|
|
|
<ComponentInstall>
|
|
<ComponentInstall.Cli npmCommand="npx shadcn@latest add @retroui/carousel" />
|
|
<ComponentInstall.Manual>
|
|
|
|
#### 1. Install dependencies:
|
|
|
|
```sh
|
|
npm install react-day-picker lucide-react
|
|
```
|
|
|
|
<br />
|
|
|
|
#### 2. Copy the code 👇 into your project:
|
|
|
|
<ComponentSource name="carousel" />
|
|
|
|
</ComponentInstall.Manual>
|
|
</ComponentInstall>
|
|
|
|
<br />
|
|
<br />
|
|
|
|
## Examples
|
|
|
|
### Default
|
|
|
|
<ComponentShowcase name="carousel-style-default" />
|
|
|
|
<br />
|
|
<br />
|
|
|
|
### Sizes
|
|
|
|
<ComponentShowcase name="carousel-style-sizes" />
|
|
|
|
<br />
|
|
<br />
|
|
|
|
### Vertical
|
|
|
|
<ComponentShowcase name="carousel-style-vertical" />
|
|
|