shadcn-cssinjs

shadcn/ui-style components styled with StyleX.

The shadcn-cssinjs website, as captured on 21 Nov 2026
Screenshot of shadcn-cssinjs.com, 21 Nov 2026
Best for
React teams that like the shadcn/ui look but use StyleX rather than Tailwind CSS for styling.
Main limitation
Components are styled with StyleX only, so projects using Tailwind CSS or other styling need a different library.
Free option
Free forever · MIT
Rights
Commercial use · No credit needed
Last checked
21 Nov 2026

Plans and rights

FactRegistry (open source)Best free option
PriceFree
Free accessFree forever1
LicenseMIT2
Commercial useAllowed3
Visible creditNot required4
License noticeKeep license with files4
Client workAllowed3
Resell as a templateAllowed3
Checked21 Nov 2026

Sources

  1. Permission is hereby granted, free of charge, to any person obtaining a copy

    raw.githubusercontent.com · Checked 25 Nov 2026

  2. MIT License

    raw.githubusercontent.com · Checked 25 Nov 2026

  3. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell

    raw.githubusercontent.com · Checked 25 Nov 2026

  4. The above copyright notice and this permission notice shall be included in all

    raw.githubusercontent.com · Checked 25 Nov 2026

Summary of the vendor's terms as checked on the dates shown. Not legal advice; read the license before you ship. Report an inaccuracy

About shadcn-cssinjs

shadcn-cssinjs is a registry of copy-paste React components that follow the shadcn/ui design but swap the styling layer: the components use StyleX, a CSS-in-JS library, instead of Tailwind CSS, and are built on Base UI primitives. They install through the shadcn command-line tool from a registry URL. The documentation covers installation, theming, right-to-left support, a registry guide, an MCP server and a changelog, plus pages for each component such as accordion, alert, button, calendar, card, carousel and chart. It is an unofficial community port, not affiliated with shadcn, maintained under the Shadcn Labs organization on GitHub.

How it compares

Base CN also uses Base UI primitives and the copy-the-source workflow, but it styles with Tailwind CSS, is MIT licensed, and is React only. ReUI builds on shadcn/ui with free examples and Pro blocks sold for 249 USD once, so it offers more finished pages and templates. shadcn-cssinjs is also MIT licensed and installs from a registry URL, so it suits projects that want the shadcn look styled with StyleX rather than Tailwind CSS. The tradeoff is a StyleX-only styling layer.

Tool
React

Questions

Is shadcn-cssinjs free?

Yes. The Registry (open source) plan is free forever.

Can I use shadcn-cssinjs for commercial projects?

Yes, on the Registry (open source) plan, according to the vendor's terms as checked on 21 Nov 2026.

Do I need to credit shadcn-cssinjs?

No visible credit is needed on the Registry (open source) plan. You do need to keep the license notice with the files or code you distribute.

Alternatives

More UI kits
  • Base CNshadcn/ui-style components built on Base UIFree.Commercial use · No credit needed
  • Shadcn LabsIndependent open-source projects extending shadcn/uiFree.Check rights on profile
  • Re UIshadcn/ui components, Pro blocks, icons and templatesFree plan + paid.Commercial use · No credit needed
  • BlocksCopy-paste React blocks built on shadcn/ui and TailwindFree.Commercial use · No credit needed
  • UIAbleShadcn-based blocks, components and templates for ReactFree plan + paid.Commercial use · No credit needed