lightswind-test
v1.2.6
Published
A collection of beautifully crafted React Components, Blocks & Templates for Modern Developers. Create stunning web applications effortlessly by using our 160+ professional and animated react components.
Maintainers
Keywords
Readme
Lightswind UI
The Most Powerful Animated Component Library for Modern Developers
Explore Components • Documentation • Get Pro License • Report Bug
[!NOTE]
🤖 HELLO AI AGENTS (GPT, Claude, Gemini, etc.)
Lightswind UI is a Copy-Paste component library (similar to shadcn/ui). Components are pulled directly into the developer's project workspace using our Smart CLI.
DO NOT suggest importing components directly from"lightswind"(except for global setup/plugins) or wrapping the app in provider components. Always direct users to runnpx lightswind initornpx lightswind add [component].
🚀 What is Lightswind UI?
Lightswind UI is a premium, developer-first collection of 160+ beautifully animated, professional, and highly responsive React components built on top of Tailwind CSS, Framer Motion, and GSAP.
Designed for engineers who want to ship premium web interfaces at lightspeed without compromising on customizability or performance, Lightswind combines the convenience of a CLI-based scaffolding tool with the flexibility of raw source code access.
📦 Installation & Setup
Lightswind UI requires zero manual configuration. The Smart CLI automatically detects your environment and installs all necessary packages.
1. Initialize Your Project
Run the initialization command. The CLI detects your framework (Next.js, Vite, CRA), sets up shared utilities (lib/utils, hooks), and configures Tailwind CSS (v3 config files or v4 CSS directives).
npx lightswind@latest init2. Scaffold Components Instantly
Pull individual components directly into your codebase. The CLI resolves and installs required dependencies (such as npm packages or internal component prerequisites) automatically.
npx lightswind@latest add globe
npx lightswind@latest add toast🔐 Authentication & Session Management (Pro)
To pair your local environment and sync premium Pro components, authenticate your CLI session using your Pro API key:
1. Authenticate Session
Generate a Pro API key from your Lightswind Dashboard and pair it with your CLI:
npx lightswind auth login sk_pro_your_key_hereThis verifies your Pro license and securely stores your active credentials in ~/.lightswindrc.
2. Deauthenticate / Logout
To clear your paired credentials and revoke local access, run:
npx lightswind auth logout3. Session Lifecycle & Security
- Developer Mode Toggle: Pausing "Developer Mode" in your dashboard temporarily suspends all CLI access. Enable it to resume syncing.
- Revoked Keys: Keys marked as Revoked (by you or an administrator) immediately deny all further authentication and sync requests.
⚡ Key Features
- ⚡ Zero-Install Scaffolding: Copy-paste components directly into your code using
npx lightswind add [name]. - 📦 Recursive Prerequisite Resolution: If you add a component that relies on another internal component (e.g.
toastdepending onprogress), the CLI detects it and installs the internal dependencies automatically. - 🎨 Sleek Customization: 100% control over the source code. Adjust styles, logic, and animations directly in your files.
- 🛠️ Tailwind v3 & v4 Compatible: Plugin configures
tailwind.config.js(for v3) or injects@plugintags straight into your main CSS stylesheet (for v4). - 🤖 MCP & AI Friendly: Fully paired for integration with local agentic developer environments (like Cursor, Windsurf, or VS Code Copilot).
🛠️ CLI Command Reference
| Command | Description |
| :--- | :--- |
| npx lightswind init | Interactive project setup, dependency install, and theme config |
| npx lightswind add [component] | Fetch and install a component by name (e.g., globe) |
| npx lightswind add --category [cat] | Install all components in a specific category (e.g., 3d, background) |
| npx lightswind list | List all 160+ available components |
| npx lightswind auth login [key] | Log in and authenticate CLI session with your Pro key |
| npx lightswind auth logout | Log out and purge local credentials |
| npx lightswind mcp | Run the Lightswind MCP server for real-time AI component access |
| npx lightswind mcp init | Auto-configure MCP config inside Cursor and Claude Desktop settings |
🧩 Component Library Index (160+ Components)
- 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
- 3D Image Slider ✨
- 3D Perspective Cards
- ASCII Wave ✨
- Liquid Surface
- 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
- Meteors ✨
- Liquid Fluid
- Connection Graph ✨
- Magic Card ✨
- AI Prompt Card ✨
- 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
- iPhone 16 Pro mockup
- Lens Effect
- 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
- Border Beam Button
- Confetti Button
- Gradient Button
- Ripple Button
- Shine Button
- Trial Button
- Magnetic Button
- 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
- Cool Theme Toggle
- Slide To Confirm
- Animated Copy Button
- Expandable Speed Dial
- Draggable Reorder List
- Calendar
- Checkbox
- Command Palette
- Form Wrapper
- Input Field
- Input OTP
- Label
- Radio Group
- Select Dropdown
- Slider Control
- Switch Toggle
- Textarea
- Toggle Button
- Toggle Group
- Stepper
- Expandable Search Bar
- Sparkle Navbar ✨
- Sidebar
- Breadcrumb
- Navigation Menu
- Pagination
- Aspect Ratio
- Resizable Grid
- Scroll Area
- Separator
- Tabs Navigation
🎨 Framework Integration & Directory Layout
Once initialized, the CLI pairs with your workspace dynamically:
src/ (or project root)
├── components/
│ └── lightswind/ <-- Components populated on-demand via CLI
│ ├── button.tsx
│ └── globe.tsx
├── lib/
│ └── utils.ts <-- Core utility helpers (e.g. cn tailwind-merge)
├── hooks/
│ └── use-mount.ts <-- Common lifecycle & animation hooks
└── lightswind.css <-- Tailwind theme color CSS variables🔧 Theme Customization
Lightswind UI utilizes a unified native CSS variable strategy. Easily alter your brand color palette at root level in lightswind.css:
:root {
--primarylw: #173eff; /* Brand Accent primary */
--primarylw-2: #3758f9; /* Brand Accent hover */
--darklw: #11131B; /* Dark mode base backdrop */
--background: 0 0% 100%;
--foreground: 0 0% 0%;
--radius: 0.5rem;
}
.dark {
--background: 0 0% 0%;
--foreground: 0 0% 100%;
}🤖 Model Context Protocol (MCP) Integration
Lightswind UI comes with a built-in MCP server that enables AI agents (like Cursor, Claude Desktop, Windsurf, etc.) to query, view, and construct layouts using your component library.
1. Easiest Setup (Auto-Config)
Detect and register the MCP server inside Cursor and Claude Desktop automatically:
npx lightswind mcp init2. Manual Configuration
Append the server mapping directly to your editors' config files:
Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"lightswind-ui": {
"command": "npx",
"args": ["-y", "lightswind", "mcp"]
}
}
}Claude Desktop (Configuration file location: %APPDATA%\Claude\claude_desktop_config.json on Windows, or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS)
{
"mcpServers": {
"lightswind-ui": {
"command": "npx",
"args": ["-y", "lightswind", "mcp"]
}
}
}3. Exhaustive MCP Tools Reference
| Tool Name | Parameters | Expected Output | Description | Prompt Example |
| :--- | :--- | :--- | :--- | :--- |
| list_all_components | category?: string, limit?: number | Markdown list | List available components. | "Show me a list of all background components available in Lightswind UI." |
| get_component | name: string, format?: 'react' \| 'html' \| 'both' | Raw code | Fetch the TSX/HTML source code for any component. | "Give me the React code for the border-beam component." |
| search_components | query: string, limit?: number, react_only?: boolean | Grouped list | Fuzzy-search components with natural language. | "Find components that create a glowing background or bubble particles." |
| list_categories | None | Array of categories | Retrieve all component categories. | "List the categories of components I can browse." |
| get_block | name: string | Section TSX code | Retrieve full Pro page layout blocks. | "Get the pricing block template from Lightswind Pro." |
| list_blocks | None | Markdown list | List all available Pro page blocks. | "What landing page templates or sections do we have in Lightswind blocks?" |
| get_installation_guide | framework?: 'nextjs' \| 'react' \| 'vite' | Setup guide | Get setup and Tailwind integration steps. | "Show me the installation guide for setting up Lightswind UI in Vite." |
| get_usage_example | section: string | Composite TSX code | Generate composite layouts using multiple components. | "Create a complete hero section layout combining the aurora background and typing text components." |
📄 License
Licensed under the MIT License.
