z-cal documentation

Start with the README quickstarts. These guides describe the current repository API. For a version-specific snapshot, browse the repository tag matching your installed package (for example, z-cal@0.1.0). Each npm release carries its own README and built type declarations; releases made with the current packaging workflow also include docs/ and llms.txt.

Learn and build

  1. Installation: npm, React dependencies, CSS, Temporal, CDN, runtime support.
  2. Configuration: views, toolbars, sizing, responsive weeks, localization, resources, business hours.
  3. Events and interaction: date semantics, remote sources, mutations, selection, constraints and overlap, persistence.
  4. React: props, instance access, custom toolbars, content slots, server rendering.
  5. Styling: layout, colors, theme tokens, business hours shading, custom event icons.

Look up and troubleshoot

The TypeScript code blocks in the README and these guides are checked by bun run docs:check against the built package, rebuilding it first when it is stale. HTTP endpoints in examples belong to your application; implement them and validate their responses before deploying. The demo stores new events in memory.