Getting Started
Foundations
Components
Search for a command to run...
Calendars provide an intuitive way for users to select dates, view date ranges, or navigate through months and years. They support multiple selection modes including single date selection, multiple dates, and date ranges, making them versatile for various scheduling and date-picking needs. Calendars handle date formatting, localization, and accessibility automatically, ensuring a consistent user experience across different locales.
Use calendars when users need to select dates in a visual context where seeing the days of the week and month layout is helpful. For simple date entry where typing is acceptable, consider using a date input field instead. Calendars are particularly effective for scheduling interfaces, booking systems, and any feature where date context and relative positioning matters to the user's decision.
import { Calendar } from "@strongtie/design-system/calendar"<Calendar>| Prop | Type | Default | Description |
|---|---|---|---|
buttonVariant | "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | - |
Selected date: 1/27/2026
Components can be styled using the className prop. The design system uses Tailwind CSS for styling.
CSS classes used by this component:
calendarEnsure proper accessibility attributes are added when implementing this component.