A clickable replica of OpenFn Lightning's
UI, page for page, as a plain React app with no backend. It started life as an
information architecture (iA) experiment; it now mirrors Lightning 1:1 so it can
be cross-referenced with the behaviour audit in Lightning's annotations/
folder and then wired up to the real backend.
- Every route is a Lightning URL.
src/App.tsxlists them, each commented with its id from the audit'sannotations/INVENTORY.md. - Every page renders from static fixtures in
src/mock-data/, modelled on Lightning's demo seed. Buttons that would talk to a server only change local state. - The look is Lightning's own: its side menu, header, buttons, tables and
modals, its
primary/secondarycolour names and itshero-*icon classes. The Style Picker (bottom right) can re-skin it; Lightning v2 is the default.
npm install
npm run dev # the app
npm run storybook # the component library on :6006
npm run build # typecheck and build
npm run lintThe app uses hash routing, so a page's address looks like
/#/projects/<project-id>/history.
See CLAUDE.md for how the code is organised and the rules for adding pages and components.