Skip to content

onsystem

Catches off-system colors, native elements and invented variants in code that coding agents write.

onsystem.vercel.app

onsystem website screenshot
Added
GitHub stars
2
License
MIT
Price
Free

About

About onsystem

onsystem guards a React design system against drift from AI coding agents. It runs a check at every edit and pull request and flags hardcoded palette colors, off-scale spacing, native elements where a component exists, and variants or props the system does not have, each with a suggested fix such as swapping a hex border for the destructive token. An MCP server exposes your components, cva variants, tokens and docs to the agent.

Run npx -y onsystem check . to try it; the site also has a browser demo and a GitHub Action that checks only changed lines. Set it up once in a design-system package and every app in a monorepo inherits it. It runs locally, is MIT licensed, and works alongside the shadcn lint package. The project is young, with few GitHub stars.

onsystem features

5 features

  • MCP server with components, variants and tokens
  • Lint rules for hardcoded colors and spacing
  • Flags native elements and unknown variants
  • GitHub Action that checks changed lines
  • Runs locally with no config in shadcn/ui apps

Install onsystem

1 command

Terminal

$ npx -y onsystem check .

What you can build with onsystem

3 use cases

  • Stopping an agent from writing hex colors in a Next.js app
  • Enforcing one design system across a monorepo
  • Reviewing agent-written pull requests against component APIs

1 link

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What onsystem is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro