Calendar
October 2026
This compound wrapper is a native Solid project extension, not an official Radix React component, and is included in published Themes 0.1.0-rc.4. The public parts, refs, scopes, selection and navigation state remain those of Calendar in Primitives. The wrapper adds Themes styling; it does not add range selection, time, other calendar systems, or a second focus engine.
Select the Calendar CSS Modules, plain CSS or Tailwind archive from the Themes playground. Each generated archive installs exact published Primitives and Themes versions from npm; no local package tarballs are bundled. Extract the archive, run pnpm install and pnpm build.
Styling props
Root accepts size (1, 2, or 3), color, radius, and variant (surface, classic, or soft) in addition to the Calendar Root API. Theme props affect presentation; date value, visible month, bounds, locale, week start, direction, disabled/read-only behavior and explicit today follow the primitive contract. It uses the current Themes tokens/styles and inherits the surrounding Theme configuration. Other parts preserve native part props and forwarded refs.
Use an explicit today and canonical YYYY-MM-DD date-only values. Control value and viewMonth separately when the parent may accept one proposal and refuse the other. Keep each weekday header and week in its Calendar.Row, preserving domain-edge null positions with inert role="gridcell" aria-disabled="true" placeholders rather than invented dates. Localized day labels, six-week grid, RTL keyboard behavior, inclusive bounds, and accessible grid relationships are provided by the native Calendar implementation. See the Primitives API and keyboard reference; this recipe changes visual presentation only.