Skip to content

Lightswind UI Library

The AI-native CLI-first React component library. 160+ animated, accessible, production-ready components with MCP Server support for Cursor, Claude & GitHub Copilot. Copy-paste…

Install: npx lightswind add globe

Works with Cursor, GitHub Copilot · 1,273 GitHub stars

Install

$npx lightswind add globe

Install command taken from the project's README or registry entry. Always review code before running it.

Lightswind UI

The world's first AI-native, CLI-first component library for React.
160+ animated, accessible, production-ready components — delivered as raw source code, owned by you forever.

Documentation · Component Library · Pro License · MCP Server · Changelog


What is Lightswind UI?

Lightswind UI is a source-code component library built on the same philosophy pioneered by shadcn/ui — components live inside your project, not a runtime dependency. You install them with a single CLI command, own them completely, and customize them freely.

What sets Lightswind UI apart is its AI-native delivery layer — the industry's first MCP (Model Context Protocol) server for a component library, letting AI coding agents like Cursor, Claude, and GitHub Copilot browse, fetch, and install components autonomously inside your codebase.

npx lightswind@latest init

Why Lightswind UI?

Feature Lightswind UI shadcn/ui Radix UI Material UI
Copy-paste source ownership ✅ ✅ ❌ ❌
Smart CLI delivery ✅ ✅ ❌ ❌
MCP Server support ✅ ✅ ✅ ✅
Pro CLI & authenticated delivery ✅ ❌ ❌ ❌
3D & WebGL shader components ✅ ❌ ❌ ❌
Integrated Framer Motion & GSAP animations ✅ ❌ ❌ ❌
Zero runtime vendor lock-in ✅ ✅ ❌ ❌

Quick Start

Requirements

  • Node.js 18+
  • React 18 or 19
  • Tailwind CSS v3 or v4
  • A Next.js, Vite, Remix, or CRA project

1 — Initialize

Run this from the root of your project. The CLI detects your framework (Next.js, Vite, CRA), locates your components folder, installs shared utilities, and registers the Tailwind plugin automatically.

npx lightswind@latest init

During setup, you'll be prompted to select a color theme:

Theme Preview
default Classic Blue — clean & minimal
deep-ocean Midnight Blue — dark & immersive
crimson Deep Red — bold & powerful
emerald Forest Green — fresh & vibrant
amber Warm Gold — elegant & energetic
amethyst Soft Purple — modern & creative
mono Pure Grayscale — ultra-clean

2 — Add a Component

npx lightswind add globe
npx lightswind add border-beam
npx lightswind add toast

The CLI resolves prerequisites automatically. If toast requires progress, both are installed. No manual dependency management.

3 — Import & Use

// Component code is installed in your local project directory
import { Globe } from "@/components/lightswind/globe";

export default function HeroSection() {
  return (
    <section>
      <Globe />
    </section>
  );
}

Note: Never import directly from "lightswind". All components live in your local components/lightswind/ directory — you own and control the code.


CLI Reference

# Initialize a new project
npx lightswind@latest init

# Add a single component
npx lightswind add [component-name]

# Add all components in a category
npx lightswind add --category background

# List all available components
npx lightswind list

# Authenticate with a Pro License Key
npx lightswind auth login sk_pro_YOUR_KEY

# Check auth status
npx lightswind auth status

Similar plugs

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

MCP serverDatabases+105 this week

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io

Π RuView turns commodity WiFi signals into real-time spatial intelligence, vital sign monitoring, and presence detection, all without a single pixel of video.

Explore related