Updated: 2026-03-24Language: English
WebBuilder Documentation
Split into clear route sections so each panel card has a dedicated page. This keeps the docs easier to scan while still preserving complete technical coverage.

Editor Guide

The editor runtime is centered around components/builder/builder.tsx and lib/builder-store.ts. It tracks selected components, layout mode, panel state, preview mode, and save state.

Left panel: component library and presets. Center: editable canvas with flow/freeform behavior. Right panel: properties, styles, and global CSS controls.

For production workflows: save regularly, use version history before major changes, and test desktop/tablet/mobile preview widths before exporting.

Authentication Flow

  1. 1. User signs up on /auth/sign-up with email and password.
  2. 2. Supabase sends verification and redirects through /auth/callback.
  3. 3. Callback route exchanges code for session and forwards to /auth/success or /auth/error.
  4. 4. Success/sign-up-success screens poll auth state and redirect to /dashboard when confirmed.
  5. 5. Login supports OTP-based password recovery: request code, verify code, set new password.
  6. 6. Middleware refreshes sessions and keeps auth cookies synchronized across app transitions.

Routes Reference

RouteAccessPurpose
/PublicMarketing homepage and CTA entry point.
/docsPublicDocumentation portal for product and engineering teams.
/auth/loginPublicSign-in with password and OTP recovery flow.
/auth/sign-upPublicSign-up and confirmation handoff.
/auth/sign-up-successPublicVerification waiting state with auto session listener.
/auth/successPublicAccount activation success and redirect state.
/auth/errorPublicAuth fallback with retry and diagnostics message.
/auth/callbackPublicSupabase code-exchange endpoint.
/dashboardProtectedPages and media management center.
/editor/[id]ProtectedMain no-code editor and configuration workspace.
/preview/[id]Public/OwnerRead-only preview and presentation mode route.