Get started
Justified by Blackwood & Blake adds four things to a shadcn app:
| Part | What it is | Where |
|---|---|---|
| Rules | How forms, buttons and other parts of an interface should behave, each with a verdict | Patterns |
| Theme | Neutral colours, type, space, focus, layout and motion, with every colour pair contrast-checked | A shadcn registry item |
| Components | shadcn components that already follow the rules: Field, Input, Checkbox and more | The same registry, and Storybook |
| Agent skill | The rules as instructions a coding agent can follow | A Claude Code skill and an AGENTS.md |
You can use any part on its own. The rules are useful without the components, and the components work without an agent. To see which decisions shadcn’s own components leave open, read Is shadcn accessible?
Choose your path
Section titled “Choose your path”- Use Justified with shadcn: add the theme and components to your project with the shadcn CLI.
- Use Justified with an AI agent: let Claude Code in VS Code, or another agent, build and review your interface by the rules.
- Change the theme: use your own colours and keep the contrast.
From npm
Section titled “From npm”Three parts are also published as npm packages, for projects that would rather install and update them like any other dependency:
| Package | What it holds |
|---|---|
| @blackwoodblake/justified-tokens | The theme as CSS custom properties, with a file that maps them to Tailwind CSS v4 |
| @blackwoodblake/justified-patterns | Every rule and guideline as data: verdict, sources, version and full text |
| @blackwoodblake/justified-agents | The Claude Code skill and AGENTS.md as files |
The components are not on npm. Add them with the shadcn CLI, so their code lands in your project.
Before you start
Section titled “Before you start”Most rules and guidelines are decided: what they ask is not expected to change, and any change is listed in their history. The newest are marked proposed: they have been tried and reviewed, but they may still change. Justified helps you work toward WCAG 2.2 AA. It does not make your product compliant on its own and is not a certification; read more.
Justified is an independent project. It is not affiliated with, sponsored or endorsed by the organisations whose guidance it cites. Read the full statement.
Apple is a trademark of Apple Inc., registered in the U.S. and other countries and regions.