Skip to main content

react-common

CI @rtorcato/shadcn-ui @rtorcato/react-common License: ISC

react-common is the @rtorcato React monorepo. It publishes two packages to the public npm registry:

  • @rtorcato/shadcn-ui — a React 19 component library built on shadcn/ui, Radix UI, TypeScript, and Tailwind CSS v4.
  • @rtorcato/react-common — the foundation package: headless React hooks plus the cn utility and ThemeProvider, with zero UI dependencies.
Docs are under construction

This site is being built out — track progress in the react-common issues.

Install

pnpm add @rtorcato/shadcn-ui

New here? Start with Getting started, then Tailwind setup and Theming.

Use with AI

The repo ships an in-repo skill so AI coding tools use the packages correctly (barrel vs subpath imports, the styles.css + Tailwind setup, theming).

Claude Code

Install the self-hosted skill in a Claude Code session:

/plugin marketplace add rtorcato/react-common
/plugin install react-common@react-common

Other AI tools (Cursor / Copilot / Codex)

Point the tool at AGENTS.md at the repo root — it carries the same rules in the cross-tool convention many agents read automatically.