Skip to content
FormsFree

Date Picker

A Calendar inside a Popover, with Cancel/Apply actions.

Usage

Installation

bash
npm install @wunderui/react

Then import what you need:

tsx
import { DatePicker, DatePickerProps } from "@wunderui/react"

Examples

Single date

A field that opens a calendar for one day.

Date

Date range

Two months side by side for a start and an end.

Date range

Range with presets

Quick choices such as “Last 7 days” next to the calendar.

Date range

In context

How the component is used inside real screens — the same compositions as the Usage section of the Figma page.

Report filters

A start date for a revenue report, in a filter bar.

Revenue report

From

API Reference

PropTypeDefault
value / defaultValueDate—
onValueChange(date: Date | undefined) => void—
placeholderstring"Pick a date"