Files
shadcn-ui/templates/react-router-monorepo
shadcn 55ea86f252 chore: update templates (#10786)
* chore: update templates

* fix(cli): parse pnpm workspace packages

* chore(changeset): add shadcn patch

* chore(changeset): update description

* ci(templates): validate bun and npx init

* ci(templates): expand package manager validation

* ci(templates): parallelize validation

* ci(templates): allow yarn template lockfiles

* fix(cli): allow yarn template installs in ci
2026-05-27 21:08:26 +04:00
..
2026-05-27 21:08:26 +04:00
2026-05-27 21:08:26 +04:00
2026-02-26 13:17:43 +04:00
2026-02-26 13:17:43 +04:00
2026-05-27 21:08:26 +04:00
2026-02-26 13:17:43 +04:00
2026-02-26 13:17:43 +04:00
2026-02-26 13:17:43 +04:00

shadcn/ui monorepo template

This is a React Router monorepo template with shadcn/ui.

Adding components

To add components to your app, run the following command at the root of your web app:

pnpm dlx shadcn@latest add button -c apps/web

This will place the ui components in the packages/ui/src/components directory.

Using components

To use the components in your app, import them from the ui package.

import { Button } from "@workspace/ui/components/button";