# Luminescent UI Documentation
> Complete component reference and API specifications for Luminescent UI (`@luminescent/ui`, `@luminescent/ui-qwik`, and `@luminescent/ui-react`).
## Quick Start & Installation
```bash
# Install Qwik UI components
npm install @luminescent/ui-qwik @luminescent/ui
# Install React UI components
npm install @luminescent/ui-react @luminescent/ui
```
## Component Catalog & API Reference
---
### LumClasses (`#classes`)
- **Category**: Tailwind Components
- **Description**: Core Luminescent UI CSS classes and design tokens built on Tailwind CSS v4.
#### Qwik Usage Example
```tsx
Design System Token Example
```
#### React Usage Example
```tsx
Design System Token Example
```
---
### LumBtn (`#button`)
- **Category**: Tailwind Components
- **Description**: Luminescent UI button utility classes providing consistent button variants, hover states, and padding options.
#### Qwik Usage Example
```tsx
```
#### React Usage Example
```tsx
```
---
### LumCard (`#card`)
- **Category**: Tailwind Components
- **Description**: Card container styling with glassmorphic background blur and gradient border utilities.
#### Qwik Usage Example
```tsx
Card Title
Card content text
```
#### React Usage Example
```tsx
Card Title
Card content text
```
---
### LumInput (`#input`)
- **Category**: Tailwind Components
- **Description**: Styled form inputs, textareas, and select menus with unified focus rings and background colors.
#### Qwik Usage Example
```tsx
```
#### React Usage Example
```tsx
```
---
### Anchor (`#anchor`)
- **Category**: Qwik / React Components
- **Description**: Header title wrapper component providing auto-generated scroll anchor links.
#### Props
| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `id` | `string` | `-` | Unique element ID for the anchor scroll target |
#### Qwik Usage Example
```tsx
My Section Title
```
---
### ButtonContainer (`#button-container`)
- **Category**: Qwik / React Components
- **Description**: Flex container for grouping interactive buttons and links with consistent spacing, rounding, and hover styles.
#### Props
| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `class` | `ClassList | string` | `-` | Additional CSS class list for custom positioning |
#### Qwik Usage Example
```tsx
```
#### React Usage Example
```tsx
```
---
### ColorPicker (`#color-picker`)
- **Category**: Qwik / React Components
- **Description**: Interactive color picker component supporting HEX, HSL, RGB, and opacity controls.
#### Props
| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `value` | `string` | `-` | Current color string (e.g. #3b82f6) |
| `onChange$` | `QRL<(color: string) => void>` | `-` | Color change callback |
#### Qwik Usage Example
```tsx
(color.value = newColor)}
/>
```
---
### Dropdown (`#dropdown`)
- **Category**: Qwik / React Components
- **Description**: Dropdown menu component with customizable alignment, hover trigger, and panel placement.
#### Props
| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `id` | `string` | `-` | Unique identifier for the dropdown |
| `align` | `'left' | 'right' | 'center'` | `'left'` | Alignment of the dropdown panel relative to trigger |
| `hover` | `boolean` | `false` | Open dropdown menu on hover instead of click |
| `top` | `boolean` | `false` | Position panel above the trigger button |
| `panelProps` | `PropsOf<'div'>` | `-` | Additional props for the dropdown panel container |
#### Slots
| Slot Name | Description |
| --- | --- |
| `dropdown` | Content rendered inside the trigger button |
| `default` | Options rendered inside the dropdown panel |
#### Qwik Usage Example
```tsx
Open Dropdown
```
#### React Usage Example
```tsx
Open Dropdown}>
```
---
### DropdownButton (`#dropdown-button`)
- **Category**: Qwik / React Components
- **Description**: Interactive trigger button component for standalone or custom dropdown menus.
#### Props
| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `opened` | `boolean` | `-` | Controls the active open indicator state |
| `hover` | `boolean` | `-` | Enables hover mode styling |
#### Qwik Usage Example
```tsx
(opened.value = !opened.value)}
>
Dropdown Trigger
```
---
### Label (`#label`)
- **Category**: Qwik / React Components
- **Description**: Form field wrapper component providing accessible labels and consistent spacing.
#### Props
| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `for` | `string` | `-` | Target input element ID |
| `label` | `string` | `-` | Label text to display |
#### Qwik Usage Example
```tsx
```
---
### Nav (`#nav`)
- **Category**: Qwik / React Components
- **Description**: Responsive navigation header component supporting start, center, end, hamburger dropdown, and fixed bottom mobile navigation bar slots.
#### Props
| Prop | Type | Default | Description |
| --- | --- | --- | --- |
| `fixed` | `boolean` | `-` | Fix navigation bar at the top of the viewport |
| `floating` | `boolean` | `-` | Enable floating card layout style with margin |
| `nohamburger` | `boolean` | `-` | Hide the top-right hamburger menu button on mobile |
| `colorClass` | `ClassList | string` | `-` | Custom background/border styling class |
| `innerProps` | `PropsOf<'div'>` | `-` | Props for main inner navigation bar container |
| `panelProps` | `PropsOf<'div'>` | `-` | Props for top hamburger menu dropdown container |
| `mobileNavProps` | `PropsOf<'div'>` | `-` | Props for bottom fixed mobile navigation bar container |
#### Slots
| Slot Name | Description |
| --- | --- |
| `start` | Left-aligned brand logo or title |
| `center` | Center navigation items (hidden on mobile by default) |
| `end` | Right-aligned navigation links, search, or profile menu |
| `hamburger` | Navigation items displayed inside the top hamburger dropdown menu |
| `mobile` | Navigation items displayed inside the fixed bottom mobile navigation bar |
#### Qwik Usage Example
```tsx
```
#### React Usage Example
```tsx