Controlled range
Empty
Native
Controlled range
to
Empty
to
API
| Prop | Required | Type | Default | Description |
|---|---|---|---|---|
| theme | Optional | SiteTheme | atelier | Visual theme. |
| variant | Optional | "native" | "custom" | custom | Custom range calendar (default). Pass variant="native" for two styled `<input type="date">` fields. |
| value | Optional | { start: string; end: string } | — | yyyy-MM-dd range. |
| onChange | Optional | (value) => void | — | Called when both ends are chosen. |
| min / max | Optional | string | — | Optional day bounds. |
| clearable | Optional | boolean | true | Show clear action. |