Leave Yamada UI a star

Star
Yamada UIYamada UIv1.6.4

Calendar

Calendar is a component for displaying or selecting dates in a calendar.

Source@yamada-ui/calendar

Keyboard Navigation

KeyDescriptionState
ArrowUpMoves focus one cell up.-
ArrowDownMoves focus one cell down.-
ArrowLeftMoves focus one cell left. If on first cell, focuses last cell of previous period.-
ArrowRightMoves focus one cell right. If on last cell, focuses first cell of next period.-
HomeFocuses the first cell.-
EndFocuses the last cell.-
Space, EnterActivates the focused cell.-

ARIA Roles and Attributes

ComponentRoles and AttributesUsage
CalendarLabel Internalaria-live="polite"Indicates that it may be updated outside of focus.
CalendarControlPrev Internalaria-labelSets "Go to previous month" if type is "date", otherwise sets "Go to previous year".
CalendarControlNext Internalaria-labelSets "Go to next month" if type is "date", otherwise sets "Go to next year".
Month Internalrole="grid"Indicates that it is a grid.
aria-labelSets the selected month and year, like "October 2024".
aria-multiselectableSets "true" if multiple selection is enabled.
MonthList Internalrole="grid"Indicates that it is a grid.
aria-labelSets the selected year, like "2024".
YearList Internalrole="grid"Indicates that it is a grid.
aria-labelSets the year range, like "From 2021 to 2032".
Button Internalaria-selectedSet to "true" if the item is selected, "false" if not selected.
aria-disabledSet to "true" if the item is disabled.

Edit this page on GitHub

PreviousNativeTableNextLineChart