Based on react-datepicker
Full
import { DateInput } from '@passfort/castle'content_copyCopy
content_copyCopy
live example
Month
import { Month } from '@passfort/castle'content_copyCopy
content_copyCopy
live example
Year
import { Year } from '@passfort/castle'content_copyCopy
content_copyCopy
live example
Range
import { DateRange } from '@passfort/castle'content_copyCopy
content_copyCopy
live example
Locale
Import a locale
locales can be found in date-fns
module
import fr from 'date-fns/locale/fr'content_copyCopy
content_copyCopy
live example