Skip to content

Shadcn Packaged

An npm package that exports the shadcn/ui components with type declarations, no CLI step needed.

github.com/anuoua/shadcn-packaged

Shadcn Packaged website screenshot
Added
GitHub stars
23
License
MIT
Price
Free

About

About Shadcn Packaged

Shadcn Packaged turns the shadcn/ui component set into a regular npm dependency. Instead of copying files with the CLI, you install shadcn-packaged and import from paths such as shadcn-packaged/ui/button, shadcn-packaged/hooks and shadcn-packaged/lib/utils. It includes type declarations, works with VS Code auto import, supports Tailwind CSS v4 and is republished to npm weekly with the latest components.

Setup is three steps: install the supporting packages class-variance-authority, clsx, tailwind-merge, lucide-react and tw-animate-css, then add shadcn-packaged, then import its index.css and add an @source line to your global CSS. Next.js needs transpilePackages in next.config.js, and Vite needs an optimizeDeps entry. The repository is MIT licensed. It suits teams that prefer upgrading a dependency over maintaining copied files.

Shadcn Packaged features

6 features

  • Components, hooks and utils in one npm package
  • Type declarations included
  • Tailwind CSS v4 support
  • Weekly publish of the latest components
  • VS Code auto import
  • Next.js and Vite configuration

Install Shadcn Packaged

1 command

Terminal

$ npm i shadcn-packaged

What you can build with Shadcn Packaged

3 use cases

  • Sharing one component set across several apps
  • Prototyping without running the shadcn CLI
  • Keeping shadcn/ui components updated through npm

Pricing

Ship it with Pro

The directory is free. Pro adds 6,000+ blocks, 14 premium templates and the MCP server, so your AI editor installs them for you.

4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.

  • Secure checkout via Stripe
  • Code lives in your repo
  • Keep what you've shipped if you cancel
  • License terms

FAQ

Frequently asked questions

What Shadcn Packaged is, how to install it, its license and its alternatives.

4.9 out of 5 from 150+ developers

Found your stack? Ship it.

6,000+ blocks, premium templates and MCP in every Pro plan. The directory stays free.

Get Pro