Substratal Apps Substratal Apps Hub specs
GitHub

Platforms

Web app UI

Substratal Hub for Web (PWA). Responsive PWA based on the macOS design; WCAG 2.2.

Stack
TypeScript, React, React Aria, TanStack, Workbox
Notifications
Web Push (VAPID)
Reference screens
59 × light + dark
Screens specified
75

Platform spec All 75 screens Mockup index Markdown for AI tools

Documents

Platform documents first, then the shared spec in reading order. Every page also has its Markdown source.

Web

Shared spec (all platforms)

Reference screens

Rendered in Moss Paper (light) and Forest Floor (dark). Click a screen to compare modes or open the live mockup in your chosen theme.

Desktop

ACC-04Security desktop Live mockupSpec
ACX-01/03Access turn off desktop Live mockupSpec
APL-03Application desktop Live mockupSpec
APL-07Push credentials desktop Live mockupSpec
APP-01Home desktop Live mockupSpec
AUD-01/02Audit desktop Live mockupSpec
AUTH-01/02Sign in desktop Live mockupSpec
BIL-01My plan desktop Live mockupSpec
GLB-01Command palette desktop Live mockupSpec
KEY-01/03Api keys secret desktop Live mockupSpec
NTF-01/02Inbox desktop Live mockupSpec
NTF-03Devices desktop Live mockupSpec
ORG-06Org apps seats desktop Live mockupSpec
ROL-02Role desktop Live mockupSpec
SET-01Appearance themes desktop Live mockupSpec
SET-02App settings desktop Live mockupSpec
USR-01Multiselect preview desktop Live mockupSpec
USR-01Users desktop Live mockupSpec
WHK-03Deliveries desktop Live mockupSpec

Phone

ACC-04Security phone Live mockupSpec
ACX-01/03Access turn off phone Live mockupSpec
ACX-02Sheet phone Live mockupSpec
APL-03Application phone Live mockupSpec
APL-07Push credentials phone Live mockupSpec
APP-01Home phone Live mockupSpec
APP-01Long press phone Live mockupSpec
AUD-01/02Audit phone Live mockupSpec
AUTH-01/02Sign in phone Live mockupSpec
BIL-01My plan phone Live mockupSpec
GLB-02Manage hub phone Live mockupSpec
KEY-01/03Api keys secret phone Live mockupSpec
NTF-01/02Inbox phone Live mockupSpec
NTF-03Devices phone Live mockupSpec
ORG-06Org apps seats phone Live mockupSpec
ROL-02Role phone Live mockupSpec
SET-01Appearance themes phone Live mockupSpec
SET-02App settings phone Live mockupSpec
USR-01Swipe pull phone Live mockupSpec
USR-01Users phone Live mockupSpec
WHK-03Deliveries phone Live mockupSpec

Tablet

ACC-04Security tablet Live mockupSpec
ACX-01/03Access turn off tablet Live mockupSpec
ACX-01Two pane tablet Live mockupSpec
APL-03Application tablet Live mockupSpec
APL-07Push credentials tablet Live mockupSpec
APP-01Home tablet Live mockupSpec
AUD-01/02Audit tablet Live mockupSpec
AUTH-01/02Sign in tablet Live mockupSpec
BIL-01My plan tablet Live mockupSpec
KEY-01/03Api keys secret tablet Live mockupSpec
NTF-01/02Inbox tablet Live mockupSpec
NTF-03Devices tablet Live mockupSpec
ORG-06Org apps seats tablet Live mockupSpec
ROL-02Role tablet Live mockupSpec
SET-01Appearance themes tablet Live mockupSpec
SET-02App settings tablet Live mockupSpec
USR-01Users tablet Live mockupSpec
WHK-03Deliveries tablet Live mockupSpec
sidebar-drawer tablet Live mockup

Theme code & brand assets

This platform's native implementation of the 10 themes; rules are in THEMES. App icons and logo files are in web/brand-assets/.

Team handoff

Standard: Responsive PWA based on the macOS design; WCAG 2.2 · Stack: TypeScript, React, React Aria, TanStack, Workbox API: Substratal Apps Platform API v1.4.0 (openapi 1.0.0-draft.3) — https://compositecode.github.io/substratalapps.com/

Web-specific: the responsive layout classes, input adaptation, PWA, live system preferences and platform APIs are in PLATFORM-SPEC §3–§8; per-screen behavior at each size is in §12.

Reading order

  1. shared/CHANGES.md — what's new in this edition (push notifications, Free/Standard billing)
  2. shared/PRODUCT-SPEC.md — scope, personas, domains, phases, acceptance criteria
  3. PLATFORM-SPEC.md — how this app is built on Web (PWA)
  4. SCREENS.md — all 75 screens with native containers and controls (the build checklist)
  5. shared/CLIENT-ARCHITECTURE.md — sessions, request conventions, Capabilities, push and inbox (§6), billing hand-off (§9)
  6. shared/UX-FLOWS.md (+ shared/flows/*.svg) — the 16 end-to-end flows
  7. mockups/index.html / screens/ — reference renders in the default light (Moss Paper) and dark (Forest Floor) themes; ?mode=dark&light=<id>&dark=<id> previews any theme
  8. While building: shared/COMPONENTS.md, shared/COPY-AND-STATES.md, shared/ACCESSIBILITY.md, shared/NON-FUNCTIONAL.md, shared/OPEN-QUESTIONS.md, shared/API-SCREEN-MAP.csv

Themes: theme/ has this platform's implementation of the 5 light and 5 dark themes. Rules are in shared/THEMES.md; wiring is in PLATFORM-SPEC.md (Theming section).

Logo & app icon: brand-assets/ has every icon and logo file this app needs. Wiring is in PLATFORM-SPEC.md (Brand & app icon section) and rules in shared/brand/BRAND.md.

Definition of done (per screen)

  • Elements, data bindings and API calls match SCREENS.md
  • Reachable by its route / deep link; restores state from the route
  • Gated by Capabilities per shared/INFORMATION-ARCHITECTURE.md §2
  • Loading, empty, error (401/403/404/409/422/429/503) and offline states
  • Idempotency-Key on creates, If-Match on edits, conflict handling
  • Every gesture/shortcut has a visible equivalent; screen reader and largest text size pass
  • Copy matches shared/COPY-AND-STATES.md
  • Correct in both default themes and in every other theme (colours only from theme roles, no literals); high-contrast modes fall back to system colours
  • Logo and icons come only from brand-assets/ (no redraws), with accessible name "Substratal Apps"
  • Flag-gated features (notifications, push, billing) hide cleanly on 501

For AI tools (Claude, Codex, Cursor…)

Plain-text entry points with absolute links, so an agent can read this platform's spec without parsing the site.

Open mockup ↗