Skip to content

Example app

The monorepo includes apps/example — an Expo Router app with one screen per component. Use it for native visual QA; docs previews are CSS staging and do not replace simulator/device checks.

From the repository root:

Terminal window
bun install
cd apps/example
bun run ios # iOS simulator (dev client)
# or
bun run android # Android emulator
# or
bun run start # Expo Go / dev client picker

Requirements match Getting started: React Native 0.83+, Reanimated, Gesture Handler, Safe Area Context.

ScreenWhat to check
ModalHost inset, form modal keyboard, full-screen mode
DialogConfirmation + form-in-dialog layouts
AlertDialogStandard + destructive confirmations

See Modal, Dialog, AlertDialog.

ScreenWhat to check
AlertCompound AlertTitle + Typography severity colors
ToastAction label contrast; status variants
SnackbarElevated surface on app background
Badge / ChipVisible fills on default app canvas
  • Button, Input, Form, Card — copy and spacing agents should mirror
  • BottomSheet, Drawer — gesture and safe-area behavior

Full pass/fail checklist (iPhone + Android, light + dark): see the repo file .planning/device-qa-checklist.md or the Visual Baseline → Native QA section.

When generating UI:

  1. Prefer patterns from example app source (apps/example/app/components/*.tsx) over inventing layout.
  2. Use compound helpers (ModalHeader, ModalFooter, AlertTitle) — not manual white boxes or hardcoded padding.
  3. Confirm overlays and status surfaces on the example app before claiming “production ready.”