---
title: shadcn/ui
description: Learn how to use shadcn/ui in a Turborepo.
url: "https://turborepo.dev/docs/guides/tools/shadcn-ui"
docs_index: /llms.txt
lastUpdated: 2026-11-20
product: turborepo
type: integration
summary: Initialize and use shadcn/ui components in your Turborepo monorepo.
related:
  - /docs/guides/tools/tailwind
  - /docs/guides/tools/storybook
---

> For an index of all documentation, see [/llms.txt](/llms.txt).

[shadcn/ui](https://ui.shadcn.com/docs/monorepo) is an open-source set of beautifully designed components made with Tailwind CSS that you can copy and paste into your apps.

To get started with shadcn/ui in a new monorepo, run:

#### pnpm

```bash title="Terminal"
pnpm dlx shadcn@latest init
```

#### yarn

```bash title="Terminal"
npx shadcn@latest init
```

#### npm

```bash title="Terminal"
npx shadcn@latest init
```

#### bun

```bash title="Terminal"
bunx shadcn@latest init
```

#### nub

```bash title="Terminal"
nubx shadcn@latest init
```

#### aube

```bash title="Terminal"
aubx shadcn@latest init
```

When prompted, select the option for monorepos.

To add a component, run:

#### pnpm

```bash title="Terminal"
pnpm dlx shadcn@latest add [COMPONENT]
```

#### yarn

```bash title="Terminal"
npx shadcn@latest add [COMPONENT]
```

#### npm

```bash title="Terminal"
npx shadcn@latest add [COMPONENT]
```

#### bun

```bash title="Terminal"
bunx shadcn@latest add [COMPONENT]
```

#### nub

```bash title="Terminal"
nubx shadcn@latest add [COMPONENT]
```

#### aube

```bash title="Terminal"
aubx shadcn@latest add [COMPONENT]
```

## More information

To learn more about using shadcn/ui in Turborepo, [visit the docs for shadcn/ui](https://ui.shadcn.com/docs/monorepo).

---

For a semantic overview of all documentation, see [/sitemap.md](/sitemap.md)

For an index of all available documentation, see [/llms.txt](/llms.txt)

For agent-facing discovery, including API and MCP surfaces, see [/agents.md](/agents.md)