shadcn

2.5.0 • Public • Published

shadcn

A CLI for adding components to your project.

Usage

Use the init command to initialize dependencies for a new project.

The init command installs dependencies, adds the cn util, configures tailwind.config.js, and CSS variables for the project.

npx shadcn init

add

Use the add command to add components to your project.

The add command adds a component to your project and installs all required dependencies.

npx shadcn add [component]

Example

npx shadcn add alert-dialog

You can also run the command without any arguments to view a list of all available components:

npx shadcn add

Documentation

Visit https://ui.shadcn.com/docs/cli to view the documentation.

License

Licensed under the MIT license.

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
2.5.082,686latest
2.5.0-canary.12,916canary
0.0.0-beta.7d13a68813beta

Version History

VersionDownloads (Last 7 Days)Published
2.5.082,686
2.5.0-canary.12,916
0.0.0-beta.7d13a68813
0.0.0-beta.418085d511
0.0.0-beta.f12a4a3412
0.0.0-beta.0c8ed0e012
0.0.0-beta.a57c39b810
0.0.0-beta.1fee5c529
2.4.167,539
0.0.0-beta.737ff6697
2.4.04,600
2.4.0-canary.20177
2.4.0-canary.1919
2.4.0-canary.1810
0.0.0-beta.755e39124
0.0.0-beta.bedaf20d4
0.0.0-beta.ba559a174
0.0.0-beta.646a9f174
2.4.0-canary.173,376
2.4.0-canary.16958
0.0.0-beta.62324a023
0.0.0-beta.264d498d3
2.4.0-canary.1560
0.0.0-beta.1ceb177c3
2.4.0-canary.141,281
2.4.0-canary.1330
2.4.0-canary.122,214
0.0.0-beta.f4ddd253
2.4.0-canary.11358
0.0.0-beta.09489db43
0.0.0-beta.2b88df043
0.0.0-beta.dfaf26705
2.4.0-canary.10171
0.0.0-beta.fc27e1ab3
0.0.0-beta.0deb47903
2.4.0-canary.9409
2.4.0-canary.86
2.4.0-canary.74
0.0.0-beta.21931e313
0.0.0-beta.cc5eb95f3
0.0.0-beta.d6b0f94c4
2.4.0-canary.623
2.4.0-canary.53,601
0.0.0-beta.a4fe0e185
2.4.0-canary.410
2.4.0-canary.35
2.4.0-canary.210
2.4.0-canary.14
2.4.0-canary.03
0.0.0-beta.1dbed5d43
0.0.0-beta.312f56703
0.0.0-beta.c0efd563
0.0.0-beta.9df4b2e3
0.0.0-beta.90e6dc14
0.0.0-beta.70f4e593
0.0.0-beta.6d47c6a3
2.3.018,200
2.2.0-canary.313
2.2.0-canary.23
2.2.0-canary.15
2.2.0-canary.03
0.0.0-beta.1de1a154
2.1.9-canary.05
0.0.0-beta.ece4c573
0.0.0-beta.7b74bed3
0.0.0-beta.74c23ca3
0.0.0-beta.8b36f3e3
0.0.0-beta.8d9e2ae3
0.0.0-beta.13857483
0.0.0-beta.2f99bdc4
0.0.0-beta.c045d053
0.0.0-beta.26993193
2.1.84,582
0.0.0-beta.8ef28f13
2.1.7184
0.0.0-beta.82ec1a94
2.1.62,166
0.0.0-beta.61423b23
2.1.5279
0.0.0-beta.cdfecd14
0.0.0-beta.422c8b43
2.1.428
0.0.0-beta.81ed01c3
2.1.3160
0.0.0-beta.8ea4ab53
0.0.0-beta.ad6e23c3
2.1.2307
2.1.11,467
2.1.0911
0.0.0-beta.f29aebd3
2.0.836
2.0.7105
2.0.657
2.0.5110
2.0.438
2.0.3205
0.0.0-beta.d89c2a44
0.0.0-beta.02aee8e3
2.0.24
0.0.0-beta.8ff87cb3
2.0.138
2.0.056
0.0.0-beta.fb85d263
0.0.0-beta.cecd1f23
0.0.0-beta.58be5c43
0.0.0-beta.dc293dd3
0.0.0-beta.07bc8583
0.0.0-beta.2f496b33
0.0.0-beta.22e84f73
0.0.0-beta.4986e553
0.0.0-beta.acc8bb53
0.0.0-beta.655d2514
0.0.0-beta.5626da73
1.0.01,676

Package Sidebar

Install

npm i shadcn

Weekly Downloads

201,369

Version

2.5.0

License

MIT

Unpacked Size

465 kB

Total Files

12

Last publish

Collaborators

  • shadcn
  • npm_bot_shadcn