Download Latest Version v9.8.0 source code.tar.gz (1.8 MB)
Email in envelope

Get an email when there's a new version of React DayPicker

Home / v9.7.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2025-05-14 2.4 kB
v9.7.0 source code.tar.gz 2025-05-14 1.8 MB
v9.7.0 source code.zip 2025-05-14 2.1 MB
Totals: 3 Items   3.9 MB 0

DayPicker 9.7 introduces a new navLayout prop to customize the layout of the navigation and includes improvements for time zones and localization.

The navLayout prop allows you to change the layout of the navigation buttons in the calendar:

  • With navLayout="around", navigation buttons are displayed on either side of the caption.
  • With navLayout="after", navigation buttons are displayed after the caption. This layout ensures that the focus order respects the visual order, conforming to the WCAG 2.2 guidelines for accessibility.

For more details, see the Navigation Layouts section in the documentation.

:::tsx
<DayPicker navLayout="around" />

DayPicker navigation layout example DayPicker navigation layout example

:::tsx
<DayPicker navLayout="after" />

<picture> DayPicker navigation layout example </picture>

What's Changed

Full Changelog: https://github.com/gpbl/react-day-picker/compare/v9.6.7...v9.7.0

Source: README.md, updated 2025-05-14