Guides
Constraint Demos
This page lists a runnable demo that uses the helper-first constraint layer in a realistic layout.
This page lists a runnable demo that uses the helper-first constraint layer in a realistic layout.
See also:
docs/getting-started/constraints-quickstart.mddocs/reference/constraints-api.mddocs/dev/live-pty-debugging.md(frame-audit workflow)
Demo: Starship (responsive multi-panel app shell)
- Source:
packages/create-rezi/templates/starship/src/ - Highlights:
- viewport-driven
displayconstraints for rails/strips - helper-first visibility constraints inside a larger app-shell layout
- viewport-driven
Run:
npx tsx packages/create-rezi/templates/starship/src/main.tsKeys:
1..6switch routestcycle themeqquit
Frame-audit (worker mode):
: > /tmp/rezi-frame-audit.ndjson
: > /tmp/starship.log
env -u NO_COLOR \
REZI_STARSHIP_EXECUTION_MODE=worker \
REZI_STARSHIP_DEBUG=1 \
REZI_STARSHIP_DEBUG_LOG=/tmp/starship.log \
REZI_FRAME_AUDIT=1 \
REZI_FRAME_AUDIT_LOG=/tmp/rezi-frame-audit.ndjson \
npx tsx packages/create-rezi/templates/starship/src/main.ts
node scripts/frame-audit-report.mjs /tmp/rezi-frame-audit.ndjson --latest-pid