Project-owned design rules. Deterministic feedback for developers and coding agents.
Usual UI is the first open-source tool from Usual Labs. It helps React/Tailwind projects enforce approved values, explicit semantic conventions, and shared component usage. The project owns the contract; its existing coding agent helps discover conventions and repair violations.
Install @usualui/lint from npm. Source is available at usual-labs/usual-ui. The website remains a local preview.
The Usual UI rename is currently available in this source checkout. Published
@usualui/[email protected] still uses the previous command and skill names; see the
upgrade notes before switching an existing project.
Paste this prompt into your coding agent from your React/Tailwind v4 project:
Set up Usual UI in this project. Install the usual-ui-onboarding skill
from usual-labs/usual-ui using `npx skills add`, selecting only this skill
and my current agent at project scope. Read its installed SKILL.md and follow
it now: inspect our design system, install the compatible @usualui/lint CLI,
prepare recommendations and a showcase of our real components, fonts, and
themes, then open the guided wizard for my choices. Preserve
existing policy and unrelated changes. Finish with the saved manifest and the
wizard’s prompt for my approved repair batch.
The agent installs the onboarding skill
through Vercel Skills, reads your code, and prepares the local
wizard. You choose colors, typography, spacing, shape, and components while a
project component showcase updates live. Review the minimal usual.design.json, then select
repairs and copy the generated prompt back to your agent.
Use Node 22.20+ for the Skills installer (the Usual UI CLI itself supports 22.12+). Guided onboarding requires @usualui/lint 0.3.0+. Direct skill install:
npx skills add usual-labs/usual-ui --skill usual-ui-onboardingExisting tokens keep their names. Discovery, recommendations, and deferred work
stay in docs/usual-ui/; the manifest contains only approved policy.
The showcase runs in your project’s development server. Older proposals without
a showcase use an explicitly labeled reference sheet. Project showcases require
@usualui/lint 0.3.0 or later; see the
showcase setup guide.
For manual CLI setup and existing-policy editing, see the usage guide.
An inactive category is entirely unchecked by lint, including new violations. The full audit still reports it. A passing check establishes compliance with the configured active rules and supported analysis; it does not establish visual quality or runtime layout correctness.
- Complete usage and manifest guide
- Compatibility and coverage boundaries
- Local demonstration and release review
- Agent setup and enforcement
- Numeric-cell semantic rules
- Optional rendered checks in existing Playwright tests
Grouped reporting, the numeric utility improvements, rendered teaching examples,
and the optional Playwright entry point are in the current source checkout for the
next release. They are not included in the published @usualui/[email protected] package.
See Unreleased changes for setup and evidence limits.
Source checkouts also contain the website and visual proposal in site/, plus the ordered implementation plan in docs/agents/plans/init/.
The normal checker reads source without executing it, requires no model API key, and adds no telemetry. Your chosen coding agent operates under its own settings. The local wizard embeds a separate project-owned development showcase. The checker and wizard server never import project components; those execute in the project’s own runtime.
Contributions are welcome: reproducible bugs, clearer documentation, better diagnostics, and focused code changes all help. Start with CONTRIBUTING.md, then use the development guide for setup, architecture, targeted tests, and fixtures.
- Support and useful bug reports
- Code of Conduct
- Security reporting and current release support
- Maintainer review and release guide
- Publishing @usualui/lint
Security problems go through private vulnerability reporting; see SECURITY.md.
Licensed under MIT; see third-party notices.