HomePluginsToolsWorkflowAboutContact
GetSet

Premium UI/UX layout engines, customizable micro-interaction plugins, and high-performance components for modern web developers.

Plugins

  • Carousel
  • Select
  • Zoom
  • FlexoGrid
  • Sortable
  • Modal
  • Drawer
  • Tooltip
  • Popover
  • Toast
  • ContextMenu
  • Tabs
  • Accordion
  • Reveal
  • Autocomplete
  • Tags
  • Range
  • DatePicker
  • Upload
  • Cropper
  • Table
  • Tree
  • Editor

Company

  • Home
  • Plugins
  • Developer Tools
  • Showcase
  • Our Process
  • About Us
  • Contact

Policies

  • Terms and Conditions
  • Privacy Policy
  • Accessibility Policy
  • Cookie Policy

© 2026 GetSet. All rights reserved.

Crafted for frontend excellence.

Your Bundle

Your bundle is empty

Add plugins from the catalog to build one combined CDN link — like picking font families.

Browse plugins
Forms Plugin

GS DatePicker

Date picker with single/range/multiple selection, time, min/max bounds, disabled dates, i18n, presets, multi-month view and keyboard nav.

Latest: v1.0.2
Downloads last month: 146
Visit Demo Website

Install Package

npm i @get-set/gs-datepicker
or via CDN
<link rel="stylesheet" href="https://cdn.get-set.it/gs-datepicker/latest/gs-datepicker.min.css">
<script src="https://cdn.get-set.it/gs-datepicker/latest/gs-datepicker.min.js"></script>
Interactive Playground

Live Sandbox

DatePicker.jsx
1
2
3
4
5
6
7
8
9
import DatePicker from '@get-set/gs-datepicker';

export default function App() {
  return (
    <DatePicker>
      <div className="content">Your DatePicker content</div>
    </DatePicker>
  );
}
Live Preview

Click the field to open the calendar.

Options

Configuration Values

Reference?Reference option.
Mode?Selection mode. Default: 'single'.
Default Value?Initial value: a date, an array (multiple), or a [start,end] tuple (range).
Min Date?Earliest selectable date (inclusive).
Max Date?Latest selectable date (inclusive).
Format?Tokenized display format.
Range Separator?Separator between the two dates in `range` mode.
Multiple Separator?Separator between dates in `multiple` mode.
Locale?Full locale object, or a built-in BCP-47-ish key ('en', 'fr', 'de', 'es', 'ar').
First Day Of Week?Override the locale's first day of week (0 = Sunday … 6 = Saturday).
Display?Popup (anchored to the input) or inline (always-open).
Number Of Months?Number of side-by-side months.
Year Range?Range of years offered in the year dropdown: [min, max] or +/- span.
Position?Popup placement (auto-flips when 'auto').
Placeholder?Placeholder text for the input.
Animation?Open/close animation name.
Animation Duration?Animation duration in ms.
Animation Easing?CSS easing for the open/close animation.
Theme?Visual theme. `auto` follows prefers-color-scheme.
Accent Color?Accent color (CSS var --gsd-accent) for the selected / today markers.
Size?Control + calendar size.
Class Name?Extra class name applied to the calendar root.

Feature Flags

API Specifications

OptionTypeDefaultDescription
referencestringnoneReference.
modeGSDatePickerMode'single'Selection mode. Default: 'single'.
defaultValueDateInput | DateInput[] | nullnoneInitial value: a date, an array (multiple), or a [start,end] tuple (range).
minDateDateInputnoneEarliest selectable date (inclusive).
maxDateDateInputnoneLatest selectable date (inclusive).
disabledDatesDateInput[] | ((date: Date) => boolean)noneDisabled dates: an explicit list, or a predicate `(date) => boolean`.
disabledDaysOfWeeknumber[]noneDisabled weekdays: array of 0–6 (0 = Sunday).
formatstring'YYYY-MM-DD'Tokenized display format. Tokens: `YYYY YY MM M DD D HH H hh h mm m ss s A a MMMM MMM dddd ddd`. Default: 'YYYY-MM-DD'.
rangeSeparatorstring' – 'Separator between the two dates in `range` mode. Default: ' – '.
multipleSeparatorstring', 'Separator between dates in `multiple` mode. Default: ', '.
localeGSDatePickerLocale | stringnoneFull locale object, or a built-in BCP-47-ish key ('en', 'fr', 'de', 'es', 'ar').
firstDayOfWeeknumbernoneOverride the locale's first day of week (0 = Sunday … 6 = Saturday).
timeboolean | GSDatePickerTimeOptionsfalseEnable the time picker. `true` = hours + minutes; object for fine control.
displayGSDatePickerDisplay'popup'Popup (anchored to the input) or inline (always-open). Default: 'popup'.
numberOfMonthsnumber1Number of side-by-side months. Default: 1.
weekNumbersbooleanfalseShow ISO week numbers in a leading column. Default: false.
showOtherMonthsbooleantrueShow leading/trailing days from adjacent months. Default: true.
selectOtherMonthsbooleanfalseAllow selecting leading/trailing days (requires `showOtherMonths`). Default: false.
showDropdownsbooleantrueShow the year + month dropdown navigation. Default: true.
yearRangenumber | [number, number]10Range of years offered in the year dropdown: [min, max] or +/- span. Default: 10.
presetsboolean | Array<GSDatePickerPresetId | GSDatePickerPreset>falseBuilt-in preset ids, custom presets, or `true` for the sensible default set.
positionGSDatePickerPosition'auto'Popup placement (auto-flips when 'auto'). Default: 'auto'.
closeOnSelectbooleannoneClose the popup after a (final) selection. Default: true (single), false (range/multiple).
openOnFocusbooleantrueOpen the popup on input focus. Default: true.
readOnlybooleanfalseRender the input read-only (typing disabled, picker only). Default: false.
allowInputbooleantrueParse user-typed text back into a date. Default: true.
clearablebooleantrueShow a clear (×) button on the control. Default: true.
placeholderstringnonePlaceholder text for the input.
animationGSDatePickerAnimation | false'scale'Open/close animation name. `false` disables motion. Default: 'scale'.
animationDurationnumber200Animation duration in ms. Default: 200.
animationEasingstring'cubic-bezier(.34,1.4,.5,1)'CSS easing for the open/close animation.
reducedMotion'auto' | boolean'auto'Honor prefers-reduced-motion. 'auto' | true | false. Default: 'auto'.
themeGSDatePickerTheme'auto'Visual theme. `auto` follows prefers-color-scheme. Default: 'auto'.
accentColorstringnoneAccent color (CSS var --gsd-accent) for the selected / today markers.
sizeGSDatePickerSize'md'Control + calendar size. Default: 'md'.
rtlbooleanfalseRight-to-left layout. Default: false.
customClassGSDatePickerCustomClassnonePer-part class overrides.
classNamestringnoneExtra class name applied to the calendar root.

Technical Features

Range & Multiple

Pick a day, a range, or many dates.

Time Support

Optional time selection alongside dates.

Presets

Quick shortcuts like “Last 7 days”.

i18n

Localized months, weekdays and first-day.