Back to gallery
shadcn-ui/lint on GitHub — open-source project preview
shadcn-ui
Built byshadcn-ui/

lint

Stars
3.5k
Forks
0
Watchers
0
Open issues
0
main Updated 11 hours ago~3,458 stars/day lifetime
Editor's take

@shadcn/lint is an agent-first linter for Tailwind v4 design systems, available for both ESLint and Oxlint, with React, Svelte and Vue support. You declare what is allowed on each component, and when an agent breaks a rule the error tells it what to do instead, drawn from your own components, variants and theme. That is the gap TypeScript types leave: they say "no" but not "use size lg". It does not require shadcn/ui. The tradeoff: Tailwind v4 only, and you still have to write the rules, which is real upfront work for a large design system. MIT, about 3.5k stars, from the shadcn team.

Use this if

Agents write most of your Tailwind UI and keep drifting off your spacing and variant rules.

Skip if

You are still on Tailwind v3; it targets v4 projects only.

Design SystemsAI & ML
Quick install
# Clone + explore:
git clone https://github.com/shadcn-ui/lint
cd lint
# Then read the README below for setup steps.

Inferred from package · always double-check against the official README below.

Live data via GitHub REST API · Cached 30 min · Created 24 Nov 2026