{"name":"react-day-picker","version":"9.11.0","author":{"name":"Giampaolo Bellavite","email":"io@gpbl.dev"},"license":"MIT","_id":"react-day-picker@9.11.0","maintainers":[{"name":"gpbl","email":"io@gpbl.dev"},{"name":"gpbl-bot","email":"gpbellavite@gmail.com"}],"homepage":"https://daypicker.dev","bugs":{"url":"https://github.com/gpbl/react-day-picker/issues"},"dist":{"shasum":"3695e1fa1438cded1a02ff55dfe868fdd07aa67a","tarball":"http://registry-npm.ywwl.com/react-day-picker/download/react-day-picker-9.11.0.tgz","fileCount":677,"integrity":"sha512-L4FYOaPrr3+AEROeP6IG2mCORZZfxJDkJI2df8mv1jyPrNYeccgmFPZDaHyAuPCBCddQFozkxbikj2NhMEYfDQ==","signatures":[{"sig":"MEUCIG/kZeOtHG0a2wLFwtHvJjMlbqcCJ8ZQPtwqkASpHedqAiEAy1tTCnfL4C/PEYW4w1g0AgODtUriMFhJJbYignNlJjM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/react-day-picker@9.11.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":794633,"size":110240,"noattachment":false,"key":"/react-day-picker/-/react-day-picker-9.11.0.tgz"},"main":"./dist/cjs/index.js","type":"module","style":"./src/style.css","types":"./dist/cjs/index.d.ts","module":"./dist/esm/index.js","engines":{"node":">=18"},"exports":{".":{"import":{"types":"./dist/esm/index.d.ts","default":"./dist/esm/index.js"},"require":{"types":"./dist/cjs/index.d.ts","default":"./dist/cjs/index.js"}},"./style":{"sass":"./src/style.css"},"./hebrew":{"import":{"types":"./dist/esm/hebrew/index.d.ts","default":"./dist/esm/hebrew/index.js"},"require":{"types":"./dist/cjs/hebrew/index.d.ts","default":"./dist/cjs/hebrew/index.js"}},"./jalali":{"import":{"types":"./dist/esm/jalali.d.ts","default":"./dist/esm/jalali.js"},"require":{"types":"./dist/cjs/jalali.d.ts","default":"./dist/cjs/jalali.js"}},"./locale":{"import":{"types":"./dist/esm/locale.d.ts","default":"./dist/esm/locale.js"},"require":{"types":"./dist/cjs/locale.d.ts","default":"./dist/cjs/locale.js"}},"./persian":{"import":{"types":"./dist/esm/persian.d.ts","default":"./dist/esm/persian.js"},"require":{"types":"./dist/cjs/persian.d.ts","default":"./dist/cjs/persian.js"}},"./buddhist":{"import":{"types":"./dist/esm/buddhist/index.d.ts","default":"./dist/esm/buddhist/index.js"},"require":{"types":"./dist/cjs/buddhist/index.d.ts","default":"./dist/cjs/buddhist/index.js"}},"./ethiopic":{"import":{"types":"./dist/esm/ethiopic/index.d.ts","default":"./dist/esm/ethiopic/index.js"},"require":{"types":"./dist/cjs/ethiopic/index.d.ts","default":"./dist/cjs/ethiopic/index.js"}},"./examples":{"types":"./examples/index.d.ts","import":"./examples/index.ts"},"./style.css":{"style":{"default":"./src/style.css"},"import":{"types":"./src/style.module.css.d.ts","default":"./src/style.css"},"require":{"types":"./src/style.module.css.d.ts","default":"./src/style.css"}},"./package.json":{"import":"./package.json","default":"./package.json","require":"./package.json"},"./style.module":{"sass":"./src/style.module.css"},"./src/style.css":{"style":{"default":"./src/style.css"},"import":{"types":"./src/style.module.css.d.ts","default":"./src/style.css"},"require":{"types":"./src/style.module.css.d.ts","default":"./src/style.css"}},"./dist/style.css":{"style":{"default":"./src/style.css"},"import":{"types":"./src/style.module.css.d.ts","default":"./src/style.css"},"require":{"types":"./src/style.module.css.d.ts","default":"./src/style.css"}},"./style.module.css":{"style":{"default":"./src/style.module.css"},"import":{"types":"./src/style.module.css.d.ts","default":"./src/style.module.css"},"require":{"types":"./src/style.module.css.d.ts","default":"./src/style.module.css"}},"./src/style.module.css":{"style":{"default":"./src/style.module.css"},"import":{"types":"./src/style.module.css.d.ts","default":"./src/style.module.css"},"require":{"types":"./src/style.module.css.d.ts","default":"./src/style.module.css"}},"./dist/style.module.css":{"style":{"default":"./src/style.module.css"},"import":{"types":"./src/style.module.css.d.ts","default":"./src/style.module.css"},"require":{"types":"./src/style.module.css.d.ts","default":"./src/style.module.css"}}},"funding":{"url":"https://github.com/sponsors/gpbl","type":"individual"},"gitHead":"aeb782b9f0f27f70424e8bf13997e92b9ff08364","scripts":{"lint":"biome check","test":"jest --selectProjects examples --selectProjects src","build":"pnpm build:cjs && pnpm build:esm && pnpm build:css","format":"prettier -w \"**/*.{md,mdx,ts,tsx}\"","build:cjs":"tsc --project tsconfig-cjs.json && echo '{ \"type\": \"commonjs\" }' > dist/cjs/package.json","build:css":"./scripts/build-css.sh ./src/style.css ./src/style.module.css","build:esm":"tsc --project tsconfig-esm.json","typecheck":"tsc --project ./tsconfig.json --noEmit","prepublish":"pnpm build","test-watch":"jest --watch","test:build":"jest --selectProjects examples/built","typecheck-watch":"tsc --project ./tsconfig.json --noEmit --watch"},"_npmUser":{"name":"gpbl","email":"io@gpbl.dev"},"repository":{"url":"git+https://github.com/gpbl/react-day-picker.git","type":"git"},"_npmVersion":"10.8.1","description":"Customizable Date Picker for React","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"20.16.0","dependencies":{"date-fns":"^4.1.0","@date-fns/tz":"^1.4.1","date-fns-jalali":"^4.1.0-0"},"_hasShrinkwrap":false,"packageManager":"pnpm@9.15.9","devDependencies":{"jest":"^30.0.5","react":"^19.1.1","tslib":"^2.8.1","ts-node":"^10.9.2","mockdate":"^3.0.5","prettier":"^3.6.2","@swc/core":"^1.13.3","@swc/jest":"^0.2.39","react-dom":"^19.1.1","typescript":"^5.9.2","@jest/types":"^30.0.5","@types/jest":"^30.0.0","@types/node":"^24.3.0","@types/react":"^19.1.1","@biomejs/biome":"2.2.0","@types/react-dom":"^19.1.7","jest-transform-css":"^6.0.3","@testing-library/dom":"^10.4.1","prettier-plugin-jsdoc":"^1.3.3","@radix-ui/react-select":"^2.2.6","@testing-library/react":"^16.3.0","jest-environment-jsdom":"^30.0.5","typescript-css-modules":"^1.0.4","@testing-library/jest-dom":"^6.7.0","@testing-library/user-event":"^14.6.1"},"peerDependencies":{"react":">=16.8.0"},"_npmOperationalInternal":{"tmp":"tmp/react-day-picker_9.11.0_1758410892861_0.8576421253099484","host":"s3://npm-registry-packages-npm-production"},"readme":"# React DayPicker\n\nDayPicker is a [React](https://react.dev) component for creating date pickers, calendars, and date inputs for web applications.\n\nYou are reading the README for `react-day-picker`, the legacy DayPicker package name. It remains available for compatibility and exposes the same DayPicker API in v10, but new projects should use `@daypicker/react`.\n\n## Documentation\n\nSee **[daypicker.dev](https://daypicker.dev)** for guides, examples, and API reference, or read [the v10 docs in the repository](https://github.com/gpbl/react-day-picker/blob/main/apps/website/docs/start.mdx).\n\n<picture>\n  <source media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/gpbl/react-day-picker/main/apps/website/static/img/screenshot-dark.png\" />\n  <source media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/gpbl/react-day-picker/main/apps/website/static/img/screenshot-light.png\" />\n  <img width=\"460\" src=\"https://raw.githubusercontent.com/gpbl/react-day-picker/main/apps/website/static/img/screenshot.png\"  alt=\"Screenshot of DayPicker displaying the September 2025 calendar, with the date range from the 17th to the 20th selected.\" />\n</picture>\n\n## Features\n\n- 🛠 Extensive set of props for [customizing](https://daypicker.dev/docs/customization) the calendar.\n- 🎨 Minimal design that can be [easily styled](https://daypicker.dev/docs/styling) with CSS or any CSS framework.\n- 📅 Supports [selections](https://daypicker.dev/docs/selection-modes) of single days, multiple days, ranges of days, or [custom selections](https://daypicker.dev/guides/custom-selections).\n- 🌍 Can be [localized](https://daypicker.dev/docs/localization) into any language and [time zones](https://daypicker.dev/docs/time-zone).\n- 🌐 Support for [ISO 8601](http://daypicker.dev/localization/iso-and-broadcast#iso-8601-calendar) and [broadcast](http://daypicker.dev/localization/iso-and-broadcast#broadcast-calendar) calendars, plus [Persian](http://daypicker.dev/localization/persian), [Hijri](http://daypicker.dev/localization/hijri), [Buddhist (Thai)](http://daypicker.dev/localization/buddhist), [Ethiopic](http://daypicker.dev/localization/ethiopic), and [Hebrew](http://daypicker.dev/localization/hebrew) calendars through `@daypicker/*` add-on packages.\n- 🦮 Complies with WCAG 2.1 AA requirements for [accessibility](https://daypicker.dev/guides/accessibility).\n- ⚙️ [Customizable components](https://daypicker.dev/guides/custom-components) to extend the rendered elements.\n- 🔤 Easy integration [with input fields](https://daypicker.dev/guides/input-fields).\n\nDayPicker is written in TypeScript and compiled to CommonJS and ESM. It relies on [date-fns](https://date-fns.org) for date manipulation and formatting.\n\n## Installation\n\nInstall the legacy DayPicker package name:\n\n```bash\nnpm install react-day-picker\n```\n\nFor new projects, prefer the `@daypicker/react` package name:\n\n```bash\nnpm install @daypicker/react\n```\n\n<a href=\"https://www.npmjs.com/package/react-day-picker\"><img src=\"https://img.shields.io/npm/v/react-day-picker\" alt=\"npm version\"/></a> <img src=\"https://img.shields.io/npm/dm/react-day-picker.svg\" alt=\"npm downloads\"/> <img src=\"https://img.shields.io/bundlephobia/minzip/react-day-picker\" alt=\"Min gzipped size\"/>\n\n## Example\n\n```tsx\nimport { useState } from \"react\";\n\nimport { DayPicker } from \"react-day-picker\";\nimport \"react-day-picker/style.css\";\n\nfunction MyDatePicker() {\n  const [selected, setSelected] = useState<Date>();\n\n  return (\n    <DayPicker\n      mode=\"single\"\n      selected={selected}\n      onSelect={setSelected}\n      footer={\n        selected ? `Selected: ${selected.toLocaleDateString()}` : \"Pick a day.\"\n      }\n    />\n  );\n}\n```\n\n## Compatibility\n\nDayPicker is compatible with React 16.8 and later.\n\n## License\n\nDayPicker is released under the [MIT License](https://daypicker.dev/license).\n\n## Community\n\nAsk for help and share your experience with DayPicker:\n\n- 💬 [Discussion forums](https://github.com/gpbl/react-day-picker/discussions) - Get support and provide feedback.\n- 🪳 [Report an issue](https://github.com/gpbl/react-day-picker/issues/new/choose) - Report bugs or request features.\n\n## Sponsors\n\nThank you to everyone supporting DayPicker - your sponsorship keeps this project maintained and evolving.\n\n<p>\n  <a href=\"https://github.com/CHECK24\" title=\"CHECK24\"><img src=\"https://github.com/CHECK24.png?size=64\" alt=\"CHECK24\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/wilsonadenuga\" title=\"wilsonadenuga\"><img src=\"https://github.com/wilsonadenuga.png?size=64\" alt=\"wilsonadenuga\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/severinlandolt\" title=\"severinlandolt\"><img src=\"https://github.com/severinlandolt.png?size=64\" alt=\"severinlandolt\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/syntaxfm\" title=\"syntaxfm\"><img src=\"https://github.com/syntaxfm.png?size=64\" alt=\"syntaxfm\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/thnxdev\" title=\"thnxdev\"><img src=\"https://github.com/thnxdev.png?size=64\" alt=\"thnxdev\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/katyabilokur\" title=\"katyabilokur\"><img src=\"https://github.com/katyabilokur.png?size=64\" alt=\"katyabilokur\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/bedandbreakfasteu\" title=\"bedandbreakfasteu\"><img src=\"https://github.com/bedandbreakfasteu.png?size=64\" alt=\"bedandbreakfasteu\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/Thinkmill\" title=\"Thinkmill\"><img src=\"https://github.com/Thinkmill.png?size=64\" alt=\"Thinkmill\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/AlexKDawson\" title=\"AlexKDawson\"><img src=\"https://github.com/AlexKDawson.png?size=64\" alt=\"AlexKDawson\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/dimitur2204\" title=\"dimitur2204\"><img src=\"https://github.com/dimitur2204.png?size=64\" alt=\"dimitur2204\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/indeedeng\" title=\"indeedeng\"><img src=\"https://github.com/indeedeng.png?size=64\" alt=\"indeedeng\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/flexbox\" title=\"flexbox\"><img src=\"https://github.com/flexbox.png?size=64\" alt=\"flexbox\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/github\" title=\"github\"><img src=\"https://github.com/github.png?size=64\" alt=\"github\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n  <a href=\"https://github.com/tjfred35\" title=\"tjfred35\"><img src=\"https://github.com/tjfred35.png?size=64\" alt=\"tjfred35\" width=\"48\" height=\"48\" style=\"border-radius:50%; margin: 4px;\" /></a>\n</p>\n\n- 🎗️ Become a sponsor: https://github.com/sponsors/gpbl\n","publish_time":1758410893065,"_cnpm_publish_time":1758410893065,"dist-tags":{"latest":"10.0.2","legacy-v8":"8.10.2","next":"10.0.0-next.6"}}