DatePicker
A DatePicker component from the Sigil design system.
Import
import { DatePicker, DateRangePicker } from "@sigil-ui/components";Preview
Usage
<DatePicker>...</DatePicker>Sub-components
This component includes the following parts:
<DateRangePicker>
Props
| Prop | Type | Default | Description |
|---|---|---|---|
value | Date | — | — |
onValueChange | `(date: Date | undefined) => void` | — |
placeholder | string | — | — |
Token integration
| CSS Variable | Purpose |
|---|---|
--s-text-muted | Text muted |