npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

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.

Readme

Lightswind UI

The Most Powerful Animated Component Library for Modern Developers

NPM Version GitHub Stars License NPM Downloads


Explore ComponentsDocumentationGet Pro LicenseReport 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 run npx lightswind init or npx 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 init

2. 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_here

This 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 logout

3. 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. toast depending on progress), 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 @plugin tags 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)


🎨 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 init

2. 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.