MCPInstall

syncfusion-blazor-calendars

Comprehensive guide for implementing Syncfusion Blazor calendar components including Calendar, DatePicker, DateRangePicker, DateTimePicker, and TimePicker. Use this when building date selection interfaces, date range selection, date/time input, calendar displays, date constraints, formatting, globalization, and accessible calendar experiences in Blazor applications. Covers all calendar components from Syncfusion.Blazor.Calendars package.

Installs
375
Last 24h
—
Trending rank
—
Security
Not audited

Install

Works with every agent the skills CLI supports.

npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-calendars
  1. 01

    Install

    Run the command in your project. The CLI asks which agents to install for.

  2. 02

    Describe the task

    Ask your agent for something this skill covers. It loads syncfusion-blazor-calendars automatically when relevant.

  3. 03

    Review the result

    The agent follows the SKILL.md steps, scripts and references bundled with the skill.

SKILL.md

The instructions your agent reads when the skill is triggered.

Implementing Syncfusion Blazor Calendars

Calendar

The Calendar component is a lightweight, feature-rich date selection component that provides flexible date picking, multiple views (month/year/decade), date range constraints, localization, and accessibility compliance. Use this skill whenever you need to implement date selection, calendar display, or date-based UI interactions.

When to Use This Skill

Use this skill when:

  • Building date pickers, calendar widgets, or date selection interfaces
  • Adding date range constraints (Min/Max dates)
  • Implementing multi-month or drill-down date selection (Year/Decade views)
  • Handling date value changes and events
  • Styling calendars or customizing appearance
  • Supporting international date formats and RTL layouts
  • Creating accessible calendar interfaces with keyboard navigation

Related components:

  • DatePicker (date input with calendar dropdown)
  • DateRangePicker (date range selection)
  • DateTimePicker (date + time selection)
  • Scheduler (complex date-based scheduling)

Component Overview

FeatureDetails
ViewsMonth (default), Year, Decade - hierarchical drill-down navigation
SelectionSingle date, date ranges (Min/Max), multi-select
Data TypesDateTime, DateTime?, DateOnly (.NET 6+)
BindingOne-way, two-way (@bind-Value), dynamic
EventsValueChange, OnRenderDayCell, Created, Destroyed, Navigated
LocalizationMulti-language, RTL support, locale customization
AccessibilityWCAG 2.2 AA, keyboard navigation, screen reader support
StylingCSS customization, theme integration, special date highlights

Documentation & Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation & NuGet packages
  • Web & Server app setup
  • Blazor namespaces & service registration
  • Basic calendar implementation
  • Min/Max date constraints

Calendar Views & Navigation

📄 Read: references/calendar-views.md

  • Month, Year, Decade views
  • Start & Depth properties
  • View restrictions & drill-down navigation
  • Restricting date selection depth

Date Selection & Data Binding

📄 Read: references/date-selection-binding.md

  • Value property & date binding
  • One-way vs two-way binding (@bind-Value)
  • DateOnly support (.NET 6+)
  • Dynamic value changes
  • Date range constraints

Events & Interactions

📄 Read: references/events-handling.md

  • ValueChange event (date selection)
  • Selected/DeSelected events (multi-selection)
  • OnRenderDayCell event (custom rendering)
  • Created & Destroyed lifecycle events
  • Navigated event (view changes)
  • Event args & reactive patterns
  • Using CalendarEvents child component

Styling & Customization

📄 Read: references/styling-appearance.md

  • CSS customization patterns
  • Background colors, borders, hover states
  • Day cell styling
  • Header & title customization
  • Today button & selected date styling
  • Special date highlighting

Localization & Globalization

📄 Read: references/localization-globalization.md

  • Locale support & language files
  • Right-to-Left (RTL) layouts
  • Islamic calendar & custom calendars
  • Week customization (first day of week)
  • Date format localization

Accessibility & Keyboard Navigation

📄 Read: references/accessibility.md

  • WCAG 2.2 AA compliance
  • Screen reader support (WAI-ARIA)
  • Keyboard navigation shortcuts
  • Focus management & ARIA attributes

Advanced Features & Patterns

📄 Read: references/advanced-features.md

  • Show/hide other month dates
  • Custom cell rendering patterns
  • Multiple date selection
  • Week number display
  • Performance optimization
  • Common integration patterns

Quick Start Example

@using Syncfusion.Blazor.Calendars

<!-- Basic Calendar -->
<SfCalendar TValue="DateTime?" Value="@SelectedDate"></SfCalendar>

<!-- Calendar with Date Range -->
<SfCalendar TValue="DateTime?" 
    Value="@SelectedDate" 
    Min="@MinDate" 
    Max="@MaxDate">
</SfCalendar>

<!-- Calendar with Value Change Event -->
<SfCalendar TValue="DateTime?" @bind-Value="@SelectedDate">
    <CalendarEvents TValue="DateTime?" ValueChange="@OnDateChanged"></CalendarEvents>
</SfCalendar>

<!-- Multi-Selection Calendar -->
<SfCalendar TValue="DateTime?" 
    IsMultiSelection="true"
    @bind-Values="@SelectedDates">
    <CalendarEvents TValue="DateTime?" 
        Selected="@OnDateSelected"
        DeSelected="@OnDateDeselected">
    </CalendarEvents>
</SfCalendar>

@code {
    public DateTime? SelectedDate { get; set; } = DateTime.Now;
    public DateTime[] SelectedDates { get; set; } = new DateTime[] { };

    private void OnDateChanged(ChangedEventArgs<DateTime?> args)
    {
        SelectedDate = args.Value;
        // Handle date change
    }
    
    private void OnDateSelected(SelectedEventArgs<DateTime?> args)
    {
        // Handle date added to selection
    }
    
    private void OnDateDeselected(DeSelectedEventArgs<DateTime?> args)
    {
        // Handle date removed from selection
    }
}

Common Patterns

Pattern 1: Date Range Selection

Define Min and Max boundaries to constrain user selection:

<SfCalendar TValue="DateTime?" Value="@SelectedDate" 
    Min="@MinDate" Max="@MaxDate"></SfCalendar>

Pattern 2: Two-Way Data Binding

Keep Calendar in sync with component state:

