Installation

Get KiteUI set up in your Next.js project in minutes.

AI Summary

This guide covers the fastest path to install KiteUI, configure design tokens, and start shipping reusable React + Tailwind UI for SaaS dashboards, portals, and internal tools.

Quick start (CLI)

The recommended flow is the interactive setup command. It installs dependencies, adds components, and applies a theme. Full reference: CLI docs.

pnpm add kiteuikit@latest -D
npx kiteuikit setup

pnpm monorepos

Run both commands from your Next.js app package (for example apps/web), not the workspace root. Use npx kiteuikit setup --workspace-root when dependencies should install at the repo root.

One-off: npx kiteuikit@latest setup. Scaffold only: npx kiteuikit init. Add components later: npx kiteuikit add bubble-card.

Prerequisites

  • Next.js 14+ (App Router recommended)
  • Tailwind CSS v4
  • shadcn/ui (for base components)
1

Install Dependencies

Install Motion for animations and Lucide for icons:

pnpm add motion lucide-react
2

Add Design Tokens

Add the KiteUI color tokens to your globals.css:

@theme inline {
  --color-bubble-pink: oklch(0.95 0.03 350);
  --color-bubble-sky: oklch(0.95 0.03 220);
  --color-bubble-mint: oklch(0.95 0.03 160);
  --color-bubble-peach: oklch(0.95 0.03 60);
  --color-bubble-lavender: oklch(0.95 0.03 280);
}
3

Add Components

Use the CLI to copy components into components/profile/, or copy source files manually from this repo.

npx kiteuikit add bubble-card profile-avatar
npx kiteuikit add --all

Pro Tip

Start with bubble-card — many other components build on it. See CLI docs for free vs Pro components.
4

Import and Use

Import components from the barrel file:

import {
  BubbleCard,
  ProfileAvatar,
  SocialLinkButton,
  ThumbnailScroller,
  DynamicIsland
} from "@/components/profile"

File Structure

components/
├── profile/
│   ├── index.ts              # Barrel exports
│   ├── bubble-card.tsx       # Base card
│   ├── profile-avatar.tsx    # Avatar component
│   ├── profile-header.tsx    # Full header
│   ├── social-link-button.tsx
│   ├── thumbnail-scroller.tsx
│   ├── dynamic-island.tsx
│   ├── bubble-slider.tsx
│   ├── sports-card.tsx
│   ├── store-product-card.tsx
│   ├── link-tree.tsx
│   ├── stats-widget.tsx
│   ├── section-header.tsx
│   └── influencer-badge.tsx
└── ui/                       # shadcn base

AI Editor Rules

The library includes rules files for popular AI-powered editors:

.cursorrules

For Cursor IDE

CLAUDE.md

For Claude Code

.windsurfrules

For Windsurf

copilot-instructions.md

For GitHub Copilot

Related pages

Last updated: 2026-05-14