Qwik Date

    Qwik calendar, simple integration.

    August 2024
    SuMoTuWeThFrSa

    > Installation <

    npm install qwik-date

    > Usage <

    import { CalendarInline } from 'qwik-date/inline' //-> inline modeimport { Calendar } from 'qwik-date' //-> inline modeimport { DatePicker } from 'qwik-date' //-> popup modeimport { DatePicker } from 'qwik-date/picker' //-> popup mode

    > API Reference <

    ~Inline mode~

    PropDescriptionDefault
    dateDefault date to be used in the calendartoday
    fullWeeksDisplays full weeks in the calendarfalse
    localeLocale and regional settings for the calendar'en'
    showWeekNumberDisplays the week number in the calendarfalse
    showDaysOfWeekDisplays the days of the week in the calendartrue
    iconLeftIcon to display on the left side of the calendarundefined
    iconRightIcon to display on the right side of the calendarundefined
    containerPropsProps to be passed to the calendar's container-
    headerPropsProps to be passed to the calendar's header-
    actionButtonPropsProps for action buttons in the calendar-
    actionLeftPropsProps for the left action-
    actionRightPropsProps for the right action-
    calendarPropsProps to be passed to the calendar's container-
    theadPropsProps to be passed to the thead element of the calendar-
    tbodyPropsProps to be passed to the tbody element of the calendar-
    theadRowPropsProps to be passed to the rows of the thead-
    tbodyRowPropsProps to be passed to the rows of the tbody-
    headerCellPropsProps to be passed to the header cells-
    cellPropsProps to be passed to the body cells of the calendar-
    dayButtonPropsProps for the buttons representing each day in the calendar-
    iconPropsProps to be passed to the icons of the calendar-
    titlePropsProps to be passed to the calendar's title-
    weekNumberPropsProps to be passed to the week numbers in the calendar-
    onDateChange$Callback function triggered when the date changes in the calendarundefined
    unStyledDisables default stylingfalse
    bind:dateSignal with the default dateundefined

    ~Popup mode~

    Got the same props as the inline mode, but also accepts the following props:

    PropDescriptionDefault
    triggerPropsProps to be passed to the trigger buttonundefined
    triggerIconIcon component to be displayed in the trigger buttonundefined
    triggerLabelLabel for the trigger buttonundefined