Cubix
The design system your team owns.
Tokens, three bases, agent UI, Typeset, and RTL - installed as source in your repo. Agents run the same CLI you do.
- .next
- app
- favicon.ico
- globals.css
- layout.tsx
- page.tsx
- components
- lib
- node_modules
- public
- .gitignore
- eslint.config.mjs
- next-env.d.ts
- next.config.ts
- package.json
- postcss.config.mjs
- README.md
- tsconfig.json
- 42 ready components
- 3 primitive bases
- Agent UI
- HTTP MCP
- Typeset
- RTL & Persian
- Owned source
How your agent installs Cubix and builds the UI
Connect MCP for live registry tools, install the Cubix Skill for composition rules, then search and add owned source - every step is real.
https://cubixflow.ir/api/mcpOne MCP URL for every client - setup guides. Pair with npx skills add aminebdali1992/cubix-design-system
Waiting for registry install, then the preview builds field by field.
One visual API. Three primitive backends.
Base UI, React Aria, and Radix stay first-class. Switch with --base without rewriting product UI.
Base UI
Default Cubix primitive layer. Compose with render props and tokens.
npx cubix-ui@latest add button --base baseSame form API on Base UI
Tokens, type, and locale as the foundation
Cubix ships more than components. Theming, Typeset, and RTL are part of the contract.
Tokens first
One oklch contract for light and dark. Restyle the system from CSS variables - never chase hex inside components.
Typeset
Owned rhythm for UI, docs, and chat. Streaming-stable prose that stays on the same scale as the rest of the system.
RTL ready
Logical properties, locale-aware direction, and Persian-first foundations - built in, not bolted on after English ships.
Own every line. Update when you choose.
Init, add, review the diff, then overwrite on purpose - not a silent dependency bump.
Component source lands in your repo - you own it. Registry dependencies and npm packages resolve with the CLI, and upgrades stay intentional.
Everything you need to ship with Cubix
Docs for decisions, components for product UI, CLI for the developer loop.
Get started
Ship the system. Keep the source.
Initialize Cubix in your app, pull the components you need, and let agents work against the same registry.