šŸš€ Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →
Socket
Sign inDemoInstall
Socket

shadcn-svelte

Package Overview
Dependencies
Maintainers
1
Versions
69
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

shadcn-svelte

Add components to your apps.

0.14.2
latest
Source
npm
Version published
Weekly downloads
3.8K
0.45%
Maintainers
1
Weekly downloads
Ā 
Created
Source

shadcn-svelte

A CLI for adding shadcn 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.cjs, and sets up CSS variables for the project.

npx shadcn-svelte 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-svelte add [component]

Example

npx shadcn-svelte add alert-dialog

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

npx shadcn-svelte add

Documentation

Visit https://shadcn-svelte.com to view the documentation.

License

Licensed under the MIT license.

Keywords

components

FAQs

Package last updated on 22 Apr 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