New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

cnippet

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cnippet

Add cnippet components to your apps.

latest
Source
npmnpm
Version
3.5.3
Version published
Weekly downloads
8
33.33%
Maintainers
1
Weekly downloads
 
Created
Source

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 cnippet 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 cnippet add [component]

Example

npx cnippet add alert-dialog

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

npx cnippet add

Documentation

Visit https://ui.cnippet.dev/docs/cli to view the documentation.

License

Licensed under the MIT license.

Keywords

components

FAQs

Package last updated on 11 Dec 2025

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