Install the review layer
npm install @lyba/react, then render <LybaReview /> once near the root, gated to non-production builds.Lyba adds client review to React deploy previews. CI creates a review round for each preview, you send one link, and clients comment on the real build — no account, no login. Each comment records the page and screen size, and each round stays connected to the commit under review, so later changes never blur what the client saw.
npm install @lyba/react, then render <LybaReview /> once near the root, gated to non-production builds.npx @lyba/cli session create runs after the preview deploys. It detects the URL, commit, branch and PR, and prints the review link.enabled expression. On production builds it mounts nothing, and Lyba also refuses to activate when it confidently detects a production environment.// app/layout.tsx
import { LybaReview } from "@lyba/react";
<LybaReview enabled={process.env.NEXT_PUBLIC_VERCEL_ENV !== "production"} /># .github/workflows/preview.yml
- run: npx @lyba/cli session create
env:
LYBA_API_KEY: ${{ secrets.LYBA_API_KEY }}One review link opens your deploy preview with the review layer active. Your client types their name and starts. No signup, no seat.
Anything with stable preview URLs. Vercel, Netlify and Cloudflare Pages are auto-detected; other CI can pass --preview-url.
No. Gate it with an enabled expression that is false in production. Lyba also applies its own production check, and the review layer only mounts when a valid review token is present.
No. Bug-reporting tools are built for QA and engineering triage. Lyba is for client review and sign-off on previews — organised into rounds, with a record of what each client approved.
Yes. @lyba/react renders the overlay; @lyba/cli creates the round from CI. Both are free on npm.
If you send a strict Content-Security-Policy, add Lyba's API origin to connect-src. Otherwise the toolbar can load but fail to validate the review link.
Collect feedback on the real preview, work through it round by round, and preserve the approval against the right commit.
Start free trial14 days free · No card · Set up in a minute