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

WeekHeader

The WeekHeader component renders the days of the week within the month header.

Example

Su
Mo
Tu
We
Th
Fr
Sa

Props

Prop NameTypeIs RequiredDefault ValueDescription
classNamestringoptionalClass name of root element

Importing

It can be imported as either the base component

import { WeekHeader } 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 { WeekHeader } 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.