<p>Selected: @SelectedDate</p>
<SfCalendar TValue="DateTime?" @bind-Value="@SelectedDate"></SfCalendar>

Pattern 3: Custom Cell Rendering

Highlight or customize specific date cells during render:

<SfCalendar TValue="DateTime?">
    <CalendarEvents TValue="DateTime?" OnRenderDayCell="@CustomizeCell"></CalendarEvents>
</SfCalendar>

Pattern 4: View Restrictions

Limit navigation to specific view levels (e.g., Year → Month only):

<SfCalendar TValue="DateTime?" 
    Start="CalendarView.Year" 
    Depth="CalendarView.Month"></SfCalendar>

Pattern 5: Localization

Render calendar in specific language/culture:

<SfCalendar TValue="DateTime?" EnableRtl="false"></SfCalendar>

Key Props & When to Use

PropertyTypePurposeExample
ValueTValueSelected date (one-way binding)Value="@SelectedDate"
@bind-ValueTValueTwo-way data binding@bind-Value="@SelectedDate"
ValuesDateTime[]Multiple selected dates (multi-select mode)Values="@SelectedDates"
@bind-ValuesDateTime[]Two-way binding for multi-selection@bind-Values="@SelectedDates"
IsMultiSelectionboolEnable multiple date selectionIsMultiSelection="true"
MinDateTimeEarliest selectable date (inclusive)Min="@minSelectableDate"
MaxDateTimeLatest selectable date (inclusive)Max="@maxSelectableDate"
StartCalendarViewInitial view (Month/Year/Decade)Start="CalendarView.Year"
DepthCalendarViewDeepest view level for drillingDepth="CalendarView.Month"
ShowTodayButtonboolDisplay "Today" button in footerShowTodayButton="true"
CalendarModeCalendarTypeCalendar system (Gregorian/Islamic)CalendarMode="CalendarType.Islamic"
WeekRuleCalendarWeekRuleWeek numbering calculation ruleWeekRule="CalendarWeekRule.FirstDay"
DayHeaderFormatDayHeaderFormatsDay header display formatDayHeaderFormat="DayHeaderFormats.Short"
EnableRtlboolRight-to-left layoutEnableRtl="true"
WeekNumberboolDisplay week numbers in calendarWeekNumber="true"
FirstDayOfWeekintFirst day (0=Sunday, 1=Monday)FirstDayOfWeek="1"
CssClassstringCustom CSS class for stylingCssClass="custom-calendar"
EnabledboolEnable/disable componentEnabled="false"

Common Use Cases

  1. Appointment Booking: Calendar with date range (available days) + event handling
  2. Date Filter: Multi-view calendar for drilling down to specific date
  3. Deadline Selection: Min/Max constraints to valid date ranges
  4. Report Viewing: Year/Month view for period selection
  5. International App: RTL + locale support for multi-language UIs
  6. Accessible Forms: Keyboard-navigable date input with screen reader support

Working with Events

All calendar components use child event components to declare event handlers. This approach provides type safety and clear separation of concerns.

Event Child Components

  • Calendar: Use <CalendarEvents> child component
  • DatePicker: Use <DatePickerEvents> child component
  • DateRangePicker: Use <DateRangePickerEvents> child component
  • DateTimePicker: Use <DateTimePickerEvents> child component
  • TimePicker: Use <TimePickerEvents> child component

Example: Calendar with Events

<SfCalendar TValue="DateTime?" @bind-Value="@SelectedDate">
    <CalendarEvents TValue="DateTime?" 
        ValueChange="@OnValueChanged"
        OnRenderDayCell="@OnDayCellRender"
        Navigated="@OnNavigated">
    </CalendarEvents>
</SfCalendar>

@code {
    private DateTime? SelectedDate { get; set; }
    
    private void OnValueChanged(ChangedEventArgs<DateTime?> args)
    {
        Console.WriteLine($"Date changed: {args.Value}");
    }
    
    private void OnDayCellRender(RenderDayCellEventArgs args)
    {
        // Disable weekends
        if (args.Date.DayOfWeek == DayOfWeek.Saturday || args.Date.DayOfWeek == DayOfWeek.Sunday)
        {
            args.IsDisabled = true;
        }
    }
    
    private void OnNavigated(NavigatedEventArgs args)
    {
        Console.WriteLine($"Navigated to: {args.View}");
    }
}

Common Event Patterns

Pattern 1: Value Change with Validation

<SfDatePicker TValue="DateTime?" @bind-Value="@OrderDate">
    <DatePickerEvents TValue="DateTime?" ValueChange="@ValidateAndUpdate"></DatePickerEvents>
</SfDatePicker>

@code {
    private DateTime? OrderDate { get; set; }
    
    private void ValidateAndUpdate(ChangedEventArgs<DateTime?> args)
    {
        if (args.Value.HasValue && args.Value.Value > DateTime.Now.AddMonths(6))
        {
            // Show error - date too far in future
            OrderDate = DateTime.Now;
        }
        else
        {
            OrderDate = args.Value;
        }
    }
}

Pattern 2: Popup Lifecycle Management

<SfDateTimePicker TValue="DateTime?" @bind-Value="@AppointmentTime">
    <DateTimePickerEvents TValue="DateTime?" 
        OnOpen="@HandlePopupOpen"
        OnClose="@HandlePopupClose">
    </DateTimePickerEvents>
</SfDateTimePicker>

@code {
    private DateTime? AppointmentTime { get; set; }
    
    private void HandlePopupOpen(PopupObjectArgs args)
    {
        Console.WriteLine("Popup opened");
        // Can cancel opening: args.Cancel = true;
    }
    
    private void HandlePopupClose(PopupObjectArgs args)
    {
        Console.WriteLine("Popup closed");
    }
}

Pattern 3: Custom Cell Rendering

<SfCalendar TValue="DateTime?" @bind-Value="@EventDate">
    <CalendarEvents TValue="DateTime?" OnRenderDayCell="@CustomizeCells"></CalendarEvents>
</SfCalendar>

