Overview
What Forge is and how its five areas fit together.
Ziteox Forge — Overview
Ziteox Forge is Ziteox’s internal toolkit for building Ziteox sites and apps. The team and AI agents use it. Clients never get access. Portals touch it only for oversight.
Forge is organised into five areas. Open question: Laki said “four (main) layers” but named five; five is current until confirmed.
| Area | What it is | Where to start |
|---|---|---|
| Playbook | Docs, guidelines, architecture | This page |
| Library | UI packages and effects | @ziteox/ui, @ziteox/effects |
| Templates | Starter projects | Available (next-site) |
| Systems | Auth, Payments, Email, File storage | Designs; code in the portal repo today |
| Core | Connector, registry, secrets, logging | Design stage |
Forge is a monorepo, not a single application. Packages are consumed by Ziteox product repos via workspace linking or package registry.
Purpose
Forge exists to:
- Share UI components across Ziteox apps without copy-paste
- Encode how Ziteox builds once (docs, guidelines, architecture)
- Reduce integration cost for new projects through documented APIs, templates, and systems
- Support human and AI-assisted development with explicit, structured documentation
Current scope (Library and this repo)
| Area | Location | Status |
|---|---|---|
| UI library | packages/ui (@ziteox/ui) | Active — theme, navigation, branding domains |
| Effects | packages/effects (@ziteox/effects) | Internal — visual effects, not published |
| Docs site | apps/docs | Active — Next.js + fumadocs, renders docs/ |
| Playground | examples/playground | Local dev/demo app |
| Playbook / Systems / Templates / Core docs | docs/ | Playbook active; other areas design or planned |
| Agents | agents/ | Reserved |
| Prompts | prompts/ | Reserved |
| Standards | standards/ + docs/playbook/guidelines/ | In progress |
Packages
@ziteox/ui
React component library. Domain-organized source under packages/ui/src/.
Public domains today:
| Domain | Components |
|---|---|
theme | ThemeProvider, ThemeToggle, AnimatedThemeToggler |
materials | MATERIAL_REGISTRY, materialClassName, MaterialStyles, MaterialSurface |
navigation | HamburgerButton, SiteMenuToggle, ExpandableTabs |
branding | BrandCredit |
@ziteox/effects (internal)
Visual effects as prop-driven React components that can be dropped anywhere: content, size, colours and shapes all come from props. Marked private, so it is not published yet; consume it through the workspace. Each effect has its own entry point, so an app only loads what it imports.
| Entry point | Component |
|---|---|
@ziteox/effects/particle-morph | ParticleMorph — particle field that morphs through a queue of shapes (three.js, loaded lazily) |
@ziteox/effects/interactive-dot-text | InteractiveDotText — any text drawn as pointer-reactive dots |
@ziteox/effects/fluid-orb | FluidOrb — small WebGL orb with a moving fluid surface |
Documentation map
| Document | Audience | Contents |
|---|---|---|
| overview | All | What Forge is and the five areas |
| architecture | Engineers, agents | Five areas, monorepo layout, build, exports |
| getting-started | Engineers | Install and use @ziteox/ui |
| library/components/theme-toggle | Engineers, agents | Per-component API and examples |
| library/effects/particle-morph | Engineers, agents | @ziteox/effects API and live previews |
| component-guidelines | Contributors | Conventions for new work |
The website at apps/docs renders this docs/ folder directly. Run pnpm dev from the monorepo root to preview locally.
Conventions for readers (including AI agents)
- Paths are relative to the
ziteox-forgerepository root unless stated otherwise. - Public API means exported from
packages/ui/src/index.tsor a domain subpath (@ziteox/ui/theme, etc.). - Internal modules (
shared/,animations/) are not part of the public contract. - When implementing features, read domain-boundaries before adding files.
Related directories (not documented here yet)
agents/— agent workflows and automationprompts/— shared prompt templatesstandards/— repo-level standards (non-markdown sources, if any)