sheengemologic ui
All components

Calendar

An always-visible locale-aware calendar with Ark-backed grid keyboard interaction.@gemologic/sheen-date · date and time

Playground

This example has no scalar controls. Its validated source remains interactive below.
Deployment date
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
<Calendar label="Deployment date" name="deploymentDate" defaultValue={createCalendarDate(2026, 9, 8)} defaultVisibleDate={createCalendarDate(2026, 9, 1)} />

Variant matrix

Deployment date
Deployment date
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10

Anatomy

Package
@gemologic/sheen-date
Source
packages/date/src/Calendar.tsx
Tokens
  • --sheen-color-bg
  • --sheen-color-accent
  • --sheen-color-focus-ring

Accessibility

Role: application calendar gridKeyboard: Arrow keys, PageUp, PageDown, Home, End, Enter, Space

Do

  • Provide defaultVisibleDate for empty SSR output near the application's working date.

Do not

  • Do not derive initial visible dates from the browser clock during hydration.

Generated props

NameTypeDefaultDescription
label *stringRequired visible calendar label.
valueCalendarDate | nullApp-owned Sheen CalendarDate, or null for no selection.
defaultValueCalendarDate | nullInitial uncontrolled selection.
onValueChange(value: CalendarDate | null) => voidReceives requested Sheen-owned selection changes.
minValueCalendarDateEarliest selectable calendar date.
maxValueCalendarDateLatest selectable calendar date.
isDateUnavailable(value: CalendarDate) => booleanMarks otherwise in-range dates unavailable using Sheen CalendarDate values.
defaultVisibleDateCalendarDateDeterministic initially visible month; empty calendars otherwise use 2000-01-01.
localestringExplicit BCP 47 locale, defaulting to theme context.
calendarstringOptional Unicode calendar identifier affecting presentation and interaction, not the stored ISO date.
namestringNative form field name for the YYYY-MM-DD projection.
formstringOptional external form owner.
requiredbooleanfalseMarks the calendar selection required for accessible semantics.
disabledbooleanfalsePrevents focus and selection.
readOnlybooleanfalseAllows inspection while rejecting selection changes.
Native Solid/HTML attributes remain available and are omitted from this authored-prop view.