Skip to content

DatePicker

API reference and demos for DatePicker.

Source

import { DatePicker } from "@flanksource/clicky-ui/components";
Default · Open in Storybook
Empty · Open in Storybook
Disabled · Open in Storybook

The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.

Prop Type Default Description
buttonClassName string — —
inputClassName string — —
onChange (…) => void — —
openButtonLabel string Open date picker —
prefix ReactNode — Leading in-field adornment, rendered at the left edge of the input.
suffix ReactNode — Trailing in-field adornment, rendered left of the calendar button.
value string — —