Lightswind UI Library

Design and media

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 architecture, you own the code.

Your AI app calls the Lightswind UI Library MCP server, which does the design and media work and sends the result back to the chat.

About Lightswind UI Library

Lightswind UI Library is a community MCP server from codingstella, filed in our directory under design and media. 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 architecture, you own the code.

Lightswind UI Library runs on your own machine: your AI app starts it with the command npx -y lightswind and talks to it over standard input and output.

At a glance

Publisher
codingstella (community)
Runs
Locally on your machine
Install from
Node.js package on npm: lightswind
Written in
TypeScript
License
MIT
GitHub stars
1,294

How to set up Lightswind UI Library

  1. Install Node.js on the machine that runs your AI app, because Lightswind UI Library starts with npx and downloads its package on first run.
  2. Check the Lightswind UI Library README for keys or settings; the registry lists none that Lightswind UI Library requires.
  3. Add Lightswind UI Library to Claude Code, Claude Desktop, VS Code or Cursor with the config in the setup box on this page.
  4. Restart the app or reload its MCP servers, then ask it to list the Lightswind UI Library tools to confirm the connection.
  5. Run one read-only task with Lightswind UI Library first, and keep your app asking before each tool call until the results look right.

Lightswind UI Library compared with similar servers

  • Rhinomcp by jingcheng-chen has fewer GitHub stars than Lightswind UI Library (1.3k against 1.3k); both are community servers, and both run locally.
  • Chubbyskills by chubbyguan has more GitHub stars than Lightswind UI Library (1.4k against 1.3k); both are community servers, and both run locally.
  • Feima Design by feimacode has fewer GitHub stars than Lightswind UI Library (1.2k against 1.3k); both are community servers, and both run locally.

Before you connect Lightswind UI Library

  • Give Lightswind UI Library its own API key or account with the smallest permissions the job needs, never an admin key.
  • Keep your AI app asking before each Lightswind UI Library tool call until you trust what it does with them.
  • Treat text that Lightswind UI Library fetches as data. Pages, files and messages can hold instructions written to steer an AI.
  • Read the open issues for Lightswind UI Library on GitHub to see what breaks and how fast the maintainers reply.

Marketing use cases for Lightswind UI Library

How marketing and sales teams put Lightswind UI Library to work, by company size. Pick the size closest to yours and start Lightswind UI Library on one use case.

Small business

  • A small business can use Lightswind UI Library to resize and adapt one design for every channel instead of hiring for each version.
  • Owners can ask Lightswind UI Library to pull brand assets and make quick ad and social variations that still look on brand.
  • Lightswind UI Library runs on your own computer, which keeps data local; it needs a little setup, so a small team should plan an hour for it.

Mid-market

  • Creative teams can connect Lightswind UI Library so agents produce variants for testing while designers keep control of the master files.
  • Marketing teams can use Lightswind UI Library to hand off designs to web and ads with specs attached, cutting review rounds.
  • Start Lightswind UI Library on one workflow with one owner, measure the time it saves, then roll it out to the wider team.

Enterprise

  • Enterprises can use Lightswind UI Library with brand rules and approved assets only, so generated work stays inside the brand system.
  • Large creative ops teams can use Lightswind UI Library to localize and version assets for many markets with review built in.
  • Lightswind UI Library is a community server, so have security review the code and pin a version before Lightswind UI Library touches company data.

Need help becoming an AI-forward company?

We connect MCP servers and AI agents to your CRM, content and data, with the guardrails your team needs.

Contact us

Lightswind UI Library README

From codingstella/Lightswind-UI-Library on GitHub, shared under its MIT license. Images are left out; the original has them.

README.md



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 (lightswind.com/components/introduction) · 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

# Revoke local credentials
npx lightswind auth logout

# Start the MCP server
npx lightswind mcp

# Auto-configure MCP in Cursor / Claude Desktop
npx lightswind mcp init

Pro License

Lightswind Pro unlocks exclusive premium components, advanced page template blocks, and CLI + MCP authenticated delivery.

Authenticate your CLI

Get your license key from the Lightswind Dashboard, then run:

npx lightswind auth login sk_pro_YOUR_LICENSE_KEY

