Lightswind-UI-Library

作者 codewithMUHILAN已验证

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.

905
Stars
101
Forks
TypeScript
语言
2026/8/23
添加时间

⚠️ 第三方软件声明

本 Skill 为第三方开源软件,独立托管于 GitHub。SkillTip 仅为信息目录,不控制或维护底层仓库。所显示的安全检查为自动化且范围有限,安装前请自行审查源码。

阅读服务条款

安装

添加到你的 Claude Code skills 目录:

# Add to your Claude Code skills
git clone https://github.com/codewithMUHILAN/Lightswind-UI-Library

快速入门

使用 Lightswind-UI-Library 等 Skills 的指南。

安全报告

已验证

上次扫描:—

{
  "status": "PASSED",
  "issues": []
}

README.md


Lightswind UI

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.


npm version npm downloads GitHub stars License


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?

FeatureLightswind UIshadcn/uiRadix UIMaterial 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:

ThemePreview
defaultClassic Blue — clean & minimal
deep-oceanMidnight Blue — dark & immersive
crimsonDeep Red — bold & powerful
emeraldForest Green — fresh & vibrant
amberWarm Gold — elegant & energetic
amethystSoft Purple — modern & creative
monoPure 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

ToolDescription
list_all_componentsBrowse all 160+ components with metadata
search_componentsSearch by keyword or use-case
list_categoriesGet all available component categories
get_componentFetch full source code of any component
get_installation_guideRead installation steps for any component
get_usage_exampleGet live usage code snippets
list_blocksBrowse all Pro template blocks
get_blockFetch 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 Code with Muhilan

Website Instagram npm


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

常见问题

What is Lightswind-UI-Library?

Lightswind-UI-Library is an open-source mcp servers skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by codewithMUHILAN. 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. It has 905 GitHub stars.

Is Lightswind-UI-Library safe to use?

Yes. Lightswind-UI-Library passed SkillsLLM's automated security scan — a dependency vulnerability audit plus prompt-injection heuristics — with no high-severity issues. You can read the full report in the Security Report section on this page.

How do I install Lightswind-UI-Library?

Clone the repository with "git clone https://github.com/codewithMUHILAN/Lightswind-UI-Library" and add it to your Claude Code skills directory (see the Installation section above).

What programming language is Lightswind-UI-Library written in?

Lightswind-UI-Library is primarily written in TypeScript. It is open-source under codewithMUHILAN on GitHub, so you can review or fork the full source.

Are there alternatives to Lightswind-UI-Library?

Yes. SkillsLLM lists many other MCP Servers skills you can browse and compare side by side. Open the MCP Servers category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh Lightswind-UI-Library against similar tools.

评论 (0)

暂无评论,成为第一个分享想法的人!

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

Scrapling

by D4Vinci

🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!

75,9137,581Python
MCP 服务器
查看详情

TrendRadar

by sansan0

⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。

61,65224,883Python
MCP 服务器
查看详情

context7

by upstash

Context7 Platform -- Up-to-date code documentation for LLMs and AI code editors

61,0602,938TypeScript
MCP 服务器
查看详情

High-performance code intelligence MCP server. Indexes codebases into a persistent knowledge graph — average repo in milliseconds. 158 languages, sub-ms queries, 99% fewer tokens. Single static binary, zero dependencies.

39,9393,219C
MCP 服务器
查看详情

开发者还喜欢

基于喜欢此 Skill 的开发者投票和收藏

ECC

by affaan-m

10

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

242,21936,702JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情
15

An agentic skills framework & software development methodology that works.

234,96620,863Shell
AI 智能体ai-agentsbrainstorming
查看详情

hermes-agent

by NousResearch

10

The agent that grows with you

234,43747,175Python
AI 智能体ai-agentsagent-orchestration
查看详情

n8n

by n8n-io

12

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

201,88160,308TypeScript
MCP 服务器apisai-tools
查看详情

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

185,94028,768JavaScript
AI 智能体ai-agentsanthropicclaude-code
查看详情

cc-switch

by farion1231

3

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

128,8688,826Rust
AI 智能体claude-codeai-tools
查看详情