Pickers
DateRangePicker
Bit.BlazorUIDateTimeRangePicker
A BitDateRangePicker is a drop-down calendar for picking a start and an end date, where context such as the day of the week matters. It offers one-click presets, up to three months side by side, range limits and disabled days, an optional time picker, an optional Apply/Cancel step, an inline mode, full keyboard support and any culture or time zone.
Calendar & time
The day grid's layout and header buttons, up to three months side by side, and the start and end time pickers.
Calendar layout
Grid: FirstDayOfWeek, ShowOutsideDays, FixedWeeks (always six rows),
WeekNumberRule, Today (override the current date) and HighlightToday (paint only; screen
readers still hear it). Chrome: ShowMonthPickerAsOverlay (month picker behind the title),
ShowGoToToday and ShowCloseButton.
- FirstDayOfWeek defaults to the Culture's first day; it also decides where Home/End land and how the week numbers are counted.
- ShowOutsideDays (on by default) fills the first and last rows with the neighbouring months' days, which can be picked like any other. FixedWeeks keeps six rows so the callout does not change height while navigating. With more than one month on screen (MonthCount, next section) the outside days are always hidden and six rows always rendered, whatever these two say.
- WeekNumberRule (a
System.Globalization.CalendarWeekRule,FirstFullWeekwhen unset) decides which week is week 1, in the Culture's calendar system; each row shows the week of its first day. ISO 8601 weeks areFirstFourDayWeekwith a Monday start. - Today replaces the current date everywhere the picker uses it: the highlighted cell, the go-to-today button, DisablePast/DisableFuture and the month an empty picker opens on. Useful for tests, demos and apps that run on a business date.
- ShowMonthPickerAsOverlay takes the month picker from beside the day grid and puts it behind the month title, which then toggles it; the callout gets narrower. The picker does this on its own when the viewport is too narrow for both, and whenever ShowTimePicker puts the times beside the calendar.
- The go-to-today button only navigates back to today's month, it selects nothing, and it is disabled while that month is already shown. ShowGoToToday is on by default.
- ShowCloseButton adds a close button to the calendar header; it is never rendered on a Standalone picker, which has nothing to close.
November 2026
M
T
W
T
F
S
S
November 2026
S
M
T
W
T
F
S
November 2026
S
M
T
W
T
F
S
November 2026
#
M
T
W
T
F
S
S
44
45
46
47
48
49
December 2020
S
M
T
W
T
F
S
November 2026
S
M
T
W
T
F
S
November 2026
S
M
T
W
T
F
S
November 2026
S
M
T
W
T
F
S
Multiple months
MonthCount shows up to three months side by side; the preview, selection and arrow keys flow across
them, and a narrow viewport falls back to one. PagedNavigation moves a whole page at a time.
Two months side by side make a range across a month boundary a single move. Values outside 1 to 3 are clamped. The fit is measured each time the callout opens: months that do not fit the viewport's width (the presets column counts too) are dropped from the end, down to one; a Standalone calendar, which never opens, always renders the number asked for. With more than one month the outside days are hidden and every month has six rows, so the grids line up. Clicking a day that is already on screen does not slide the months; the arrow keys scroll only as far as they must to keep the focused day visible.
Without PagedNavigation the arrows move one month, so consecutive views overlap; with it they move by the number of months shown, but never past MinDate/MaxDate. It has no effect with one month. OnMonthChange reports the first month on screen. In a Standalone picker the months are laid out in the page rather than in a callout (see Standalone).
Two months side by side make a range across a month boundary a single move. Values outside 1 to 3 are clamped. The fit is measured each time the callout opens: months that do not fit the viewport's width (the presets column counts too) are dropped from the end, down to one; a Standalone calendar, which never opens, always renders the number asked for. With more than one month the outside days are hidden and every month has six rows, so the grids line up. Clicking a day that is already on screen does not slide the months; the arrow keys scroll only as far as they must to keep the focused day visible.
Without PagedNavigation the arrows move one month, so consecutive views overlap; with it they move by the number of months shown, but never past MinDate/MaxDate. It has no effect with one month. OnMonthChange reports the first month on screen. In a Standalone picker the months are laid out in the page rather than in a callout (see Standalone).
November 2026
S
M
T
W
T
F
S
December 2026
S
M
T
W
T
F
S
November 2026
S
M
T
W
T
F
S
December 2026
S
M
T
W
T
F
S
November 2026
#
S
M
T
W
T
F
S
44
45
46
47
48
49
December 2026
#
S
M
T
W
T
F
S
48
49
50
51
52
1
January 2027
#
S
M
T
W
T
F
S
52
1
2
3
4
5
November 2026
S
M
T
W
T
F
S
December 2026
S
M
T
W
T
F
S
Selected: - → -
November 2026
S
M
T
W
T
F
S
December 2026
S
M
T
W
T
F
S
Time picker
ShowTimePicker adds a start and an end time. TimeFormat picks the 24- or 12-hour clock;
HourStep/MinuteStep snap the spin buttons to a grid; holding a button repeats after
ContinuousSpinDelay, every ContinuousSpinInterval. ShowTimePickerAsOverlay puts the
times behind a toggle, as a narrow callout does on its own.
The start time belongs to StartDate and the end time to EndDate; each has an hour and a minute field that can be typed into or stepped with its spin buttons. Before any day is picked they show 00:00 and 23:59 (or the times of StartingValue), and a day picked later takes the time on screen. An end time set while only the start is picked waits for the end day. When both ends fall on the same day, a start time later than the end time is pulled back to it, so the range never runs backwards.
The start time belongs to StartDate and the end time to EndDate; each has an hour and a minute field that can be typed into or stepped with its spin buttons. Before any day is picked they show 00:00 and 23:59 (or the times of StartingValue), and a day picked later takes the time on screen. An end time set while only the start is picked waits for the end day. When both ends fall on the same day, a start time later than the end time is pulled back to it, so the range never runs backwards.
- TimeFormat:
TwentyFourHours(default) orTwelveHours, which adds AM/PM buttons to each time. It also changes the time pattern of the default DateFormat. - HourStep/MinuteStep (1 by default, a value under 1 counts as 1) lay a grid over the day (from midnight) or the hour (from its top) that the spin buttons and PageUp/PageDown keep to. A number typed into the field is not held to it.
- ContinuousSpinDelay (400 ms) is how long a spin button is held before it repeats, and ContinuousSpinInterval (75 ms) the time between repeats.
- With MaxRange set, a spin button or AM/PM button that would stretch the span past it is disabled, and a typed time that would is refused.
:
:
:
:
:
:
S
M
T
W
T
F
S
:
:
Feedback
Found a mistake, a gap, or something that could be clearer? Every page and every component is one click from its source.