@code {
    private DateTime? EventDate { get; set; }
    private List<DateTime> EventDates = new List<DateTime> 
    { 
        DateTime.Now.AddDays(5),
        DateTime.Now.AddDays(10)
    };
    
    private void CustomizeCells(RenderDayCellEventArgs args)
    {
        // Highlight event dates
        if (EventDates.Any(d => d.Date == args.Date.Date))
        {
            args.CellData.ClassList = "e-special-date";
        }
    }
}

Event Argument Types Reference

IMPORTANT: Different components use different event argument types for the ValueChange event:

ComponentValueChange Event Argument TypeNotes
CalendarChangedEventArgs<TValue>For single and multi-date selection
DatePickerChangedEventArgs<TValue>Includes Value, IsInteracted, Event properties
DateTimePickerChangedEventArgs<TValue>Same as DatePicker
TimePickerChangeEventArgs<TValue>Note: Different class name (no 'd')
DateRangePickerRangePickerEventArgs<TValue>Includes StartDate and EndDate properties

Key Differences:

  • ChangedEventArgs<TValue> (with 'd') - Used by Calendar, DatePicker, DateTimePicker
    • Properties: Value, Values (for multi-selection), IsInteracted, Event, Element, Name
  • ChangeEventArgs<TValue> (no 'd') - Used by TimePicker only
    • Properties: Value, Text, IsInteracted, Event, Element
  • RangePickerEventArgs<TValue> - Used by DateRangePicker only
    • Properties: StartDate, EndDate, Text, Value, IsInteracted, Event, Element

DatePicker

A comprehensive skill for implementing and customizing the DatePicker component. This skill helps you install, configure, and integrate DatePicker across Blazor Server, Blazor WebAssembly, and Blazor Web App projects.

When to Use This Skill

Use this skill when you need to:

  • Install and set up Syncfusion DatePicker in any Blazor project type
  • Implement basic date selection with input validation
  • Configure one-way and two-way data binding
  • Set custom date formats and input formats
  • Apply date range constraints (min/max dates)
  • Highlight or disable special dates
  • Handle DatePicker events (ValueChange, OnClose, Focus, Blur)
  • Globalize and localize the component (different languages/calendars)
  • Support Islamic Calendar or other calendar systems
  • Use DateOnly (.NET 6+) with DatePicker
  • Style and customize appearance (readonly, disabled states, themes)
  • Implement keyboard navigation and accessibility
  • Troubleshoot data binding, formatting, or event issues
  • Optimize performance in Blazor Server vs WebAssembly
  • Integrate date selection with forms and APIs

Component Overview

The DatePicker component provides an intuitive calendar UI for users to select single dates. It supports:

  • Multiple Input Methods: Direct typing, calendar picker, or both
  • Date Constraints: Min/max date ranges, disabled dates, special highlights
  • Flexible Formatting: Custom display formats and input formats
  • Global Support: Multiple languages, calendars (Gregorian, Islamic), RTL
  • Accessibility: WCAG compliance, keyboard navigation, screen reader support
  • Event System: Value changes, popup open/close, focus/blur events
  • Theme Support: Bootstrap, Material, Fluent, Tailwind CSS

Installation Quick Start

1. Install NuGet Package

dotnet add package Syncfusion.Blazor.Calendars
dotnet add package Syncfusion.Blazor.Themes

2. Import in _Imports.razor

@using Syncfusion.Blazor
@using Syncfusion.Blazor.Calendars

3. Register in Program.cs

builder.Services.AddSyncfusionBlazor();

4. Add Theme in App.razor or Layout

<link href="_content/Syncfusion.Blazor.Themes/bootstrap5.css" rel="stylesheet" />
<script src="_content/Syncfusion.Blazor.Core/scripts/syncfusion-blazor.min.js"></script>

5. Use in Component

<SfDatePicker TValue="DateTime?" @bind-Value="@selectedDate">
    <DatePickerEvents TValue="DateTime?" ValueChange="@OnDateChange"></DatePickerEvents>
</SfDatePicker>

@code {
    DateTime? selectedDate = new DateTime(2026, 3, 18);
    
    void OnDateChange(ChangedEventArgs<DateTime?> args)
    {
        selectedDate = args.Value;
    }
}

Documentation Navigation Guide

Choose a reference based on your task:

Getting Started

📄 Read: references/getting-started.md

  • Installation in Blazor Server, WebAssembly, and Web App
  • NuGet package setup
  • Theme configuration
  • Service registration
  • Basic DatePicker example

Data Binding

📄 Read: references/data-binding.md

  • One-way binding with Value property
  • Two-way binding with @bind-Value
  • Dynamic value updates and null handling
  • Binding to DateTime vs DateTime?

Date Formats & Input

📄 Read: references/date-formats-and-input.md

  • Display format customization (d/M/yyyy, dd/MM/yyyy, etc.)
  • Input format patterns
  • Placeholder text configuration
  • Format parsing and validation
  • Custom format examples

Date Range & Constraints

📄 Read: references/date-range-and-constraints.md

  • Min/Max date restrictions
  • Disabled specific dates
  • Special date highlighting
  • Date validation logic
  • Preventing invalid selections

Events & Interaction

📄 Read: references/events.md

  • ValueChange event handling
  • OnOpen/OnClose events (popup lifecycle)
  • Selected event (date selection in calendar)
  • Focus/Blur events
  • Cleared event (clear button clicked)
  • Created/Destroyed lifecycle events
  • Navigated event (calendar view navigation)
  • OnRenderDayCell event (custom day cell rendering)
  • Using DatePickerEvents child component

Advanced Features

📄 Read: references/advanced-features.md

  • Islamic Calendar support
  • DateOnly (.NET 6+) support
  • Globalization and localization
  • Week number display
  • Different view modes
  • Mask support and input masking

Styling & Appearance

📄 Read: references/styling-and-appearance.md

  • CSS customization and themes
  • Readonly state styling
  • Disabled state styling
  • RTL (right-to-left) support
  • Theme switching (Bootstrap, Material, Fluent, Tailwind)
  • Custom styling examples

Accessibility

📄 Read: references/accessibility.md

  • WCAG 2.1 compliance
  • Keyboard navigation (arrow keys, Enter, Escape)
  • ARIA attributes and roles
  • Screen reader support
  • Color contrast and visual indicators
  • Focus management

Server vs WebAssembly

