Components
Loading preview...
A comprehensive calendar component for date selection with support for single dates, date ranges, and multiple date selection
npx shadcn@latest add https://21st.dev/r/preetsuthar17/calenderimport { Calendar } from "@/components/ui/calender";
import React from 'react';
export default function DemoOne() {
const [date, setDate] = React.useState<Date>()
return(
<div>
<Calendar selected={date} onSelect={setDate} />
</div>
);
}