Installation
Get started with GoBrand React Calendar
Install
pnpm add @gobrand/react-calendar @js-temporal/polyfill
# or
npm install @gobrand/react-calendar @js-temporal/polyfillThe React package includes the core library - no separate installation needed.
TypeScript
The package is written in TypeScript and includes type definitions. No additional @types packages needed.
Temporal
Import Temporal from the polyfill you installed above:
import { Temporal } from '@js-temporal/polyfill';
const today = Temporal.Now.plainDateISO();
const meeting = Temporal.ZonedDateTime.from('2025-01-20T14:00:00-05:00[America/New_York]');