📄 Read: references/server-vs-webassembly.md

  • Blazor Server vs WebAssembly differences
  • Blazor Web App (.NET 8+) setup
  • Render modes (InteractiveServer, InteractiveWebAssembly)
  • Performance considerations
  • Event interactivity

Troubleshooting

📄 Read: references/troubleshooting.md

  • Data binding issues
  • Date format problems
  • Event handling problems
  • Styling and layout issues
  • Performance optimization
  • Common error messages and solutions

Common Patterns

Pattern 1: Basic Date Selection

<SfDatePicker TValue="DateTime?" Value="@selectedDate" 
              Placeholder="Select a date"></SfDatePicker>

Use when: User needs a simple, standard date picker for form input.

Pattern 2: Date Range with Constraints

<SfDatePicker TValue="DateTime?" Value="@selectedDate"
              Min="@minDate" Max="@maxDate"></SfDatePicker>

Use when: Date must fall within a specific range (e.g., future dates only, event dates).

Pattern 3: Two-Way Binding

<SfDatePicker TValue="DateTime?" @bind-Value="@formData.BirthDate"></SfDatePicker>

Use when: DatePicker must automatically update parent component state or form data.

Pattern 4: Event-Driven Logic

<SfDatePicker TValue="DateTime?">
    <DatePickerEvents TValue="DateTime?" ValueChange="@OnDateSelected"></DatePickerEvents>
</SfDatePicker>

@code {
    void OnDateSelected(ChangedEventArgs<DateTime?> args)
    {
        // Trigger calculations, API calls, or validation
    }
}

Use when: Selection should trigger workflows, calculations, or dependent updates.

Pattern 5: Formatted Display with Custom Input

<SfDatePicker TValue="DateTime?" Value="@selectedDate"
              Format="dd/MM/yyyy" Placeholder="DD/MM/YYYY"></SfDatePicker>

Use when: Date display must match regional or business requirements.

Key Properties

PropertyTypePurpose
ValueTValueThe selected date (one-way binding)
@bind-ValueTValueTwo-way data binding
MinDateTimeEarliest selectable date
MaxDateTimeLatest selectable date
FormatstringDisplay format pattern (e.g., "dd/MM/yyyy")
PlaceholderstringInput placeholder text
AllowEditboolAllow manual text input editing
StrictModeboolRestrict to valid dates only
EnableMaskboolEnable input masking for date entry
OpenOnFocusboolOpen calendar popup when input is focused
FloatLabelTypeFloatLabelTypeFloat label behavior (Auto/Always/Never)
InputFormatsstring[]Array of acceptable input formats
EnabledboolEnable/disable component
ReadonlyboolRead-only mode (no user input)
ShowClearButtonboolShow clear button to reset value
WeekNumberboolDisplay week numbers in calendar
StartCalendarViewInitial calendar view (Month/Year/Decade)
DepthCalendarViewDeepest view level allowed
ZIndexintZ-index for popup positioning
WidthstringComponent width (e.g., "300px")
CssClassstringCustom CSS class for styling

Performance Tips

  1. Use DateTime? (nullable) for optional date fields—avoids default date confusion
  2. Lazy-load DatePicker in modals or expandable sections—reduces initial render cost
  3. Minimize format conversions in event handlers—cache formatted strings when possible
  4. Use InteractiveWebAssembly for date-heavy UIs—offloads processing to client
  5. Batch value updates in loops—avoid rapid re-renders with multiple ValueChange triggers

DateRangePicker

A comprehensive skill for implementing and customizing the DateRangePicker component. This component enables users to select date ranges with calendar pickers, providing features for range constraints, customization, accessibility, and globalization.

When to Use This Skill

Use this skill when you need to:

  • Install and set up the DateRangePicker component in Blazor applications
  • Create date range selection interfaces
  • Set minimum and maximum date constraints
  • Bind component values to data models
  • Customize placeholder text, first day of week, and visual appearance
  • Implement keyboard navigation and accessibility features
  • Handle component events (change, blur, focus, etc.)
  • Configure globalization and localization for different cultures
  • Support DateOnly type for .NET 6+ projects
  • Open popups on input click or programmatically
  • Display week numbers in the calendar
  • Apply custom CSS styling and theming
  • Work with RTL (right-to-left) languages
  • Debug common DateRangePicker issues

Component Overview

SfDateRangePicker is a calendar-based input component that allows users to select a continuous date range. Key characteristics:

  • Dual Calendar View: Shows two calendar months for easy range selection
  • Range Constraints: Min/Max properties enforce date restrictions
  • Flexible Data Binding: Works with DateTime, DateTime?, and DateOnly types
  • Customizable: First day of week, placeholder, popup behavior, styling
  • Accessible: Full WCAG 2.2 AA compliance with keyboard navigation
  • Globalized: Supports multiple cultures, RTL, and date formatting
  • Event-Driven: Comprehensive event system for user interactions
  • Mobile-Friendly: Touch-optimized calendar interface

Documentation and Navigation Guide

Getting Started

📄 Read: references/getting-started.md

  • Installation via NuGet packages
  • Namespace imports and service registration
  • Basic component setup (WebAssembly and Server apps)
  • Adding theme stylesheet
  • Setting Min/Max date constraints
  • Rendering your first DateRangePicker

Range Selection & Data Binding

📄 Read: references/range-selection.md

  • Single vs range date selection modes
  • Two-way data binding with @bind
  • Programmatic range updates
  • Clearing date selections
  • Using DateOnly type for .NET 6+
  • Value change handling

Customization & Styling

📄 Read: references/customization-and-styling.md

  • Configuring first day of week
  • Setting placeholder text
  • Custom CSS class application
  • Opening popup on input click
  • Displaying week numbers
  • Appearance and visual customization
  • Theme integration

Data & Globalization

📄 Read: references/data-and-globalization.md

  • Data binding patterns and best practices
  • DateOnly type support and usage
  • Globalization configuration
  • Culture-specific date formatting
  • Right-to-left (RTL) language support
  • Localization for international audiences

Events & Interactions

