Skip to content
Razor catalogue

On this page

@addTagHelper *, Webority.Ui.Razor

Picking a day

The navigator is open on the page. A person moves between months and picks a day.

November 2026

Keyboard

Tab reaches one day. Arrow keys move between days, Page Up and Page Down move between months, and Home and End go to the week's ends.

November 2026

Markers and a clash

November 2026

Tinted range

November 2026

Week starts

Weeks start on Monday by default. Set first-day to start on Sunday.

November 2026

Guidance

What to do, and what to avoid.

Use it when

  • A page shows an open month navigator beside a list, with days that carry a busy or clash marker.
  • The Agenda view's side column of the team calendar.

Reach for something else when

  • A person picks a date from a field, in a popover. → AppDatePicker
  • A full calendar of events. → AppCalendar
  • A range picked by a person. → AppDateRangePicker

Put the reason for a marker in its label

Do
November 2026

The label is read with the date, so a marker that says only 'busy' tells a screen reader nothing.

Avoid
November 2026

A marker with only a tone and no label tells a screen reader nothing. A clash is a warning, never a block: show it and leave the day open.

Reference

Try every prop, read the full list, and check keyboard and screen reader behaviour.

Monday Sunday
November 2026
React, generated from the controls
<AppMiniCalendar label="Team leave" month="2026-11" value="2026-11-24" rangeStart="2026-11-23" rangeEnd="2026-11-27" onChange={setValue} onMonthChange={setMonth} />
Razor, the same props
<app-mini-calendar label="Team leave" month="2026-11" value="2026-11-24" range-start="2026-11-23" range-end="2026-11-27"></app-mini-calendar>

8 props. The 5 most used come first.

Used on most screens 5 props

PropTypeDefaultDescription
monthdefault the current month in IST string the current month in IST The month shown, as yyyy-MM.
valuedefault - DateOnly - The selected day, as yyyy-MM-dd.
range-startdefault - DateOnly - The first day of the tinted range.
range-enddefault - DateOnly - The last day of the tinted range.
markersdefault - IEnumerable<AppMiniCalendarMarker> - Days that carry a marker. A warning tone is larger, for a clash; labels join in the day's accessible name.

Less common 3 props

PropTypeDefaultDescription
first-daydefault Monday Monday | Sunday Monday The first day of the week.
labeldefault miniCalendar.label, Calendar string miniCalendar.label, Calendar The accessible name of the navigator.
classdefault - string - Classes for the root element.

Screen reader

5 notes
  • Each day is a button whose accessible name is the full date, followed by the marker labels.
  • The selected day is announced with aria-pressed, and today with aria-current.
  • The previous and next month buttons are named from the shared date picker text.
  • Arrow keys move between days, Page Up and Page Down move between months, and Home and End go to the start and end of the week row.
  • One day is in the tab order: the selected day, else today, else the first day of the month.

Do and avoid

1 pairs

Put the reason for a marker in its label

Do
November 2026

The label is read with the date, so a marker that says only 'busy' tells a screen reader nothing.

Avoid
November 2026

A marker with only a tone and no label tells a screen reader nothing. A clash is a warning, never a block: show it and leave the day open.