Skip to main content

Getting started

Two pages — read in order:

  1. Installation — install the package, its peer dependencies, and place <RiftProvider> correctly for your framework (Next.js App Router, Pages Router, Vite SPA, Astro).
  2. Your first checkout — the full happy path in one runnable example: event display → availability → reservation → captcha → checkout → status polling. Copy it into your app and modify from there.

After both of these, the API reference covers every prop, hook return, and error code in detail.