📄 Read: references/events-and-interactions.md

  • ValueChange event (range selection complete)
  • RangeSelected event (individual date selections)
  • OnOpen/OnClose events (popup lifecycle)
  • Focus/Blur events
  • Cleared event (clear button clicked)
  • Created/Destroyed lifecycle events
  • Navigated event (calendar view navigation)
  • OnRenderDayCell event (custom day cell rendering)
  • Using DateRangePickerEvents child component
  • Event argument types (RangePickerEventArgs<TValue>)

Accessibility

📄 Read: references/accessibility.md

  • WCAG 2.2 AA compliance overview
  • Keyboard navigation shortcuts
  • Calendar month navigation keys
  • ARIA attributes and screen reader support
  • Mobile device accessibility features
  • Testing and validating accessibility

Quick Start

Basic DateRangePicker

@using Syncfusion.Blazor.Calendars

<SfDateRangePicker TValue="DateTime?" Placeholder="Select a date range"></SfDateRangePicker>

With Date Constraints

<SfDateRangePicker TValue="DateTime?" 
    Placeholder="Choose a range" 
    Min="@MinDate" 
    Max="@MaxDate">
</SfDateRangePicker>

@code {
    public DateTime MinDate { get; set; } = new DateTime(2024, 1, 1);
    public DateTime MaxDate { get; set; } = new DateTime(2024, 12, 31);
}

With Data Binding (StartDate/EndDate)

<SfDateRangePicker TValue="DateTime?" 
    @bind-StartDate="StartDate" 
    @bind-EndDate="EndDate">
</SfDateRangePicker>

@code {
    private DateTime? StartDate { get; set; }
    private DateTime? EndDate { get; set; }
}

With Range Constraints

<SfDateRangePicker TValue="DateTime?" 
    MinDays="3" 
    MaxDays="30"
    @bind-StartDate="StartDate" 
    @bind-EndDate="EndDate">
</SfDateRangePicker>

@code {
    // User must select range between 3 and 30 days
    private DateTime? StartDate { get; set; }
    private DateTime? EndDate { get; set; }
}

With Preset Ranges

<SfDateRangePicker TValue="DateTime?">
    <DateRangePickerPresets>
        <DateRangePickerPreset Label="Last 7 Days" Start="@last7DaysStart" End="@currentDate"></DateRangePickerPreset>
        <DateRangePickerPreset Label="Last 30 Days" Start="@last30DaysStart" End="@currentDate"></DateRangePickerPreset>
        <DateRangePickerPreset Label="This Month" Start="@currentMonthStart" End="@currentDate"></DateRangePickerPreset>
    </DateRangePickerPresets>
</SfDateRangePicker>

@code {
    private DateTime currentDate = DateTime.Now;
    private DateTime last7DaysStart = DateTime.Now.AddDays(-7);
    private DateTime last30DaysStart = DateTime.Now.AddDays(-30);
    private DateTime currentMonthStart = new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1);
}

Key Properties

PropertyTypePurpose
StartDateTValueStart date of the range (one-way binding)
@bind-StartDateTValueTwo-way binding for start date
EndDateTValueEnd date of the range (one-way binding)
@bind-EndDateTValueTwo-way binding for end date
ValueObjectCombined range value (legacy)
MinDateTimeEarliest selectable date
MaxDateTimeLatest selectable date
MinDaysint?Minimum required days in range
MaxDaysint?Maximum allowed days in range
PresetsList<Presets>Predefined date range presets
SeparatorstringSeparator between start and end dates (default: "-")
FormatstringDisplay format pattern
PlaceholderstringInput placeholder text
AllowEditboolAllow manual text input editing
StrictModeboolRestrict to valid dates only
OpenOnFocusboolOpen popup when input is focused
FloatLabelTypeFloatLabelTypeFloat label behavior
EnabledboolEnable/disable component
ReadonlyboolRead-only mode
ShowClearButtonboolShow clear button
WeekNumberboolDisplay week numbers
FirstDayOfWeekintFirst day (0=Sunday, 1=Monday)
ZIndexintZ-index for popup
WidthstringComponent width
CssClassstringCustom CSS class

Common Patterns

Pattern 1: Range Selection with Validation

<SfDateRangePicker TValue="DateTime?" 
    @bind-Value="BookingRange" 
    Min="@minBookingDate"
    Placeholder="Select booking dates">
</SfDateRangePicker>

@code {
    private DateTime? BookingRange { get; set; }
    private DateTime minBookingDate = DateTime.Today;
}

Pattern 2: Event Handling

<SfDateRangePicker TValue="DateTime?" 
    @bind-StartDate="@StartDate"
    @bind-EndDate="@EndDate">
    <DateRangePickerEvents TValue="DateTime?" ValueChange="@OnDateRangeChange"></DateRangePickerEvents>
</SfDateRangePicker>

@code {
    private DateTime? StartDate { get; set; }
    private DateTime? EndDate { get; set; }
    
    private void OnDateRangeChange(RangePickerEventArgs<DateTime?> args)
    {
        // Handle date range selection
        Console.WriteLine($"Start: {args.StartDate}, End: {args.EndDate}");
    }
}

Pattern 3: Multiple Instances with Different Constraints

<div>
    <h4>Q1 Reporting Period (Jan-Mar)</h4>
    <SfDateRangePicker TValue="DateTime?" 
        Min="@new DateTime(2024, 1, 1)" 
        Max="@new DateTime(2024, 3, 31)"
        Placeholder="Select dates">
    </SfDateRangePicker>
</div>

<div>
    <h4>Q2 Reporting Period (Apr-Jun)</h4>
    <SfDateRangePicker TValue="DateTime?" 
        Min="@new DateTime(2024, 4, 1)" 
        Max="@new DateTime(2024, 6, 30)"
        Placeholder="Select dates">
    </SfDateRangePicker>
</div>

DateTimePicker

A comprehensive guide for implementing and customizing the DateTimePicker component. The DateTimePicker enables users to select both date and time values with support for multiple formats, masks, globalization, and extensive customization options.

When to Use This Skill

