ComponentsBlocksDocsExamples

Accordion
Field
Accordion Menu
Alert Dialog
Avatar
Badge
Breadcrumb
Button
Carousel
Checkbox
Collapsible
Command
Combobox
Context Menu
Date Picker
Dialog
Dropdown Menu
Form
Filters
New
Hover Card
Input
Update
Label
Menubar
Navigation Menu
Popover
Progress
Radio Group
Scroll Area
Select
Separator
Sheet
Slider
Sortable
Switch
Table
Tabs
Tooltip
Toggle
Toggle Group
Tree

Components

Date Picker

UI Library:

A date input component that combines a calendar popover with an input field.

Installation

The Date Picker is built using a composition of the Popover and the Calendar components.

Examples

Date & Time

Range

Presets

Form

API Reference

This component is built using react-day-picker and Radix UI Popover primitives. For detailed information about the calendar functionality, please visit the react-day-picker documentation.

Calendar

This component is based on the DayPicker component from react-day-picker. For all available props, refer to the react-day-picker documentation. The component includes the following custom styling props:

PropTypeDefault
className stringundefined
classNames objectSee calendar.tsx

DatePickerTrigger

The trigger button that opens the date picker popover.

PropTypeDefault
asInput booleanfalse
placeholder string"Pick a date"
className stringundefined

DatePickerContent

The popover content that contains the calendar. This component extends Radix UI's Popover.Content.

PropTypeDefault
className stringundefined
align enum "center"

DatePickerPresets

A component for displaying preset date ranges.

PropTypeDefault
presets Array<{ label: string; range: DateRange }>
onSelect (range: DateRange) => void
className stringundefined

Credits

  • Built with React DayPicker.
  • Built with Radix UI Popover.
PreviouseContext MenuNextDialog

On This Page

  • Installation
  • Examples
    • Date & Time
    • Range
    • Presets
    • Form
  • API Reference
    • Calendar
    • DatePickerTrigger
    • DatePickerContent
    • DatePickerPresets
  • Credits

We use cookies

We use cookies to ensure you get the best experience on our website. For more information on how we use cookies, please see our cookie policy.

By clicking Accept, you agree to our use of cookies.
Learn more.

Token UI

Components

  • Overview
  • Pricing
  • Marketplace
  • Features
  • Integrations
  • Pricing

Blocks

  • Charts
  • Team
  • Blog
  • Careers
  • Contact
  • Privacy

Examples

  • Help
  • Sales
  • Advertise

Docs

  • Twitter
  • Instagram
  • LinkedIn

© 2025 TOUI.dev. All rights reserved.

  • Terms and Conditions
  • Privacy Policy