sigilUI

Date Picker

Choose a date from a calendar popover.

@sigil-ui/componentsReact

Preview

Live preview Interactive

Import

import { DatePicker, DateRangePicker } from "@sigil-ui/components";

Usage

<DatePicker placeholder="Pick a date" />

Sub-components

This component includes the following parts:

  • <DateRangePicker>

Props

PropTypeDefaultDescription
valueDate—The current controlled value.
defaultValueDate—Initial value when the component manages its own state.
onValueChange(date: Date | undefined) => void—Called when the user changes the value.
placeholderstring—Hint shown before a value is entered.

Token integration

CSS VariablePurpose
--s-text-mutedText muted