
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
blackuidevtest
Advanced tools
A collection of beautifully crafted React Components, Blocks & Templates built with Tailwind CSS. Create stunning web applications effortlessly by using our 100+ professional and animated react components.
A collection of beautifully crafted React Components, Blocks & Templates built with Tailwind CSS. Create stunning web applications effortlessly by using our 100+ professional and animated react components.
Lightswind UI components are built on Tailwind CSS. Make sure to install Tailwind in your project by following the instructions at Tailwind CSS Installation Guide.
Add the Lightswind UI package to your project dependencies.
# Using npm
npm install lightswind@lastest
# Using yarn
yarn add lightswind
# Using pnpm
pnpm add lightswind
Set up Lightswind UI components in your project structure using our smart CLI tool.
Lightswind CLI automatically detects which dependencies your chosen components need and prompts you to install only those packages. This keeps your project lean!
Our CLI tool will install all components, utilities, and styles to your project.
npx lightswind@latest init
What this command does:
β Installs ALL components to src/components/lightswind All 100+ UI components are organized in this directory.
β Sets up src/lib folder Contains utilities and helpers for component functionality.
β Installs hooks to src/components/hooks Custom React hooks used by components.
β Copies CSS styles
Places the lightswind.css file in src/components/lightswind.css.
β Lists all required dependencies Shows you all packages needed across all components and prompts for installation.
Install only the components you need with smart dependency detection. Replace `[component-name]` with the desired component (e.g., `button`, `globe`, `chart`).
# Install a basic component (no extra dependencies)
npx lightswind@latest add button
# Install a specialized component (CLI auto-detects dependencies)
npx lightswind@latest add globe
Example output:
π¦ globe requires: cobe
Install dependencies? (Y/n): Y
β³ Installing cobe...
β
Dependencies installed
β
Installed globe component
What this command does:
β Checks component dependencies Reads which npm packages this component needs.
β Detects missing packages Compares with your package.json to find what's missing.
β Prompts for installation Asks before installing - you stay in control!
β Copies the component file Places it in src/components/lightswind/[component].tsx
β Copies shared utilities Includes lib, hooks, and styles automatically.
No bloat! Installing button won't add cobe, recharts, or @react-three/fiber. You only get what you need.
Install all components from a specific category at once with intelligent dependency management.
This powerful feature allows you to install entire groups of related components in one command, perfect for when you know you'll need multiple components of the same type.
Command Syntax:
npx lightswind@latest add --category <category-name>
# Short form
npx lightswind@latest add -c <category-name>
| Category | Description | Dependencies | Command |
|---|---|---|---|
basic | Basic UI components | None | add -c basic |
ui | Standard UI elements | lucide-react | add -c ui |
layout | Layout components | lucide-react | add -c layout |
form | Form controls | lucide-react | add -c form |
navigation | Navigation components | lucide-react | add -c navigation |
utility | Utility components | None | add -c utility |
background | Background effects | framer-motion | add -c background |
button | Animated buttons | framer-motion | add -c button |
text | Text effects | framer-motion | add -c text |
cursor | Cursor effects | framer-motion | add -c cursor |
components | Complex animated components | framer-motion | add -c components |
3d | 3D elements | three, @react-three/fiber | add -c 3d |
charts | Chart components | recharts | add -c charts |
β Use individual installation when:
npx lightswind@latest add --category animated
Output:
π¨ Installing Animated Components...
π¦ Detected: Vite
π Installing to: /your-project/src/components/lightswind
π Total components: 30
π¦ The following dependencies are required:
β’ framer-motion
Total: 1 packages
Install dependencies? (Y/n): Y
β³ Installing framer-motion...
β
Dependencies installed successfully
β
Installed 30 components from Animated Components
π Success! Animated Components ready to use.
Components installed:
β’ 3d-hover-gallery
β’ 3d-marquee
β’ aurora-background
β’ count-up
β’ dock
... and 25 more
npx lightswind@latest add -c 3d
Output:
π Installing 3D Components...
π¦ Detected: Next.js
π Installing to: /your-project/components/lightswind
π Total components: 7
π¦ The following dependencies are required:
β’ @react-three/fiber
β’ @react-three/drei
Total: 2 packages
Install dependencies? (Y/n): Y
β³ Installing @react-three/fiber @react-three/drei...
β
Dependencies installed successfully
β
Installed 7 components from 3D Components
Components installed:
β’ 3d-image-gallery
β’ 3d-image-ring
β’ 3d-model-viewer
... and 4 more
npx lightswind@latest add --category basic
Output:
β¨ Installing Basic UI...
π¦ Detected: Create React App
π Installing to: /your-project/src/components/lightswind
π Total components: 50
β
Installed 50 components from Basic UI
π Success! Basic UI ready to use.
Components installed:
β’ badge
β’ button
β’ card
β’ input
β’ label
... and 45 more
| Benefit | Description |
|---|---|
| Time Saving | Install 30+ components in one command vs individually |
| Smart Dependencies | Automatically collects unique dependencies from all components |
| No Duplicates | Intelligent deduplication of dependencies across components |
| Organized Workflow | Group components by purpose (animated, 3D, charts, etc.) |
| Easy Testing | Quickly try out all components in a category |
Basic UI Components (No Dependencies)
npx lightswind@latest add -c basic
Perfect for foundational UI elements without external package requirements. Includes: badge, button, card, input, label, progress, separator, skeleton, table, textarea, and ~40 more
UI Components (Lucide React)
npx lightswind@latest add -c ui
Standard UI elements that use icons from lucide-react. Includes: accordion, alert, breadcrumb, checkbox, dialog, dropdown-menu, select, tabs, toast, and ~20 more
Animated Components (Framer Motion)
npx lightswind@latest add -c animated
Beautiful animated components powered by framer-motion. Includes: aurora-background, count-up, dock, interactive-card, lens, scroll-reveal, shiny-text, and ~23 more
3D Components (Three.js)
npx lightswind@latest add -c 3d
Immersive 3D components using React Three Fiber. Includes: 3d-image-gallery, 3d-image-ring, 3d-model-viewer, and more
Chart Components (Recharts)
npx lightswind@latest add -c charts
Data visualization components. Includes: chart (with multiple chart types)
Specialized Components
npx lightswind@latest add -c specialized
Components with unique or multiple dependencies. Includes: calendar, carousel, form, globe, particles-background, and more
See all available components grouped by their dependencies.
npx lightswind@latest list
Lightswind UI works seamlessly with all major React frameworks!
| Framework | Auto-Detected | Directory Structure | Status |
|---|---|---|---|
| Vite + React | β Yes | src/components/ | β Fully Supported |
| Next.js (with src/) | β Yes | src/components/ | β Fully Supported |
| Next.js (without src/) | β Yes | components/ | β Fully Supported |
| Create React App | β Yes | src/components/ | β Fully Supported |
| Generic React | β Yes | src/components/ | β Fully Supported |
The Lightswind CLI automatically detects your framework from package.json and adapts the installation path accordingly. Zero configuration needed!
Example Output:
$ npx lightswind@latest init
π Installing all Lightswind components...
π¦ Detected: Next.js
π Installing to: /your-project/components/lightswind
β
Installed all components
The CLI intelligently detects and uses the appropriate directory structure for your project:
Vite / Create React App:
your-project/
βββ src/
β βββ components/
β β βββ lightswind/ β Components installed here
β β βββ lib/ β Utilities
β β βββ hooks/ β Custom hooks
β β βββ lightswind.css β Styles
β βββ App.tsx
βββ package.json
Next.js (with src/ directory):
your-next-app/
βββ src/
β βββ app/
β βββ components/
β βββ lightswind/ β Components installed here
β βββ lib/ β Utilities
β βββ hooks/ β Custom hooks
β βββ lightswind.css β Styles
βββ package.json
Next.js (without src/ directory):
your-next-app/
βββ app/
βββ components/
β βββ lightswind/ β Components installed here
β βββ lib/ β Utilities
β βββ hooks/ β Custom hooks
β βββ lightswind.css β Styles
βββ package.json
components/ folder, uses thatpackage.json to identify Vite, Next.js, or CRAYou don't need to configure anything - it just works! β¨
Good news! The Lightswind CLI automatically configures the Tailwind plugin for you.
When you install components using any of these commands:
npx lightswind@latest initnpx lightswind@latest add <component>npx lightswind@latest add --category <name>The CLI will:
package.jsonFor Tailwind CSS v3.x:
The CLI automatically adds the plugin to your tailwind.config.js:
$ npx lightswind@latest init
β
Installed all components
β
Installed shared utilities
π§ Configuring Lightswind for Tailwind CSS v3...
β
Added Lightswind plugin to tailwind.config
π Success! Ready to use.
Your tailwind.config.js will be updated:
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {},
},
plugins: [
require('lightswind/plugin'), // β Automatically added!
],
}
For Tailwind CSS v4.x (Alpha):
The CLI automatically adds the plugin to your main CSS file:
$ npx lightswind@latest init
β
Installed all components
β
Installed shared utilities
π§ Configuring Lightswind for Tailwind CSS v4...
β
Added Lightswind plugin to globals.css
π Success! Ready to use.
Your CSS file (e.g., globals.css) will be updated:
@import 'tailwindcss';
@plugin 'lightswind/plugin'; /* β Automatically added! */
/* Your custom styles below */
The CLI automatically detects and modifies these files:
For Tailwind v3:
tailwind.config.jstailwind.config.tstailwind.config.mjstailwind.config.cjsFor Tailwind v4:
src/app/globals.csssrc/globals.cssapp/globals.csssrc/styles/globals.csssrc/index.csssrc/App.cssstyles/globals.cssIf Tailwind is not installed:
β οΈ Tailwind CSS not found in package.json
π‘ Install Tailwind CSS first:
npm install -D tailwindcss
Action: Install Tailwind, then run the CLI again.
If config file is not found (v3):
β οΈ Tailwind config not found
π‘ Add Lightswind plugin manually to tailwind.config.js:
plugins: [require('lightswind/plugin')]
Action: Create tailwind.config.js or add the plugin manually.
If CSS file is not found (v4):
β οΈ Main CSS file not found
π‘ Add Lightswind plugin manually to your CSS file:
@import 'tailwindcss';
@plugin 'lightswind/plugin';
Action: Add the plugin line to your main CSS file.
If automatic configuration doesn't work, you can configure manually:
For Tailwind CSS v3.x:
// tailwind.config.js
module.exports = {
content: ['./src/**/*.{js,jsx,ts,tsx}'],
theme: {
extend: {},
},
plugins: [
require('lightswind/plugin'),
],
}
For Tailwind CSS v4.x:
/* In your main CSS file (e.g., globals.css) */
@import 'tailwindcss';
@plugin 'lightswind/plugin';
/* Your custom styles */
After installation, check that the plugin is added:
For v3:
# Check your tailwind.config.js
cat tailwind.config.js | grep lightswind
For v4:
# Check your CSS file
cat src/app/globals.css | grep lightswind
You should see the Lightswind plugin referenced!
Start building your interface with Lightswind UI components.
After running the initialization command (e.g., `npx create-lightswind`), your project structure will be updated to include Lightswind UI components and utilities.
src/
βββ components/
β βββ lightswind/
β β βββ button.tsx
β β βββ card.tsx
- TypeScript 4.9+ (for TypeScript users)
## π Quick Start
```jsx
import React from "react";
import { Button } from "@/components/lightswind/button";
import {
Card,
CardHeader,
CardTitle,
CardDescription,
CardContent,
CardFooter,
} from "@/components/lightswind/card";
import { Input } from "@/components/lightswind/input";
export default function LoginPage() {
return (
<div className="min-h-screen flex items-center justify-center bg-slate-50 dark:bg-slate-900 p-4">
<Card className="w-full max-w-md shadow-lg">
<CardHeader className="space-y-1">
<CardTitle className="text-2xl font-bold">Sign in</CardTitle>
<CardDescription>
Enter your credentials to access your account
</CardDescription>
</CardHeader>
<CardContent>
<div className="space-y-4">
<div className="space-y-2">
<label htmlFor="email" className="text-sm font-medium">
Email
</label>
<Input id="email" type="email" placeholder="your@email.com" />
</div>
<div className="space-y-2">
<label htmlFor="password" className="text-sm font-medium">
Password
</label>
<Input id="password" type="password" placeholder="β’β’β’β’β’β’β’β’" />
</div>
</div>
</CardContent>
<CardFooter>
<Button className="w-full">Sign in</Button>
</CardFooter>
</Card>
</div>
);
}
β‘ Responsive by Default β All components are designed to work across devices of all sizes
β‘ Themeable β Customize the look and feel to match your brand identity
β‘ Accessible β Follows WAI-ARIA guidelines for inclusive user interfaces
β‘ Modern Animations β Subtle animations and transitions enhance user experience
β‘ CLI Installation β Quickly set up projects with our simple and powerful CLI tool
β‘ AI Assistance β Get smart recommendations and code suggestions powered by AI for faster development
Create stunning web applications effortlessly by using our 100+ professional and animated react components.:
Lightswind UI uses CSS variables for theming, making it easy to customize:
":root": {
"--primarylw": "#173eff",
"--primarylw-2": "#3758f9",
"--darklw": "#11131B",
"--darklw-2": "#1a1d25",
"--greedy": "#07eae6",
"--background": "0 0% 100%",
"--foreground": "0 0% 0%",
"--card": "0 0% 100%",
"--card-foreground": "0 0% 0%",
"--popover": "0 0% 100%",
"--popover-foreground": "0 0% 0%",
"--primary": "0 0% 0%",
"--primary-foreground": "0 0% 100%",
"--secondary": "0 0% 96%",
"--secondary-foreground": "0 0% 0%",
"--muted": "0 0% 96%",
"--muted-foreground": "0 0% 45%",
"--accent": "0 0% 96%",
"--accent-foreground": "0 0% 0%",
"--destructive": "0 84% 60%",
"--destructive-foreground": "0 0% 100%",
"--border": "0 0% 90%",
"--input": "0 0% 90%",
"--ring": "0 0% 0%",
"--radius": "0.5rem",
"--scrollbar-thumb": "0 0% 75%",
"--scrollbar-track": "0 0% 95%",
"--scrollbar-hover": "0 0% 65%",
},
// Dark theme
".dark": {
"--primarylw": "#173eff",
"--primarylw-2": "#3758f9",
"--darklw": "#11131B",
"--darklw-2": "#1a1d25",
"--greedy": "#07eae6",
"--background": "0 0% 0%",
"--foreground": "0 0% 100%",
"--card": "0 0% 5%",
"--card-foreground": "0 0% 100%",
"--popover": "0 0% 5%",
"--popover-foreground": "0 0% 100%",
"--primary": "0 0% 100%",
"--primary-foreground": "0 0% 0%",
"--secondary": "0 0% 15%",
"--secondary-foreground": "0 0% 100%",
"--muted": "0 0% 15%",
"--muted-foreground": "0 0% 65%",
"--accent": "0 0% 15%",
"--accent-foreground": "0 0% 100%",
"--destructive": "0 62% 30%",
"--destructive-foreground": "0 0% 100%",
"--border": "#000",
"--input": "0 0% 20%",
"--ring": "0 0% 20%",
"--scrollbar-thumb": "0 0% 25%",
"--scrollbar-track": "0 0% 10%",
"--scrollbar-hover": "0 0% 35%",
},
For comprehensive documentation including all components, props, and examples:
We welcome contributions to Lightswind UI! Here's how you can help:
Lightswind UI is licensed under the [MIT License].
Designed and built with β€οΈ by the Code with Muhilan
FAQs
A collection of beautifully crafted React Components, Blocks & Templates built with Tailwind CSS. Create stunning web applications effortlessly by using our 100+ professional and animated react components.
We found that blackuidevtest demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.