syncfusion-blazor-toolkit-calendars

Implements Syncfusion Blazor calendar and date/time picker components with correct binding and timezone handling.

19|8|Updated May 12, 2026
One-click install
npx skills add https://github.com/syncfusion/blazor-toolkit --skill syncfusion-blazor-toolkit-calendars-syncfusion
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: syncfusion-blazor-toolkit-calendars
Source: https://github.com/syncfusion/blazor-toolkit/tree/main/.github/skills/syncfusion-blazor-toolkit-calendars
Command: npx skills add https://github.com/syncfusion/blazor-toolkit --skill syncfusion-blazor-toolkit-calendars-syncfusion

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Generating Blazor date and time input code with SfCalendar, SfDatePicker, SfDateTimePicker, and SfTimePicker often produces subtle bugs: wrong TValue types, UTC versus local timezone drift, double-fired change handlers, and invalid DayCellRendering mutations. This Skill encodes the eight critical rules and per-component references that prevent roughly 95% of reported calendar bugs. ## Core Features & Use Cases - Component selection guidance: Choose the right component and TValue (DateOnly?, DateTime?, never TimeOnly?) for date-only, date-time, or time-only input. - Timezone and format rules: Enforce EnableUtc for Server/Auto render modes, culture-invariant versus culture-aware Format strings, and inclusive Min/Max range restriction in the display timezone. - Per-component references: Detailed API, events, methods, keyboard navigation, styling, and form-integration docs for Calendar, DatePicker, DateTimePicker, and TimePicker. - Use Case: A developer needs a booking form with check-in/check-out DatePickers, disabled weekends via DayCellRendering, and UTC persistence to a database; the Skill supplies the correct binding pattern and gotcha-free code. ## Quick Start Ask the assistant to generate a Blazor page with a Syncfusion SfDatePicker bound to a nullable DateTime with Min/Max range restriction and UTC persistence enabled.

Frequently Asked Questions about syncfusion-blazor-toolkit-calendars

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I bind a Syncfusion Blazor DatePicker to a nullable DateTime?▼

Use SfDatePicker with TValue="DateTime?" and @bind-Value to a DateTime? property. Non-nullable DateTime causes null-reference errors inside EditForm on first render, so always prefer the nullable type for form scenarios.

How do I disable weekends or holidays in a Blazor calendar?▼

Handle the DayCellRendering event and set args.IsDisabled = true for matching dates, or set args.CellClass to apply custom CSS. There is no IsHighlight property; use CellClass and style it yourself.

Does SfTimePicker support TimeOnly values?▼

No, SfTimePicker does not support TimeOnly. Use TValue="DateTime?" with Format="HH:mm" for time-only input, which binds and validates correctly including with [Required] attributes.

Why does my Blazor calendar show the wrong date for users in other timezones?▼

The calendar stores values in the local timezone unless EnableUtc="true" is set. For Server or Auto render modes persisting to a database, always enable UTC and provide Min/Max in the same timezone as the display.

Why does my ValueChanged handler fire twice with @bind-Value?▼

Combining @bind-Value and ValueChanged causes double-firing because ValueChanged runs after the binding commits. Use @bind-Value with @bind-Value:after on .NET 8+ to run post-commit logic exactly once.