A clean and interactive calendar component for date selection.
Installation
Usage
import { CalendarDemo } from "viora-ui";import { CalendarDemo } from "viora-ui";
export default function CalendarDemoDemo() {
return (
<div className="flex min-h-[350px] w-full items-center justify-center p-6">
<CalendarDemo />
</div>
);
}API Reference
Calendar
| Prop | Type | Default | Description |
|---|---|---|---|
| mode? | 'single' | - | Configuration for mode. |
| selected? | Date | - | Configuration for selected. |
| onSelect? | (date: Date | undefined) => void | - | Callback fired on select event. |
| className? | string | "" | Additional CSS classes for custom styling. |
Built by Otis
Last updated: 9/13/2026