Installation
Install dependencies
Install both the core Luminescent UI package and the Qwik-specific package:
The Qwik package requires Node.js >= 23.11.0 and pnpm >= 10.10.0
Configure Tailwind CSS
Add the Luminescent UI imports to your Tailwind CSS file:
app.css
The
@config directive loads Qwik-specific Tailwind configuration, while @source enables JIT compilation for component classes.Available Components
Luminescent UI for Qwik exports three main categories of components:Elements
Interactive UI components with full Qwik reactivity:- Anchor - Enhanced link component with routing support
- Blobs - Animated background blob elements
- ColorPicker - Interactive color selection component
- Dropdown - Dropdown menu with keyboard navigation
- Nav - Navigation component with responsive behavior
- NumberInput - Number input with increment/decrement controls
- RangeInput - Slider input component
- SelectMenu - Custom select dropdown
- Sidebar - Collapsible sidebar navigation
- Toggle - Checkbox and toggle switch component
Functions
Utility functions for enhanced interactions:- Hoverable - 3D hover effect with perspective transforms
Logos
Pre-built SVG logo components:- Birdflop, Discord, Fabric, Forge, Luminescent, Paper, Pterodactyl, Purpur, Velocity, Waterfall
Import Patterns
Usage Examples
Toggle Component
Create toggle switches with optional labels:component.tsx
Navigation Component
Build responsive navigation menus:nav.tsx
Hoverable Effect
Add 3D perspective hover effects to any element:card.tsx
The Hoverable object spreads event handlers (
onMouseMove$ and onMouseLeave$) that apply perspective transforms on hover.Logo Components
Use pre-built logo SVGs with customizable sizing:logos.tsx
TypeScript Support
All components include full TypeScript definitions. Component props extend native HTML element props:types.ts
Next Steps
- Explore the Component Documentation for detailed usage
- View Markdown Formatting examples
- Check out the Tailwind Classes reference