Use this skill when you need to:

  • Install and set up the DateTimePicker component in a Blazor application
  • Implement date and time selection functionality
  • Format date/time values using custom format strings
  • Apply input masks and validate user input
  • Handle DateTimePicker events (ValueChange, OnOpen, OnClose, etc.)
  • Bind the component to data models
  • Set minimum and maximum date/time constraints
  • Highlight special dates or disable specific dates
  • Implement globalization (RTL, multiple locales)
  • Support Islamic calendar or other calendar systems
  • Customize component appearance and styling
  • Configure placeholder text and input validation
  • Enable strict mode for input validation
  • Display week numbers in the calendar

Documentation

Getting Started

📄 Read: references/getting-started.md

  • Installation and NuGet package setup
  • Basic component initialization in Blazor Server/Web App
  • Minimal working example
  • Required imports and configurations

Date & Time Formatting

📄 Read: references/date-time-formatting.md

  • Format string patterns and standard formats
  • Custom date/time format configurations
  • Locale-specific formatting
  • Parse and display format handling

Data Binding & Events

📄 Read: references/data-binding-and-events.md

  • Two-way binding for date/time values
  • ValueChange event (date/time selection complete)
  • OnOpen/OnClose events (popup lifecycle)
  • Selected event (date selection in calendar)
  • OnItemRender event (custom time list item rendering)
  • Focus/Blur events
  • Cleared event (clear button clicked)
  • Created/Destroyed lifecycle events
  • Navigated event (calendar view navigation)
  • OnRenderDayCell event (custom day cell rendering)
  • Using DateTimePickerEvents child component
  • State management and data flow patterns

Date Ranges & Special Dates

📄 Read: references/date-ranges-and-special-dates.md

  • Setting minimum and maximum date constraints
  • Restricting date range selection
  • Highlighting special dates
  • Disabling specific dates or date ranges
  • Week number configuration

Masking & Input Validation

📄 Read: references/masking-and-input-validation.md

  • Input mask patterns for date/time entry
  • Placeholder text configuration
  • Input validation rules
  • Strict mode enforcement and input behavior
  • Validation edge cases

Customization & Styling

📄 Read: references/customization-and-styling.md

  • CSS customization and class overrides
  • Theme integration (Bootstrap, Material, Fluent, Tailwind)
  • Component appearance and styling options
  • Custom CSS properties and styling patterns
  • Visual customization examples

Globalization & Accessibility

📄 Read: references/globalization-and-accessibility.md

  • Globalization support (RTL, multiple locales)
  • Islamic calendar implementation and configuration
  • Accessibility features (WCAG compliance, keyboard navigation)
  • ARIA attributes and screen reader support
  • Internationalization best practices

Quick Start

Here's a minimal working example to get started with the DateTimePicker:

@page "/datetimepicker-demo"
@using Syncfusion.Blazor.Calendars

<div>
    <label>Select Date and Time:</label>
    <SfDateTimePicker TValue="DateTime?" 
                      @bind-Value="@selectedDateTime"
                      Placeholder="Choose date and time">
        <DateTimePickerEvents TValue="DateTime?" ValueChange="@OnValueChanged"></DateTimePickerEvents>
    </SfDateTimePicker>
    
    @if (selectedDateTime.HasValue)
    {
        <p>Selected: @selectedDateTime.Value.ToString("g")</p>
    }
</div>

@code {
    private DateTime? selectedDateTime;
    
    private void OnValueChanged(ChangedEventArgs<DateTime?> args)
    {
        selectedDateTime = args.Value;
        Console.WriteLine($"Date changed to: {selectedDateTime}");
    }
}

Common Patterns

Pattern 1: With Date Range Constraints

<SfDateTimePicker TValue="DateTime?" 
                  Min="@minDate" 
                  Max="@maxDate"
                  Value="selectedDateTime">
</SfDateTimePicker>

@code {
    private DateTime minDate = new DateTime(2024, 1, 1);
    private DateTime maxDate = new DateTime(2024, 12, 31);
    private DateTime? selectedDateTime;
}

Pattern 2: With Format Customization

<SfDateTimePicker TValue="DateTime?" 
                  Format="dd/MM/yyyy HH:mm"
                  Value="selectedDateTime">
</SfDateTimePicker>

Pattern 3: With Input Mask

<SfDateTimePicker TValue="DateTime?" 
                  EnableMask="true"
                  Format="dd/MM/yyyy HH:mm"
                  Value="selectedDateTime">
    <DateTimePickerMaskPlaceholder Day="dd" Month="MM" Year="yyyy" Hour="HH" Minute="mm"></DateTimePickerMaskPlaceholder>
</SfDateTimePicker>

Pattern 4: With Data Binding

<SfDateTimePicker TValue="DateTime?" 
                  @bind-Value="model.CreatedDate">
    <DateTimePickerEvents TValue="DateTime?" ValueChange="@OnDateChanged"></DateTimePickerEvents>
</SfDateTimePicker>

Key Properties

PropertyTypePurpose
ValueTValueGets or sets the selected date-time value
@bind-ValueTValueTwo-way data binding
FormatstringDisplay format (e.g., "dd/MM/yyyy HH:mm")
TimeFormatstringFormat for time portion only (e.g., "HH:mm")
PlaceholderstringPlaceholder text for the input field
MinDateTimeMinimum selectable date (date portion)
MaxDateTimeMaximum selectable date (date portion)
MinTimeDateTimeMinimum selectable time
MaxTimeDateTimeMaximum selectable time
StepintTime interval step in minutes (default: 30)
ScrollToDateTime?Initial scroll position in time list
AllowEditboolAllows manual text input
StrictModeboolEnforces strict input validation
EnableMaskboolEnable input masking for date/time entry
OpenOnFocusboolOpens popup on input focus
FloatLabelTypeFloatLabelTypeFloat label behavior
EnabledboolEnables/disables the component
ReadonlyboolMakes the component read-only
ShowClearButtonboolShow clear button
ShowTodayButtonboolDisplays today button in calendar
WeekNumberboolDisplay week numbers
FirstDayOfWeekintFirst day (0=Sunday, 1=Monday)
StartCalendarViewInitial calendar view
DepthCalendarViewDeepest view level
ZIndexintZ-index for popup
WidthstringComponent width
CssClassstringCustom CSS class

TimePicker

A comprehensive skill for implementing and customizing the TimePicker component. This skill covers installation, configuration, data binding, events, styling, accessibility, internationalization, and advanced features like input masking.