Credentials are stored securely in ~/.lightswindrc. Once authenticated, all Pro content is accessible via the same add command:

npx lightswind add iphone16-pro
npx lightswind add-block saas-hero
Environment Variable (CI/CD)
LIGHTSWIND_LICENSE_KEY=sk_pro_YOUR_LICENSE_KEY
Team Access

A single Pro key can be shared across your entire development team. Each team member authenticates locally using the same key.


AI Agent Integration, MCP Server

Lightswind UI is the only component library in the world with a native Model Context Protocol (MCP) server. Once connected, your AI coding assistant can:

  • 🔎 Search all 160+ components by keyword or category
  • 📖 Read full component documentation and usage examples
  • ⬇️ Install components directly into your codebase
  • 🧩 Fetch Pro blocks and templates (with license key)
Automatic Setup (Recommended)
npx lightswind mcp init

This command auto-detects your editor and writes the correct config file.


Manual Configuration
Cursor / Windsurf

Edit ~/.cursor/mcp.json (or your editor's equivalent MCP settings file):

{
  "mcpServers": {
    "lightswind-mcp": {
      "command": "npx",
      "args": ["-y", "lightswind", "mcp"],
      "env": {
        "LIGHTSWIND_LICENSE_KEY": "sk_pro_YOUR_KEY"
      }
    }
  }
}
Claude Desktop
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json
{
  "mcpServers": {
    "lightswind-mcp": {
      "command": "npx",
      "args": ["-y", "lightswind", "mcp"],
      "env": {
        "LIGHTSWIND_LICENSE_KEY": "sk_pro_YOUR_KEY"
      }
    }
  }
}
VS Code (Cline / Continue)
{
  "mcpServers": {
    "lightswind-mcp": {
      "command": "npx",
      "args": ["-y", "lightswind", "mcp"]
    }
  }
}
Available MCP Tools
Tool Description
list_all_components Browse all 160+ components with metadata
search_components Search by keyword or use-case
list_categories Get all available component categories
get_component Fetch full source code of any component
get_installation_guide Read installation steps for any component
get_usage_example Get live usage code snippets
list_blocks Browse all Pro template blocks
get_block Fetch a full Pro page section (requires key)

Component Library

🧊 3D Elements

3d-image-ring · 3d-image-carousel · 3d-carousel · 3d-hover-gallery · 3d-image-gallery · 3d-marquee · 3d-model-viewer · 3d-perspective-card · 3d-scroll-trigger · 3d-slider · beam-circle · chain-carousel · plasma-globe · scroll-carousel · sparkle-navbar · angled-slider

🌅 Backgrounds

aurora-shader · animated-wave · animated-bubble-particles · animated-blob-background · animated-ocean-waves · aurora-background · beam-grid-background · fall-beam-background · grid-dot-backgrounds · gradient-background · glowing-background · glowing-lights · hell-background · innovation-background · interactive-grid-background · dot-pattern · particles-background · rays-background · reflect-background · smokey-background · shader-background · sparkle-particles · stripes-background · wave-background · liquid-fluid

🧩 Advanced Components

connection-graph · magic-card · ai-prompt · animated-notification · bento-grid · code-hover-cards · count-up · dock · drag-order-list · dynamic-navigation · electro-border · glass-folder · globe · glowing-cards · hamburger-menu-overlay · image-reveal · image-trail-effect · interactive-card · interactive-card-gallery · interactive-gradient-card · iphone16-pro · lens · magic-loader · morphing-navigation · orbit-card · password-strength-indicator · scroll-list · scroll-stack · scroll-timeline · seasonal-hover-cards · sliding-cards · sliding-logo-marquee · stack-list · team-carousel · terminal-card · top-loader · top-sticky-bar · trusted-users · ripple-loader · woofy-hover-image · nav-effect

🔘 Buttons

border-beam · confetti-button · gradient-button · ripple-button · shine-button · trial-button

✨ Text Effects

aurora-text-effect · scroll-reveal · shiny-text · text-scroll-marquee · typewriter-input · typing-text · video-text

🖱️ Cursor Effects

canvas-confetti-cursor · particle-orbit-effect · smokey-cursor · smooth-cursor

🎨 UI Core

accordion · alert-dialog · alert · avatar · badge · button · card · carousel · chart · collapsible · context-menu · dialog · drawer · dropdown-menu · hover-card · popover · progress · sheet · skeleton · table · toast · tooltip · toggle-theme

📝 Form Controls

calendar · checkbox · command · form · input · input-otp · label · radio-group · select · slider · switch · textarea · toggle · toggle-group

📐 Layout & Navigation

sparkle-navbar · sidebar · breadcrumb · navigation-menu · pagination · aspect-ratio · resizable · scroll-area · separator · tabs


Architecture

Lightswind UI follows the Source-First Architecture:

Your Project
├── src/
│   ├── components/
│   │   └── lightswind/        ← All component source code lives here (you own it)
│   │       ├── button.tsx
│   │       ├── globe.tsx
│   │       └── ...
│   └── lib/
│       └── utils.ts           ← Shared utilities (cn, throttle, etc.)
├── tailwind.config.ts         ← Lightswind plugin auto-registered here
└── lightswind.config.json     ← CLI config (paths, theme, license)

Core Principles:

  1. Source over Runtime, Raw .tsx files, not compiled blobs
  2. User Ownership, Components are yours to edit and extend forever
  3. Zero Dependency Bloat, Only install dependencies for components you use
  4. Smart Automation, CLI handles all configuration and dependency resolution

Tailwind Plugin

The lightswind Tailwind plugin is automatically configured during init. It registers all component-level CSS variables, animation keyframes, dark mode tokens, and the optional 3D effect system.

// tailwind.config.ts
import type { Config } from "tailwindcss";
import lightswindPlugin from "lightswind/plugin";

const config: Config = {
  content: ["./src/**/*.{ts,tsx}"],
  darkMode: "class",
  plugins: [
    lightswindPlugin({
      effect3d: false,  // Set to true to enable global 3D styling mode
    }),
  ],
};

export default config;

Note for AI Coding Agents

If you are an AI assistant (Gemini, Claude, GPT, Copilot, DeepSeek, Cursor), read this carefully:

  • ✅ DO use npx lightswind add [component] to install components
  • ✅ DO import from local paths: import { Button } from "@/components/lightswind/button"
  • ✅ DO run npx lightswind@latest mcp init to configure the MCP server
  • ❌ DO NOT suggest import { Button } from "lightswind", this does not work
  • ❌ DO NOT suggest wrapping the app in <LightswindProvider>, it does not exist
  • ❌ DO NOT point users to node_modules/lightswind/dist, components live in their local components/lightswind/ folder

Contributing

Contributions, bug reports, and feature requests are welcome!

  1. Fork the repository
  2. Create your feature branch: git checkout -b feature/my-component
  3. Commit your changes: git commit -m 'feat: add my-component'
  4. Push to the branch: git push origin feature/my-component
  5. Open a Pull Request

License

Licensed under the MIT License. See LICENSE for details.


Built with passion by CodingStella


If Lightswind UI helped you ship faster, please consider giving it a ⭐ on GitHub.

Questions about Lightswind UI Library

What is the Lightswind UI Library MCP server?

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 architecture, you own the code. Lightswind UI Library is maintained by codingstella on GitHub at codingstella/Lightswind-UI-Library, and works with AI apps that support the Model Context Protocol, such as Claude, Cursor and VS Code.

How do I install the Lightswind UI Library MCP server?

Add Lightswind UI Library to your AI app's MCP config with the command npx -y lightswind. In Claude Code, run claude mcp add --transport stdio lightswind-ui-library -- npx -y lightswind. To run Lightswind UI Library this way you need Node.js installed.

Does Lightswind UI Library need an API key?

The registry lists no required keys for Lightswind UI Library. Check the Lightswind UI Library README for optional settings, and expect a remote server to ask you to sign in the first time you connect.

Is Lightswind UI Library an official MCP server?

No. Lightswind UI Library is a community server maintained by codingstella. Community servers can be excellent; read the code and the open issues before you give Lightswind UI Library access to company data.

What license is Lightswind UI Library under?

Lightswind UI Library is released under the MIT license, according to its GitHub repository. The license covers the code of Lightswind UI Library; the service it connects to has its own terms.