
Company News
Socket Named Top Sales Organization by RepVue
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.
modsen-datepicker
Advanced tools
Stylish Date Picker with built-in ToDo-list for React

Here you can see the possibilities of date picker library and options for settings.
$ npm install modsen-datepicker --save
To get started, you need to import the DatePicker or RangeDatePicker component from the modsen-datepicker library.
import { DatePicker, RangeDatePicker } from 'modsen-datepicker';
const App = () => {
return (
<>
<DatePicker />
<RangeDatePicker />
</>
);
};
Getting date from Date Picker:
import { useState } from 'react';
import { DatePicker } from 'modsen-datepicker';
const App = () => {
const [value, setValue] = useState();
return <DatePicker onChange={(date) => setValue(date)} />;
};
| Prop name | Description | Available values | Default value |
|---|---|---|---|
| type | Sets the calendar view | 'month', 'year' | 'month' |
| weekStart | Sets the day on which the week starts | 'monday', 'sunday' | 'monday' |
| minDateValue | Sets the minimum date that will be available in the calendar | String value in format 'mm.dd.yyyy' | '01.01.1900' |
| maxDateValue | Sets the maximum date that will be available in the calendar | String value in format 'mm.dd.yyyy' | '31.12.2025' |
| onChange | Function called when the user enters date in date input or picks date in calendar | (value) => setVAlue(value) | - |
| Prop name | Description | Available values | Default value |
|---|---|---|---|
| startDateValue | Sets default start date | String value in format 'mm.dd.yyyy' | - |
| endDateValue | Sets default end date | String value in format 'mm.dd.yyyy' | - |
| onRangeInputChange | Function called when the user enters date in date input or picks date in calendar | (value) => setVAlue(value) | - |
The date picker is compatible with the latest versions of Chrome, Firefox, and IE10+.
FAQs
React datepicker library
The npm package modsen-datepicker receives a total of 8 weekly downloads. As such, modsen-datepicker popularity was classified as not popular.
We found that modsen-datepicker demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.

Company News
/Security News
Socket is an initial recipient of OpenAI's Cybersecurity Grant Program, which commits $10M in API credits to defenders securing open source software.