When to Use This Skill

Use this skill when you need to:

  • Install and set up the TimePicker component in Blazor applications
  • Create basic and advanced TimePicker implementations
  • Configure time formats (12-hour, 24-hour, custom formats)
  • Set up data binding (one-way, two-way, dynamic)
  • Handle TimePicker events (ValueChange, OnOpen, OnClose, Blur, Focus, etc.)
  • Customize appearance and styling with CSS
  • Implement input masking and validation
  • Configure accessibility (keyboard navigation, ARIA attributes, screen readers)
  • Add globalization support (localization, RTL for Arabic/Hebrew)
  • Set time intervals and step values
  • Implement full-screen mode on mobile devices

Component Overview

The SfTimePicker is a Blazor input component for time selection. It provides:

  • Popup time picker interface with scrollable time list
  • Configurable time formats and intervals
  • Two-way data binding support
  • Built-in validation and masking
  • Full accessibility compliance (WCAG 2.2, Section 508)
  • RTL support for international audiences
  • Mobile-responsive with full-screen mode
  • Keyboard navigation shortcuts

Quick Start Example

Basic TimePicker

@using Syncfusion.Blazor.Calendars

<SfTimePicker TValue="DateTime?" Placeholder="Select a time"></SfTimePicker>

TimePicker with Value Binding

@using Syncfusion.Blazor.Calendars

<p>Selected Time: @SelectedTime</p>

<SfTimePicker TValue="DateTime?" @bind-Value="@SelectedTime"></SfTimePicker>

@code {
    public DateTime? SelectedTime { get; set; } = DateTime.Now;
}

TimePicker with Format and Step

@using Syncfusion.Blazor.Calendars

<SfTimePicker TValue="DateTime?" 
    Value="@TimeValue" 
    Format="HH:mm"
    Step=60
    Placeholder="Select time (24-hour)">
</SfTimePicker>

@code {
    public DateTime TimeValue { get; set; } = DateTime.Now;
}

Key Props Reference

Key Properties

PropertyTypeDescriptionDefault
ValueTValueCurrent time value (one-way binding)null
@bind-ValueTValueTwo-way data binding-
PlaceholderstringPlaceholder text in input"Select a time"
FormatstringDisplay format string (HH:mm, hh:mm tt)Culture-based
InputFormatsstring[]Accepted input format patternsCulture-based
StepintTime interval in minutes30
ScrollToDateTime?Initial scroll position in time listnull
MinDateTimeMinimum selectable time00:00
MaxDateTimeMaximum selectable time23:59
AllowEditboolAllow manual text inputtrue
StrictModeboolEnforce strict input validationfalse
EnableMaskboolEnable input maskingfalse
OpenOnFocusboolOpen popup when input is focusedfalse
FloatLabelTypeFloatLabelTypeFloat label behaviorNever
EnabledboolEnable/disable componenttrue
ReadonlyboolRead-only modefalse
ShowClearButtonboolShow clear buttonfalse
EnableRtlboolEnable right-to-left (RTL) directionfalse
FullScreenboolFull-screen mode on mobilefalse
ZIndexintZ-index for popup1000
WidthstringComponent width"100%"
CssClassstringCustom CSS classnull
TabIndexintTab order index0

Documentation Navigation

Getting Started

📄 Read: references/getting-started.md

  • NuGet package installation
  • Namespace imports
  • Service registration in Program.cs
  • Theme setup and inclusion
  • Basic component implementation
  • Step property and time intervals

Time Formats

📄 Read: references/time-formats.md

  • Display format customization
  • Input format configuration
  • Standard vs custom format strings
  • Culture-based default formats
  • 12-hour and 24-hour format examples
  • When to use each format option

Data Binding

📄 Read: references/data-binding.md

  • One-way binding patterns
  • Two-way binding with @bind-Value
  • Dynamic value updates
  • DateTime and DateTime? type handling
  • Value change event integration

Events and Handlers

📄 Read: references/events-and-handlers.md

  • ValueChange event (EventCallback<ChangeEventArgs<TValue>>)
  • OnOpen/OnClose popup events
  • Selected event (time selection in list)
  • OnItemRender event (custom time list item rendering)
  • Focus/Blur input events
  • Cleared event (clear button clicked)
  • Created/Destroyed lifecycle events
  • Using TimePickerEvents child component
  • Event handler implementation patterns

Styling and Appearance

📄 Read: references/styling-and-appearance.md

  • CSS classes for customization
  • Container element styling
  • Icon element styling
  • Popup and list item styling
  • Full-screen mode for mobile devices
  • Theme integration (Bootstrap, Material, Fluent)

Accessibility and Globalization

📄 Read: references/accessibility-and-globalization.md

  • WCAG 2.2 compliance and standards
  • Keyboard navigation shortcuts (arrow keys, Enter, Esc)
  • WAI-ARIA attributes and roles
  • RTL (right-to-left) support
  • Localization and culture configuration
  • Screen reader support

Mask Support

📄 Read: references/mask-support.md

  • EnableMask property for input masking
  • TimePickerMaskPlaceholder directive
  • Custom placeholder characters (Hour, Minute, Second)
  • Format-specific masking patterns
  • Input validation with masks

Common Patterns

Pattern 1: Simple Time Selection

When users need a basic time picker without complex requirements:

<SfTimePicker TValue="DateTime?" 
    @bind-Value="@AppointmentTime"
    Placeholder="Select appointment time">
</SfTimePicker>

Pattern 2: Business Hours Only

When time selection should be limited to specific hours:

<SfTimePicker TValue="DateTime?" 
    @bind-Value="@BusinessTime"
    Min="@new DateTime(2026, 1, 1, 09, 0, 0)"
    Max="@new DateTime(2026, 1, 1, 17, 0, 0)"
    Step=30
    Format="HH:mm">
</SfTimePicker>

@code {
    public DateTime? BusinessTime { get; set; }
}

Pattern 3: 12-Hour Format with AM/PM

When displaying time in 12-hour format:

<SfTimePicker TValue="DateTime?" 
    @bind-Value="@UserTime"
    Format="hh:mm tt"
    Placeholder="Select time (12-hour)">
</SfTimePicker>

