For AI agents: the complete documentation index is available at https://rickyshin93.github.io/tao-ui/llms.txt, the full documentation bundle is available at https://rickyshin93.github.io/tao-ui/llms-full.txt, and this page is available as Markdown at https://rickyshin93.github.io/tao-ui/components/calendar.md.
v0.0.57
  • English
  • Calendar

    Data Display@rockshin/tao-ui

    Display months or years with event cells, custom headers and selectable ranges.

    The added API follows Ant Design 6.7.0; appearance, theming and Semantic DOM use tao-ui. Existing component APIs remain unchanged.

    Examples

    Full month calendar

    A full calendar provides space for events inside each day.

    SuMoTuWeThFrSa
    01
    02
    03
    04
    05
    06
    07
    08
    09
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    01
    02
    03
    04
    05
    06
    07
    08
    09
    10
    11
    12
    TSX

    Compact calendar

    fullscreen=false uses a compact layout for sidebars and cards.

    SuMoTuWeThFrSa
    01
    02
    03
    04
    05
    06
    07
    08
    09
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    01
    02
    03
    04
    05
    06
    07
    08
    09
    10
    11
    12
    TSX

    Controlled selection and source

    onSelect distinguishes day clicks from header changes; onChange updates the value.

    SuMoTuWeThFrSa
    01
    02
    03
    04
    05
    06
    07
    08
    09
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    01
    02
    03
    04
    05
    06
    07
    08
    09
    10
    11
    12

    2026-11-04 · initial

    TSX

    Event cells

    cellRender adds events inside the default cell while keeping date interaction.

    SuMoTuWeThFrSa
    01
    02
    03
    04
    Design review
    05
    06
    07
    08
    09
    10
    11
    12
    Team sync
    13
    14
    15
    16
    17
    18
    19
    20
    Team sync
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    01
    02
    03
    04
    Design review
    05
    06
    07
    08
    09
    10
    11
    12
    Team sync
    TSX

    Valid range

    The range constrains both header navigation and day selection.

    SuMoTuWeThFrSa
    01
    02
    03
    04
    05
    06
    07
    08
    09
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    01
    02
    03
    04
    05
    06
    07
    08
    09
    10
    11
    12
    TSX

    Disable weekends

    disabledDate receives Dayjs; dates returning true cannot be selected.

    SuMoTuWeThFrSa
    01
    02
    03
    04
    05
    06
    07
    08
    09
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    01
    02
    03
    04
    05
    06
    07
    08
    09
    10
    11
    12
    TSX

    Year view and week numbers

    Switch between month and year views, or display week numbers.

    Jan
    Feb
    Mar
    Apr
    May
    Jun
    Jul
    Aug
    Sep
    Oct
    Nov
    Dec
    TSX

    Custom header

    The header receives value and mode setters for a custom toolbar.

    2026-11
    SuMoTuWeThFrSa
    01
    02
    03
    04
    05
    06
    07
    08
    09
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    01
    02
    03
    04
    05
    06
    07
    08
    09
    10
    11
    12
    TSX

    Phone and locale

    The compact calendar inherits Chinese text from the provider.

    390 × 640
    TSX

    API

    Calendar

    PropertyDescriptionTypeDefault Value
    classNameAdditional css classstring | undefined-
    styleAdditional styleCSSProperties | undefined-