packages/
UI
Shared UI primitives.
Nothing under apps/ imports this package today — the web editor builds its UI
from its own components. The primitives are documented here so a future page has a
place to point at.
What it owns
- Button, card, and code primitives for app interfaces
Files
File list and purposes from the folder README.
| File | Purpose |
|---|---|
src/button.tsx | Shared button primitive. |
src/card.tsx | Shared card primitive. |
src/code.tsx | Shared code primitive. |
Dependencies
| Library | Version range | Why it is used here |
|---|---|---|
| React | 19.2.8 | Types the shared button, card, and code primitives. |
| React DOMDeclared but not used in source | 19.2.8 | Renders React trees into the browser document. |
Development and tooling (5)
| Library | Version range | Why it is used here |
|---|---|---|
| @types/node | 26.4.1 | Type declarations for Node.js built-ins. |
| @types/react | 19.2.18 | Type declarations for React. |
| @types/react-dom | 19.2.5 | Type declarations for React DOM. |
| TypeScript | 7.0.2 | Compiles the workspace and type-checks every package. |
| ESLint | 10.9.1 | Lints the codebase from the shared configs. |
Dependencies as of commit b0026d9.
Internal packages used
Talks to
Sources: packages/ui/README.md, packages/ui/src/README.md, packages/ui/src/button.tsx, packages/ui/src/card.tsx, packages/ui/src/code.tsx (documented at commit b0026d9)