Components
- Accordion
- Alert
- Alert Dialog
- Aspect Ratio
- Avatar
- Badge
- Breadcrumb
- Button
- Button Group
- Calendar
- Card
- Carousel
- Chart
- Checkbox
- Collapsible
- Combobox
- Command
- Context Menu
- Data Table
- Date Picker
- Dialog
- Drawer
- Dropdown Menu
- Empty
- Field
- Hover Card
- Input
- Input Group
- Input OTP
- Item
- Kbd
- Label
- Menubar
- Native Select
- Navigation Menu
- Pagination
- Popover
- Progress
- Radio Group
- Resizable
- Scroll Area
- Select
- Separator
- Sheet
- Sidebar
- Skeleton
- Slider
- Sonner
- Spinner
- Switch
- Table
- Tabs
- Textarea
- Toggle
- Toggle Group
- Tooltip
- Typography
Get Started
@shadcn/react
@shadcn/helpers
Force UI registry
Utilities
Installation#
pnpm dlx shadcn@latest add @force-ui-svelte/calendar
Usage#
<script lang="ts">
import { Calendar } from "@/components/ui/calendar"
</script>
<Calendar type="single" />About#
The <Calendar /> component is built on top of the Bits UI Calendar component, which uses the @internationalized/date package to handle dates.
If you're looking for a range calendar, check out the Range Calendar component.
Date Picker#
You can use the <Calendar /> component to build a date picker. See the Date Picker page for more information.
Examples#
Basic#
A basic calendar component.
Range Calendar#
Use <RangeCalendar /> to enable range selection.
Month and Year Selector#
Use captionLayout="dropdown" to show month and year dropdowns.
Presets#
Date and Time Picker#
Week Numbers#
Use weekNumbers to show week numbers.
RTL#
To enable RTL support in Force UI, see the RTL configuration guide.
API Reference#
See the Bits UI Calendar documentation for more information on the Calendar component.
Deploy your shadcn/ui app on Vercel
Trusted by OpenAI, Sonos, Adobe, and more.
Vercel provides tools and infrastructure to deploy apps and features at scale.
Deploy to Vercel