@code {
    public DateTime? UserTime { get; set; } = DateTime.Now;
}

Pattern 4: With Event Handling

When tracking time selection changes:

<SfTimePicker TValue="DateTime?">
    <TimePickerEvents TValue="DateTime?" ValueChange="@OnTimeChanged"></TimePickerEvents>
</SfTimePicker>

@code {
    private void OnTimeChanged(ChangeEventArgs<DateTime?> args)
    {
        Console.WriteLine($"Time selected: {args.Value}");
    }
}

Common Use Cases

  1. Appointment Booking: Time selection for scheduling appointments with business hours validation
  2. Time Tracking: Recording start/end times for timesheets or activity logs
  3. Shift Management: Selecting shift times in HR/workforce applications
  4. Travel Booking: Departure/arrival time selection for flights, trains
  5. Delivery Windows: Setting preferred delivery time slots in e-commerce
  6. Broadcast Scheduling: Selecting broadcast times for media applications
  7. Meeting Scheduler: Time selection for virtual meetings with timezone support
  8. Gym Booking: Class time selection in fitness management apps

Prerequisites

  • Blazor WebAssembly or Blazor Server project (.NET 7 or later)
  • NuGet package: Syncfusion.Blazor.Calendars
  • NuGet package: Syncfusion.Blazor.Themes
  • Syncfusion service registered in Program.cs

Ready to implement Calendar components? Start with Getting Started guides above for setup, then navigate to other references based on your specific needs.


Next Steps: Start with the Getting Started guide for your chosen component, then navigate to other references based on your specific task.

For detailed implementation patterns, complete code examples, and troubleshooting guidance, read the appropriate reference file based on your specific needs.

FAQ

What does the syncfusion-blazor-calendars skill do?

Comprehensive guide for implementing Syncfusion Blazor calendar components including Calendar, DatePicker, DateRangePicker, DateTimePicker, and TimePicker. Use this when building date selection interfaces, date range selection, date/time input, calendar displays, date constraints, formatting, globalization, and accessible calendar experiences in Blazor applications. Covers all calendar components from Syncfusion.Blazor.Calendars package.

How do I install syncfusion-blazor-calendars?

Run npx skills add https://github.com/syncfusion/blazor-ui-components-skills --skill syncfusion-blazor-calendars in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/syncfusion-blazor-calendars/ (personal) or .claude/skills/syncfusion-blazor-calendars/ (project).

Which AI agents can use syncfusion-blazor-calendars?

Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.

Is syncfusion-blazor-calendars safe to install?

No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.

Who maintains syncfusion-blazor-calendars?

It is published by syncfusion in syncfusion/blazor-ui-components-skills. It has 375 recorded installs.

More from syncfusion/blazor-ui-components-skills

View all →

syncfusion-blazor-datagrid

syncfusion/blazor-ui-components-skills

Implements the Syncfusion Blazor DataGrid (SfGrid) for efficient tabular operations such as sorting, filtering, paging, grouping, editing, aggregates, virtualization, lazy‑load grouping, and row or column spanning. Use this skill when building data‑grid workflows in Blazor Server, WebAssembly, Web App, or MAUI applications. Supports Excel/PDF export, virtual or infinite scrolling, customizable templates, and grid state persistence for consistent and optimized data‑grid behavior.

Frontend & Design442 installs

syncfusion-blazor-common

syncfusion/blazor-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design409 installs

syncfusion-blazor-dropdowns

syncfusion/blazor-ui-components-skills

Comprehensive guide for implementing Syncfusion Blazor dropdown components including AutoComplete, ComboBox, DropDown List, MultiSelect Dropdown, and ListBox. Use this when building selection interfaces, data binding, filtering, cascading dropdowns, custom templates, and accessible dropdown experiences in Blazor applications. Covers all dropdown components from Syncfusion.Blazor.DropDowns package.

Frontend & Design400 installs

syncfusion-blazor-charts

syncfusion/blazor-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design394 installs

syncfusion-blazor-popups

syncfusion/blazor-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design394 installs

syncfusion-blazor-license

syncfusion/blazor-ui-components-skills

Open the skill to read its SKILL.md instructions.

Frontend & Design386 installs

Popular productivity & automation skills

View category →

agent-browser

vercel-labs/agent-browser

Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.

OfficialProductivity & Automation1.3M installs

lark-doc

open.feishu.cn

飞书云文档(Docx / Wiki)内容操作:读取、创建、编辑文档,插入或下载图片附件,以及操作思维笔记。用户提供文档 URL/token(包括 doubao.com 的 /docx/、/wiki/)时使用;按 URL 路径/token 而非域名路由;/page/ 是妙搭应用,非飞书云文档。文档内嵌资源按读取参考中的统一规则分流。独立评论操作走 lark-drive;随正文读取评论使用 docs +fetch。表格或 Base 内部数据操作不在本 skill。

lark-base

open.feishu.cn

飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限、模板中心(多维表格模板分类/列表/搜索);遇到 Base/多维表格/bitable、BaseApp/AppMode、/base/ 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入/导出转 lark-drive,认证/授权转 lark-shared。

lark-drive

open.feishu.cn

飞书云空间(云盘/云存储):管理 Drive 文件和文件夹,包含上传/下载、创建文件夹、复制/移动/删除、查看元数据、查询权限设置、评论/权限/订阅、标题、版本、飞书文档密级标签(secure labels)和本地文件导入。用户需要整理云盘目录、处理云空间资源 URL/token、判断链接类型/真实 token/标题,或导入 Word/Markdown/Excel/CSV/PPTX/.base 为 docx/sheet/bitable/slides 时使用;doubao.com 云空间 URL/token 也按资源路径和 token 路由,不回退 WebFetch。不负责:文档内容编辑(走 lark-doc)、表格/Base 表内数据操作(走 lark-sheets/lark-base)、知识空间节点/成员管理(走 lark-wiki)、原生 Markdown 文件读写/patch/diff(走 lark-markdown)。

lark-shared

open.feishu.cn

Use for lark-cli setup/auth tasks: auth login/status/logout, user vs bot identity, business-domain permissions (--domain, including all/docs/drive), missing scopes, revoking authorization, or handling notice JSON.

lark-im

open.feishu.cn

飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。