Skip to content
uicoolkit
  • Components

  • Docs

↑↓ navigate↵ open/ anywhere
Menu
Docs / Installation

Draft docs for the preview build. Commands and APIs will change before release.

Installation

Add components with the shadcn CLI or copy the source by hand. Either way, the code lives in your project.

Requirements

  • React 18 or 19
  • Tailwind CSS 4
  • Next.js (App or Pages Router) or Vite

Using the CLI

Each component is a shadcn-compatible registry item. Its files and dependencies are declared up front, so the CLI installs exactly what it needs.

Terminal
npx shadcn@latest add @uicoolkit/stateful-button

Manual installation

Every component page lists its files and dependencies. Copy the files into your components folder, install the dependencies, and import it like any other component.

Terminal
npm install motion