Skip to content
BigBang

Popular

    ↑↓Navigate↵OpenEscClose
    TR

    Components

    Calendar

    A month grid for picking one date; in Turkish the week starts on Monday.

    Storybook
    Storybook
    Source
    Source

    Calendar is for picking one date in a month view that stays open on the page: a planning panel, a side column.

    October 2026
    MonTueWedThuFriSatSun
    import { Calendar, Provider, parseDate } from '@bigbang/ui';
    export default function Default() {
    return (
    <Provider locale="en-GB">
    <Calendar defaultValue={parseDate('2026-10-28')} />
    </Provider>
    );
    }
    1. Header: Month and year, with previous and next month buttons on either side.
    2. Weekdays: Short names; the full name is read through abbr.
    3. Day grid: 40 px round days; only days of this month are shown.
    4. Today: A thin inner ring and bold digits.
    • Focus sits on one day; move with the arrows, Page Up/Down and Home/End, and the month changes when needed.
    • Month buttons beyond min and max are disabled.
    • When the visible month changes, the header is announced politely.
    • The value is an @internationalized/date CalendarDate; there is no time zone or JS Date drift.
    • State limits both with min/max and in text.
    • Explain status dots on the page too; colour alone carries no meaning.
    • For far dates such as birth dates, favour DatePicker’s typed entry over the calendar.
    Turkish English
    Önceki ay Previous month
    Sonraki ay Next month
    bugün today
    seçilemez unavailable