Overview
Luminescent UI offers three packages depending on your needs:- @luminescent/ui - Core Tailwind CSS utilities (required for all installations)
- @luminescent/ui-qwik - Qwik components (requires @luminescent/ui)
- @luminescent/ui-react - React components (requires @luminescent/ui)
All packages require pnpm as the package manager and Tailwind CSS v4.
Prerequisites
Before installing, ensure you have:Node.js
Version 23.11.0 or higher
pnpm
Version 10.10.0 or higher
Tailwind CSS
Version 4.1.18 or compatible v4.x
Framework
Qwik 1.18+ or React 19+ (for components)
Core Package Installation
Install @luminescent/ui
The core package provides Tailwind CSS utilities and is required for all Luminescent UI installations.
Optional: Add Markdown Formatting
If you want to use Luminescent UI’s default formatting for Markdown elements, add this import:
app.css
The formatting styles are designed for rendering Markdown content with beautiful typography and spacing. See it in action →
Qwik Components Installation
Available Qwik Components
The@luminescent/ui-qwik package includes:
- Toggle - Checkbox and switch toggles
- Dropdown - Dropdown menus
- SelectMenu - Select inputs
- Nav - Navigation components
- Sidebar - Sidebar navigation
- ColorPicker - Color selection
- NumberInput - Numeric inputs
- RangeInput - Range sliders
- Anchor - Enhanced links
- Blobs - Decorative blob shapes
- Logos - Brand logo components
React Components Installation
Available React Components
The@luminescent/ui-react package includes:
- Toggle - Checkbox and switch toggles
- Dropdown - Dropdown menus
- SelectMenu - Select inputs
- Nav - Navigation components
- Logos - Brand logo components
React components use Lucide React for icons, which is included as a dependency.
Complete Configuration Examples
Verification
To verify your installation is working:Troubleshooting
Styles not applying
Styles not applying
Make sure:
- Your Tailwind CSS file includes the
@importstatements - You’re using Tailwind CSS v4.x
- Your build process is processing the CSS file
- The import order is correct (core imports before framework-specific)
Components not found
Components not found
Verify:
- You’ve installed the correct package (
@luminescent/ui-qwikor@luminescent/ui-react) - The package is listed in your
package.jsondependencies - You’ve restarted your dev server after installation
pnpm errors
pnpm errors
Luminescent UI requires pnpm. If you’re using npm or yarn:
Tailwind v4 compatibility
Tailwind v4 compatibility
Luminescent UI is designed for Tailwind CSS v4. If you’re on v3, you’ll need to upgrade: