Arctic Design
Get StartedFoundationsComponentsExamples
K

DatePicker

Allows users to select a date from an interactive calendar interface for streamlined date input.

Usage
import { useState } from 'react';
import { Box, DatePicker } from '@arctic-kit/snow';
function Demo() {
const [value, setValue] = useState<Date | undefined>(new Date());
return (
<Box sx={{ display: 'flex' }}>
<DatePicker value={value} onChange={setValue} />
</Box>
);
}

API Reference

PropsTypeDefault
disabledboolean | undefined---
labelstring | undefined---
maxDateDate | undefined---
minDateDate | undefined---
onChange((date?: Date | undefined) => void) | undefined---
placeholderstring | undefined---
readOnlyboolean | undefined---
size"small" | "medium" | "large"---
valueDate | undefined---