use-date-input - Build Your Own Date Picker
Getting StartedStateThemingCompositionDate FrameworksLocalization
Components
Hooks
AnimatedGroupAnimatedMonthGroupCalendarCalendarProviderClickOutsideDayDayOfWeekHeaderHomeMonthMonthGroupExamplePropsImportingPopperRootWeekWeekHeaderuseCalendarDispatchuseCalendarPropsuseCalendarStateuseDateAPIuseDateInputuseDateRangeInput

MonthGroup

The MonthGroup components renders all the visible calendar Month components.

Example

June
Su
Mo
Tu
We
Th
Fr
Sa
303112345
6789101112
13141516171819
20212223242526
27282930123
45678910
July
Su
Mo
Tu
We
Th
Fr
Sa
27282930123
45678910
11121314151617
18192021222324
25262728293031
1234567

Props

Prop NameTypeIs RequiredDefault ValueDescription
classNamestringoptionalClass name of root element
visibleFromDateobjectoptionalVisible from date

Importing

It can be imported as either the base component

import { MonthGroup } from "@use-date-input/core";

or as an overridable component that can be replaced through the components prop in CalendarProvider.
Refer to How to replace UI components.

import { CustomisableMonthGroup } from "@use-date-input/core";

If providing your own component, it can be useful to import the base component and use it within your composition.