New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

shadcn-ui

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shadcn-ui - npm Package Compare versions

Comparing version 0.0.0-beta.c769765 to 0.0.0-beta.ec41f85

6

package.json
{
"name": "shadcn-ui",
"version": "0.0.0-beta.c769765",
"version": "0.0.0-beta.ec41f85",
"description": "Add components to your apps.",

@@ -46,4 +46,4 @@ "publishConfig": {

"tsup": "^6.6.3",
"type-fest": "^3.6.1",
"typescript": "^4.5.5"
"type-fest": "^3.8.0",
"typescript": "^4.9.3"
},

@@ -50,0 +50,0 @@ "scripts": {

# shadcn-ui
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.
```bash
npx shadcn-ui 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.
```bash
npx shadcn-ui add [component]
```
### Example
```bash
npx shadcn-ui add alert-dialog
```
You can also run the command without any arguments to view a list of all available components:
```bash
npx shadcn-ui add
```
## Documentation
Visit http://ui.shadcn.com/docs to view the documentation.
## License
Licensed under the [MIT license](https://github.com/shadcn/ui/blob/main/LICENSE.md).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc