Tesserae

WeekPicker

Description

A control to select an ISO week number

WeekPicker lets users choose a specific ISO week within a year using the browser's native week-input widget. It surfaces the selection as a typed (year, weekNumber) tuple.

It is well-suited for scheduling, sprint planning, payroll cycles, or any reporting context that aligns to week boundaries rather than individual days or months.

API reference

class

WeekPicker

public class WeekPicker : MomentPickerBase<WeekPicker, (int year, int weekNumber)>

A WeekPicker component that allows users to select a week using a native HTML week input.

Constructors

Constructor
WeekPicker
public WeekPicker((int year, int weekNumber)? week) : base("week", week.HasValue ? FormatWeek(week.Value) : string.Empty)

Initializes a new instance of the WeekPicker class.

Parameters

week
The initial week value (year and week number).

Properties

Property
WeekPicker.Week
public (int year, int weekNumber) Week

Gets the selected week (year and week number).

Samples

Basic WeekPicker

With Min / Max Constraints

Interactive Selection with Live Feedback

Selecting a week updates the displayed label immediately via the OnChange event — useful as a starting point for hooking the picker into report filters, sprint summaries, or any other downstream UI.

See also

Referenced by

© 2026 Tesserae. All rights reserved.