Frontend Frameworks & UI¶
This page covers what runs in the browser. For desktop/mobile shells, see Desktop-Mobile.md. For the Next.js server side (API routes), see Backend-Frameworks.md.
Portfolio map¶
| Layer | Default in portfolio |
|---|---|
| Framework | React everywhere (Next.js App Router for full-stack and dashboards; Vite for SPAs). One Angular app (HouseKey public site) |
| Server-rendered templates | EJS + Bootstrap 5 (Toolbelt Handyman, Tutor AI, Sell Me A Pen, APEX Sales Training, Recruiting AI web); Blade + Vite + Tailwind (VotigoPro, Maximus Pet Store); Blade + Bootstrap (Pecos River Traders); static HTML (Go Green Transit landing page, MkDocs Material docs) |
| Styling | Tailwind CSS 3 or 4 in most React apps |
| Components | shadcn/ui + Radix — Workflow Hub, DOC-AI, AI Concierge, GGPI website, Seller AI |
| State | Zustand for client state; TanStack Query for server state |
| Build | Vite for SPAs; Next.js's bundler for full-stack; tsup for libs |
| Language | TypeScript in nearly all apps (HouseKey and the Go Green Transit API are plain JavaScript) |
The "modern full-stack" template that recurs across the portfolio: Next.js (or Express + React) + Tailwind + shadcn/ui + Zustand + TanStack Query + Vitest + Playwright.
React¶
What it is. The view library. Versions 18, 19 (and Next 16's React) across the portfolio, with React 19 in the newer apps (GoGreen Verify 19.3, Seller AI 19, Recruiting AI desktop 19, Jarvis (Tauri) 19.2).
Why React. Network effects — every dev knows it, every UI library targets it, every AI/embed widget speaks it. Every web UI in the portfolio is React except the HouseKey public site (Angular) the server-rendered EJS/Blade apps, and the plain-JavaScript Jarvis (Electron) UI.
Compiler note. No app is documented as using React Compiler (auto-memoization). Manual useMemo/useCallback where needed.
Next.js¶
See Backend-Frameworks.md for full details. Frontend-relevant features:
- App Router — file-based routing with React Server Components (PoligoPro uses the Pages Router on Next 14).
<Image>and<Script>components — auto-optimization.- Turbopack — Next 15+ default dev bundler (Rust-based, replaces webpack dev).
- Server Actions — RPC-style mutations without an explicit API route.
- next-auth v5 (beta) — session handling in SuperCabs.
Next.js is the UI in SuperCabs, Sourcing AI, GameTrakker, Do Me A Ditty, Writers Room, PoligoPro, Workflow Hub, DOC-AI, AutoDiag AI web, AI Concierge dashboard, SmartForms, BidIt web and the HouseKey admin.
Vite¶
What it is. Modern dev-server + bundler. ESM-native dev, Rollup-based production builds. Sub-second HMR.
Used as primary build tool in: - GGPI website (React 18.3 + Vite 5.4 + Tailwind 3.4). - GoGreen Verify (React 19.3 + Vite + Tailwind 4). - GoGreen Seller AI (React 19 + Vite 6 + Tailwind 3.4, inside Electron). - Marketing AI desktop client (React 18.3 + Vite + Tailwind in a Tauri shell). - Recruiting AI and AutoDiag AI desktop clients (React + Vite in Tauri). - Jarvis (Tauri) (React 19.2 + Vite 7 + Tailwind 3.4 + TypeScript 5.9, with Zustand state and a Three.js scene). - BidIt mobile (Vite + React + Capacitor). - AI Concierge embeddable widget (Preact 10 + Vite, Shadow DOM isolation).
Angular¶
What it is. Google's batteries-included TypeScript framework — modules, DI, RxJS, its own CLI.
Used in: HouseKey public site (Angular ^14.3, with chart.js 2 for charts). The HouseKey admin is a separate Next.js 14.2 app.
Why it matters. It is the only non-React web UI in the portfolio, inherited from the original HouseKey build rather than chosen for new work.
Server-rendered templates (EJS, Blade)¶
What it is. HTML rendered on the server from a template language instead of a client-side framework.
Used in: - EJS + Bootstrap 5 — Toolbelt Handyman (Bootstrap 5.3 admin), Tutor AI (Bootstrap 5.3.2 from the jsDelivr CDN across student, parent, teacher and admin views), Sell Me A Pen, APEX Sales Training, Recruiting AI web. - Blade + Vite + Tailwind — VotigoPro (Laravel); Maximus Pet Store (Laravel 12 storefront with Vite 7, Tailwind and Alpine.js alongside Bootstrap). - Blade + Bootstrap — Pecos River Traders (Laravel 12 storefront, admin site and API-backed admin; Vite for assets). - Static HTML/JS — Go Green Transit landing page; the Transit desktop UI is also plain static HTML/JS with no framework.
Why. Admin and back-office screens that need no client-side state are cheaper to ship server-rendered.
Astro (not currently used)¶
What it is. Content-first framework with islands architecture (mostly-static HTML, hydrate only the interactive bits). Beats Next.js for marketing sites.
Why we don't use it. Not used in the portfolio — covered for comparison. Marketing pages live in the GGPI website (a Vite SPA prerendered at build) and the Go Green Transit static landing page.
Preact¶
What it is. 3KB React-API-compatible alternative. Used where bundle size dominates.
Used in: AI Concierge embeddable chat widget (Preact 10 + Vite) — has to be tiny because customers paste it into their own pages, often inside a Shadow DOM for style isolation.
Styling¶
Tailwind CSS¶
What it is. Utility-first CSS framework. class="px-4 py-2 bg-blue-600 hover:bg-blue-700 text-white" instead of separate CSS files. Tree-shaken at build time so unused classes don't ship.
Used in: Tailwind 4 in Workflow Hub, DOC-AI, GoGreen Verify and the Recruiting AI desktop client; Tailwind 3 in Sourcing AI, GGPI website, Seller AI (3.4) and Jarvis (Tauri) (3.4); VotigoPro's Blade front end and the Maximus Pet Store storefront. Also used across the other React apps.
Why we use it. Pace of iteration. No naming, no separate files, no specificity wars. Tradeoff is class-soup HTML — mitigated by component composition + clsx/cva.
Bootstrap 5¶
Used in: the server-rendered EJS apps — Toolbelt Handyman (5.3), Sell Me A Pen, APEX Sales Training, Recruiting AI web and Tutor AI; the Laravel Blade storefronts of Maximus Pet Store and Pecos River Traders also use Bootstrap.
CSS Modules / vanilla CSS¶
Used in: small/legacy surfaces with minimal styling (Go Green Transit's static pages) and the Jarvis (Electron) renderer (plain index.html + styles.css, no framework).
styled-components / Emotion¶
Not used in the portfolio — Tailwind absorbed the role.
Component libraries¶
shadcn/ui¶
What it is. Not a library — a registry of copy-paste components built on Radix UI primitives + Tailwind. You run npx shadcn add button and the source code lands in your repo. No npm dependency, no version skew.
Why we use it. Owns the components, no abandonment risk, fully restyle-able. The dominant pattern in 2025–2026 React apps.
Used in: Workflow Hub (with class-variance-authority), DOC-AI, AI Concierge, GGPI website, GoGreen Seller AI (shadcn style).
Radix UI primitives¶
What they are. Unstyled, accessible primitives — Dialog, Dropdown, Tooltip, etc. shadcn/ui builds on top of these.
Headless UI¶
What it is. Tailwind Labs' alternative to Radix — unstyled accessible primitives for menus, dialogs, etc.
Used in: AutoDiag AI web and the HouseKey admin.
Lucide React¶
What it is. Icon library — fork of Feather icons. Tree-shakeable. Default icon set in shadcn-based apps.
Used in: Workflow Hub, SuperCabs, Sourcing AI, GameTrakker, AI Concierge, GGPI website, Recruiting AI desktop, Jarvis (Tauri), HouseKey admin.
Mantine, Chakra UI, Material UI, Ant Design¶
Not used. Mentioned for comparison.
State management¶
Zustand¶
What it is. A 1KB store library. create((set) => ({...})) and you're done. No actions, no reducers, no boilerplate.
Used in: Workflow Hub, SuperCabs, GoGreen Verify, Seller AI, Marketing AI, GGPI website, the Recruiting AI desktop client, AutoDiag AI desktop, Jarvis (Tauri) (Zustand 5), and the Expo mobile apps. Default for any non-trivial client state.
TanStack Query (formerly React Query)¶
What it is. Server-state cache. Handles fetch, cache, retry, dedup, refetch-on-focus, mutation invalidation. The right answer for "data that lives on the server but I'm displaying in React."
Used in: Workflow Hub, BidIt, AI Concierge, GGPI website, Marketing AI, SmartForms, and the mobile apps.
Why both Zustand AND TanStack Query. They handle different things — Zustand for client state (modal open?, current tab), TanStack Query for server state (the user list, the document). Mixing them in one store is a known anti-pattern.
TanStack Router / TanStack Start¶
Not used in the portfolio — covered for comparison. Routing is Next.js, React Router in the Vite SPAs, and expo-router on mobile.
Redux, Jotai, MobX, Recoil¶
Not used in the portfolio.
React Context API¶
Used pervasively for things that don't justify Zustand (theme, current user, feature flags).
Charts & data visualization¶
| Library | Apps |
|---|---|
| Recharts | SuperCabs, Sourcing AI, GameTrakker, AI Concierge, GGPI website, Marketing AI, AutoDiag AI, SmartForms, HouseKey admin |
| Chart.js | GoGreen Seller AI; HouseKey Angular site (chart.js 2); Tutor AI (analytics and child-progress views, loaded from the CDN) |
| d3 | OpenSentinel |
| @xyflow/react | Workflow Hub (visual workflow canvas) |
Rich-text & specialty inputs¶
| Library | Used in |
|---|---|
| TinyMCE 8 | GGPI website, Marketing AI, BidIt (rich-text editing) |
| KaTeX / Mermaid | Tutor AI (math rendering and diagrams in the student tutor and lesson views) |
| Three.js | Jarvis (Electron) (^0.160, arc-reactor animation); Jarvis (Tauri) (^0.183 with @react-three/fiber and drei) |
| wagmi / viem | BidIt (wallet and on-chain interactions) |
Forms¶
| Library | Where |
|---|---|
| React Hook Form | Implicit in many shadcn/ui apps |
| Zod resolvers | Paired with React Hook Form for runtime validation |
| Formik | Not used |
Real-time on the client side¶
- Socket.IO client — Workflow Hub, BidIt, AI Concierge, GGPI website, SuperCabs.
- Native WebSocket (
ws) — GGPI website chat (/ws/chat), OpenSentinel, and the voice-first apps that bridge to OpenAI Realtime. - Server-Sent Events (SSE) — Vercel AI SDK in Workflow Hub, HouseKey's AI chat stream.
See Caching-Queues-Realtime.md for the server side.
Build tooling¶
- Turbopack — Next.js 15+ dev bundler.
- esbuild — under the hood in Vite and tsup.
- tsup — bundle a TS library to ESM/CJS quickly. Used in OpenSentinel's build.
- SWC — Next.js / Vite's TS/JSX compiler.
- Webpack — inside Next.js prod builds; HouseKey's JavaScript API also builds with Babel/webpack.
- Parcel, Rollup (standalone) — not used.
Linting / formatting¶
- ESLint — universal (a hard CI gate in the GGPI website).
- Prettier — most apps (advisory in GGPI website CI).
- Laravel Pint — Maximus Pet Store (checked in
ci.yml), alongside VotigoPro. - TypeScript strict mode — most apps.
- Biome — not used (Prettier + ESLint still default).
Decision guide¶
Marketing site, no auth? Vite SPA prerendered at build, or static HTML.
Full-stack with auth + db? Next.js App Router.
SPA dashboard, separate API? Vite + React 19.
Embeddable widget? Preact + Vite + Shadow DOM.
Back-office with no client state? Server-rendered EJS or Blade.
Need rich-text editor? TinyMCE (self-hosted).