Ecme logoEcme logo
Dashboard
    Ecommerce
    Project
    Marketing
    Analytic
Network
    BGP
      Peer
      RTBH
Netflow
    Dashboard
    Flow Analysis
      Top Talkers
      Flow Explorer
      IP Analyzer
    Threats
      Active Attacks
      Mitigation
    System
      Diagnostics
DPI
    Overview
    Traffic Logs
    Analysis
      IP Analysis
      Domain Check
      Unmapped ASNs
      Uncategorized Domains
    Threats
      Blacklists Data
      Blocklist Sources
      Threat Feeds
    Configuration
      Senders
      Ignored Domains
      Webhooks & Alerts
      System Maintenance
    Datasets
      IP Dataset
      Domain Dataset
Concepts
    AI
      Chat
      Image
    Projects
      Scrum Board
      List
      Details
      Tasks
      Issue
    Customer
      List
      Edit
      Create
      Details
    Products
      List
      Edit
      Create
    Orders
      List
      Edit
      Create
      Details
    Account
      Settings
      Activity log
      Roles & Permissions
      Pricing
    Help Center
      Support Hub
      Article
      Edit Article
      Manage Article
    Calendar
    File Manager
    Mail
    Chat
UI Components
    Common
      Button
      Grid
      Typography
      Icons
    Feedback
      Alert
      Dialog
      Drawer
      Progress
      Skeleton
      Spinner
      Toast
    Data Display
      Avatar
      Badge
      Calendar
      Cards
      Carousel
      Table
      Tag
      Timeline
      Tooltip
    Forms
      Checkbox
      Date Picker
      Form Control
      Input
      Input Group
      Radio
      Segment
      Select
      Slider
      Switcher
      Time Input
      Upload
    Navigation
      Dropdown
      Menu
      Pagination
      Steps
      Tabs
    Graph
      Charts
      Maps
Authentication
    Sign In
      Simple
      Side
      Split
    Sign Up
      Simple
      Side
      Split
    Forgot Password
      Simple
      Side
      Split
    Reset Password
      Simple
      Side
      Split
    Otp Verification
      Simple
      Side
      Split
Others
    Access Denied
    Landing
Guide
    Documentation
    Shared Component
    Utilities
    Changelog
Copyright © 2026 Ecme All rights reserved.
Term & Conditions | Privacy & Policy

Calendar

Calendar component is used for categorize content with a keyword.

Basic

Basic usage of Calendar.
MoTuWeThFrSaSu

Range

RangeCalendar have similar behavior with Calendar, but it able to select start and end date.
MoTuWeThFrSaSu

Custom render

You can render custom day elements or apply styles & className to days with these dayStyle, dayClassName & renderDay props.
MoTuWeThFrSaSu

Disabled certain date

Disabled part of dates by using disabledDate prop callback.
MoTuWeThFrSaSu

Disable out of period date

Setting minDate & maxDate props to limit available date within a period.
MoTuWeThFrSaSu

Multiple date view

Calender or RangeCalendar can have mutiple date view by setting dateViewCount more than 1.
MoTuWeThFrSaSu
MoTuWeThFrSaSu

Multiple selection

Calendar component allow multiple dates selection by setting multipleSelection props
MoTuWeThFrSaSu

API

