Skip to content
Jupiter documentation
Menu

Page recipes

The five page shapes (list, detail, form, dashboard, kiosk) and the scaffold that generates each.

Five page shapes cover almost everything. Generate one, then change the content, not the structure:

It creates the component, a test and the route. Run npm test and npm run lint:style -w apps/admin after.

Data#

Every page reads from a createCollection (@belikh/jupiter-ui/mock.ts) through useCollection, so saves are optimistic, work offline, detect conflicts and go stale with a Refresh. Show that state with SyncStatus and ConflictPrompt. There is no real backend: replace mock.ts when there is one, and the pages do not change.

Look and feel#

Tokens only (var(--jp-*)), type from --jp-fs-*, logical CSS properties, Modal/Drawer for overlays (native <dialog>), Menu for action lists (popover), an Undo toast for reversible actions. See AGENTS.md for the full rules and the component table.

Source: belikh/design v1.5.11