Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

shadcn-ui

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shadcn-ui

Add components to your apps.

  • 0.9.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
2
Created
Source

shadcn-ui

A CLI for adding components to your project.

[!WARNING] The shadcn-ui CLI is going to be deprecated soon. Bug fixes and new features should be added to the .packages/shadcn instead.

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-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.

npx shadcn-ui add [component]

Example

npx shadcn-ui add alert-dialog

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

npx shadcn-ui add

Documentation

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

License

Licensed under the MIT license.

Keywords

FAQs

Package last updated on 10 Dec 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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