Calendar
PropDescriptionTypeDefault
dateViewCountAmount of date view display in pickernumber1
dayClassNameApply className to days based on argument(date: Date, modifiers: {disabled: boolean, weekend: boolean, selectedInRange: boolean, selected: boolean, inRange: boolean, firstInRange: boolean, lastInRange: boolean, outOfMonth: boolean}) => string-
dayStyleApply style to days based on argument(date: Date, modifiers: {disabled: boolean, weekend: boolean, selectedInRange: boolean, selected: boolean, inRange: boolean, firstInRange: boolean, lastInRange: boolean, outOfMonth: boolean}) => CSSProperties-
defaultMonthDefault month for uncontrolled DatePickerRangeDate-
defaultViewDefault DatePickerRange view'date' | 'month' | 'year' 'date'
disabledDateSpecify the date that cannot be selected(date: Date) => boolean-
disableOutOfMonthWhether to disable days that out of given monthbooleanfalse
enableHeaderLabelWhether to disable header label to trigger view changebooleantrue
firstDayOfWeekFirst day of week'sunday' | 'monday''monday'
hideOutOfMonthDatesWhether to hide days that out of given monthbooleanfalse
hideWeekdaysWhether to hide week daysbooleanfalse
isDateFirstInRangeHighlight date as first in a range(date: Date, modifiers: {disabled: boolean, weekend: boolean, selectedInRange: boolean, selected: boolean, inRange: boolean, firstInRange: boolean, lastInRange: boolean, outOfMonth: boolean}) => boolean-
isDateInRangeHighlight date in a range(date: Date, modifiers: {disabled: boolean, weekend: boolean, selectedInRange: boolean, selected: boolean, inRange: boolean, firstInRange: boolean, lastInRange: boolean, outOfMonth: boolean}) => boolean-
isDateLastInRangeHighlight date as last in a range(date: Date, modifiers: {disabled: boolean, weekend: boolean, selectedInRange: boolean, selected: boolean, inRange: boolean, firstInRange: boolean, lastInRange: boolean, outOfMonth: boolean}) => boolean-
labelFormatSeperator between date display on inputstring'~'
localeDatePickerRange localedayjs localeen
lockViewWhether to lock the year or month selection on changebooleanfalse
maxDateMaximum date to selectDate-
minDateMinimum date to selectDate-
monthLabelFormatMonth label formatstring'YYYY'
onChangeCallback when date is selectedfunction(date: Date) -
onDayMouseEnterCallback when date is hoveredfunction(date: Date) -
paginateByPaginate by count of viewnumberdateViewCount | 1
preventFocusPrevent focusing upon clickbooleanfalse
rangeHighlight given date range[Date | null, Date | null]-
renderDayRender custome day element based on the given params(date: Date) => ReactNodefalse
valueValue of calender (Controlled)Date-
weekdayLabelFormatFormat for weekday displaystring'dd'
weekendDaysIndicate the days of weekendnumber[][0, 6]
yearLabelFormatYear label formatstring'YYYY'
RangeCalendar
PropDescriptionTypeDefault
dateViewCountAmount of date view display in pickernumber1
dayClassNameApply className to days based on argument(date: Date, modifiers: {disabled: boolean, weekend: boolean, selectedInRange: boolean, selected: boolean, inRange: boolean, firstInRange: boolean, lastInRange: boolean, outOfMonth: boolean}) => string-
dayStyleApply style to days based on argument(date: Date, modifiers: {disabled: boolean, weekend: boolean, selectedInRange: boolean, selected: boolean, inRange: boolean, firstInRange: boolean, lastInRange: boolean, outOfMonth: boolean}) => CSSProperties-
defaultMonthDefault month for uncontrolled DatePickerRangeDate-
defaultViewDefault DatePickerRange view'date' | 'month' | 'year' 'date'
disabledDateSpecify the date that cannot be selected(date: Date) => boolean-
disableOutOfMonthWhether to disable days that out of given monthbooleanfalse
enableHeaderLabelWhether to disable header label to trigger view changebooleantrue
firstDayOfWeekFirst day of week'sunday' | 'monday''monday'
hideOutOfMonthDatesWhether to hide days that out of given monthbooleanfalse
hideWeekdaysWhether to hide week daysbooleanfalse
isDateFirstInRangeHighlight date as first in a range(date: Date, modifiers: {disabled: boolean, weekend: boolean, selectedInRange: boolean, selected: boolean, inRange: boolean, firstInRange: boolean, lastInRange: boolean, outOfMonth: boolean}) => boolean-
isDateInRangeHighlight date in a range(date: Date, modifiers: {disabled: boolean, weekend: boolean, selectedInRange: boolean, selected: boolean, inRange: boolean, firstInRange: boolean, lastInRange: boolean, outOfMonth: boolean}) => boolean-
isDateLastInRangeHighlight date as last in a range(date: Date, modifiers: {disabled: boolean, weekend: boolean, selectedInRange: boolean, selected: boolean, inRange: boolean, firstInRange: boolean, lastInRange: boolean, outOfMonth: boolean}) => boolean-
labelFormatSeperator between date display on inputstring'~'
localeDatePickerRange localedayjs localeen
lockViewWhether to lock the year or month selection on changebooleanfalse
maxDateMaximum date to selectDate-
minDateMinimum date to selectDate-
monthLabelFormatMonth label formatstring'YYYY'
onChangeCallback when date is selectedfunction(date: Date) -
onDayMouseEnterCallback when date is hoveredfunction(date: Date) -
paginateByPaginate by count of viewnumberdateViewCount | 1
preventFocusPrevent focusing upon clickbooleanfalse
rangeHighlight given date range[Date | null, Date | null]-
renderDayRender custome day element based on the given params(date: Date) => ReactNodefalse
singleDateOnly one date can be selectedboolean false
valueValue of calender (Controlled)[Date | null, Date | null]-
weekdayLabelFormatFormat for weekday displaystring'dd'
weekendDaysIndicate the days of weekendnumber[][0, 6]
yearLabelFormatYear label formatstring'YYYY'
TABLE OF CONTENT
  • Basic
  • Range
  • Custom render
  • Disabled certain date
  • Disable out of period date
  • Multiple date view
  • Multiple selection