Qwik Usage Example
React Usage Example
Qwik Usage Example
React Usage Example
Qwik Usage Example
React Usage Example
Qwik Usage Example
React Usage Example
Props
| Prop | Type | Default | Description |
|---|
| id | string | - | Unique element ID for the anchor scroll target |
Qwik Usage Example
Props
| Prop | Type | Default | Description |
|---|
| class | ClassList | string | - | Additional CSS class list for custom positioning |
Qwik Usage Example
React Usage Example
Props
| Prop | Type | Default | Description |
|---|
| value | string | - | Current color string (e.g. #3b82f6) |
| onChange$ | QRL<(color: string) => void> | - | Color change callback |
Qwik Usage Example
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
React Usage Example
Props
| Prop | Type | Default | Description |
|---|
| opened | boolean | - | Controls the active open indicator state |
| hover | boolean | - | Enables hover mode styling |
Qwik Usage Example
Props
| Prop | Type | Default | Description |
|---|
| for | string | - | Target input element ID |
| label | string | - | Label text to display |
Qwik Usage Example
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
React Usage Example
Props
| Prop | Type | Default | Description |
|---|
| value | number | - | Current numeric value |
| min | number | - | Minimum allowed numeric value |
| max | number | - | Maximum allowed numeric value |
| step | number | 1 | Step increment value |
| onChange$ | QRL<(val: number) => void> | - | Value change handler |
Qwik Usage Example
Props
| Prop | Type | Default | Description |
|---|
| value | number | - | Current slider value |
| min | number | - | Minimum slider value |
| max | number | - | Maximum slider value |
| onChange$ | QRL<(val: number) => void> | - | Slider value change handler |
Qwik Usage Example
Props
| Prop | Type | Default | Description |
|---|
| values | SelectMenuValue[] | - | Array of option items ({ name: string, value: string }) |
| value | string | - | Currently selected option value |
| align | 'left' | 'right' | 'center' | - | Alignment of the select menu dropdown panel |
Qwik Usage Example
Props
| Prop | Type | Default | Description |
|---|
| floating | boolean | - | Enable floating card layout style |
Slots
| Slot Name | Description |
|---|
| title | Sidebar header title text or icon |
| default | Sidebar navigation items and links |
Qwik Usage Example
Props
| Prop | Type | Default | Description |
|---|
| values | TabValue[] | - | Array of tab objects ({ name: string, value: string }) |
| value | TabValue | - | Currently active tab object |
| onClick$ | QRL<(tab: TabValue) => void> | - | Tab selection click handler |
| onPlus$ | QRL<() => void> | - | Optional handler for add tab (+) button |
| onDelete$ | QRL<(tab: TabValue) => void> | - | Optional handler for delete tab (x) button |
Qwik Usage Example
React Usage Example
Props
| Prop | Type | Default | Description |
|---|
| id | string | - | Unique toggle input element ID |
| checked | boolean | - | Controls the active checked toggle state |
| onChange$ | QRL<(e, el) => void> | - | Toggle change event callback |
Qwik Usage Example
React Usage Example