XiodUI
HomeDocs
OverviewComponentsThemes & ColorsChangelog
⌘ K

Components

  • Accordion
  • Agent Steps
    New
  • Alert
  • Alert Dialog
  • Aspect Ratio
    New
  • Autocomplete
  • Avatar
  • Badge
  • Breadcrumb
  • Button
    Updated
  • Button Group
    New
  • Button Split
    New
  • Calendar
    New
  • Card
  • Carousel
    New
  • Checkbox
  • Circular Progress
    New
  • Collapsible
  • Color Picker
    New
  • Combobox
  • Command
  • Context Menu
    New
  • Copy To Clipboard
    New
  • Corner Badge
    New
  • Dashboard Grid
    New
  • Date Picker
    New
  • Dialog
  • Dot Matrix
    New
  • Draggable
    New
  • Drawer
    New
  • Empty
  • Field
  • Fieldset
  • File Upload
    New
  • Form
  • Frame
  • Gauge
    New
  • Grid
    New
  • Group
  • Input
  • Input Group
  • Input OTP
    New
  • Input Payment
    New
  • Input Phone
    New
  • Input Sensitive
    New
  • Kbd
  • Kinetic Click
    New
  • Label
  • List Box
    New
  • Loader
  • Marker
    New
  • Menu
  • Menubar
  • Message
    New
  • Meter
  • Morphic Toast
    New
  • Navigation Menu
  • Number Field
  • Option Picker
    New
  • Orb
    New
  • Pagination
  • Popover
  • Preview Card
  • Progress
  • Radio
  • Resizable
    New
  • Ruler Picker
    New
  • Scroll Area
  • Scroll Bar
    New
  • Select
  • Separator
  • Sidebar
  • Skeleton
  • Slider
    Updated
  • Sortable
    New
  • Switch
    Updated
  • Table
  • Tabs
  • Text
    New
  • Textarea
  • Timeline
    New
  • Toast
  • Toggle
  • Toggle Group
  • Toolbar
  • Tooltip
    Updated
  • Waveform
    New
  • Wheel Picker
    New
/
/

Loading...

Preview Skeleton

Installation Skeleton

Usage Skeleton

API Reference Skeleton

Sponsors

Support the development of XiodUI and help us build the best component library on Earth.

+++
Sponsor on GitHub

Calendar

Previous: Button SplitNext: Card

A robust, responsive calendar component supporting single and range selections with decade and month browsing.

Preview

Loading Preview...

Installation

bun add xiod-ui

Usage

Imports

1import { Calendar } from "xiod-ui/calendar";

Anatomy

1<Calendar>2</Calendar>

API Reference

Detailed documentation of properties and options.

Calendar

PropTypeDefaultDescription
mode
CalendarMode
|undefined
single
selected
Date
|DateRange
|null
|undefined
-
onSelect
((date: Date
|DateRange
|undefined) => void)
|undefined
-
showOutsideDays
boolean
|undefined
true
disableOutsideDays
boolean
|undefined
false
minDate
Date
|undefined
-
maxDate
Date
|undefined
-
disabled
Matcher
|Matcher[]
|undefined
-
modifiers
Record<string, Matcher
|Matcher[]>
|undefined
-
modifiersClassNames
Record<string, string>
|undefined
-
weekStartsOn
0
|1
|2
|3
|4
|5
|6
|undefined
0
numberOfMonths
number
|undefined
1
fixedWeeks
boolean
|undefined
true
localeWeekdays
string[]
|undefined
-
localeWeekdaysLong
string[]
|undefined
-
localeMonths
string[]
|undefined
-
localeMonthsShort
string[]
|undefined
-
classNames
CalendarClassNames
|undefined
-
Button SplitCard