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