learn
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.

FilePurpose
src/button.tsxShared button primitive.
src/card.tsxShared card primitive.
src/code.tsxShared code primitive.

Dependencies

LibraryVersion rangeWhy it is used here
React19.2.8Types the shared button, card, and code primitives.
React DOMDeclared but not used in source19.2.8Renders React trees into the browser document.
Development and tooling (5)
LibraryVersion rangeWhy it is used here
@types/node26.4.1Type declarations for Node.js built-ins.
@types/react19.2.18Type declarations for React.
@types/react-dom19.2.5Type declarations for React DOM.
TypeScript7.0.2Compiles the workspace and type-checks every package.
ESLint10.9.1Lints 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)

On this page