Header
The Header provides a container for the logo, title, top-level navigation and access to app controls.
import {QHeader} from "@qui/react"
Overview
QUI exports 6 components to help you build headers:
QHeader
: the root component.QHeaderLogo
: layout component that wraps the header's logo and title.QHeaderTitle
: the header's primary message, typically the title of your application.QHeaderNav
: layout component that wraps the header's nav items.QHeaderNavItem
: individual nav links and menus.QHeaderActions
: layout component that wrap's the header's right-hand actions.
Examples
Showcase

Qualcomm Device Cloud
Colors
Use the color input to render one of the three background colors available - primary
, contrast
, or gunmetal
.
primary
contrast
gunmetal

Qualcomm Device Cloud

Qualcomm Device Cloud

Qualcomm Device Cloud
Customization
Everything in the header is customizable. Mix and match with our existing components to suit your needs.

QUI Components
API
QHeader
Name & Description | Option(s) | Default |
---|---|---|
The component used for the root node. It can be a React component or
element. |
| 'header' |
The className property of the Element
interface gets and sets the value of the
class attribute
of the specified element. |
| |
The style global attribute
contains CSS styling
declarations to be applied to the element. | CSSProperties |
Type
| ElementType| ComponentType
Default
'header'
Description
The component used for the root node. It can be a React component or
element.
Type
string
Description
The className property of the Element
interface gets and sets the value of the
class attribute
of the specified element.
Type
CSSProperties
Description
The style global attribute
contains CSS styling
declarations to be applied to the element.
QHeaderLogo
Name & Description | Option(s) | Default |
---|---|---|
The component used for the root node. It can be a React component or
element. |
| 'div' |
ReactNode | ||
The className property of the Element
interface gets and sets the value of the
class attribute
of the specified element. |
| |
The style global attribute
contains CSS styling
declarations to be applied to the element. | CSSProperties |
Type
| ElementType| ComponentType
Default
'div'
Description
The component used for the root node. It can be a React component or
element.
Type
string
Description
The className property of the Element
interface gets and sets the value of the
class attribute
of the specified element.
Type
CSSProperties
Description
The style global attribute
contains CSS styling
declarations to be applied to the element.
QHeaderTitle
Name & Description | Option(s) | Default |
---|---|---|
The component used for the root node. It can be a React component or
element. |
| 'div' |
ReactNode | ||
The className property of the Element
interface gets and sets the value of the
class attribute
of the specified element. |
| |
The style global attribute
contains CSS styling
declarations to be applied to the element. | CSSProperties |
Type
| ElementType| ComponentType
Default
'div'
Description
The component used for the root node. It can be a React component or
element.
Type
string
Description
The className property of the Element
interface gets and sets the value of the
class attribute
of the specified element.
Type
CSSProperties
Description
The style global attribute
contains CSS styling
declarations to be applied to the element.
QHeaderNav
Name & Description | Option(s) | Default |
---|---|---|
The component used for the root node. It can be a React component or
element. |
| 'nav' |
ReactNode | ||
The className property of the Element
interface gets and sets the value of the
class attribute
of the specified element. |
| |
The style global attribute
contains CSS styling
declarations to be applied to the element. | CSSProperties |
Type
| ElementType| ComponentType
Default
'nav'
Description
The component used for the root node. It can be a React component or
element.
Type
string
Description
The className property of the Element
interface gets and sets the value of the
class attribute
of the specified element.
Type
CSSProperties
Description
The style global attribute
contains CSS styling
declarations to be applied to the element.
QHeaderNavItem
Name & Description | Option(s) | Default |
---|---|---|
The component used for the root node. It can be a React component or
element. |
| 'button' |
The className property of the Element
interface gets and sets the value of the
class attribute
of the specified element. |
| |
Icon; positioned after the children. |
| |
Icon; positioned before the children. |
| |
The style global attribute
contains CSS styling
declarations to be applied to the element. | CSSProperties |
Type
| ElementType| ComponentType
Default
'button'
Description
The component used for the root node. It can be a React component or
element.
Type
string
Description
The className property of the Element
interface gets and sets the value of the
class attribute
of the specified element.
Type
| LucideIcon| ReactNode
Description
Icon; positioned after the children.
Type
| LucideIcon| ReactNode
Description
Icon; positioned before the children.
Type
CSSProperties
Description
The style global attribute
contains CSS styling
declarations to be applied to the element.
QHeaderActions
Name & Description | Option(s) | Default |
---|---|---|
The component used for the root node. It can be a React component or
element. |
| 'div' |
ReactNode | ||
The className property of the Element
interface gets and sets the value of the
class attribute
of the specified element. |
| |
The style global attribute
contains CSS styling
declarations to be applied to the element. | CSSProperties |
Type
| ElementType| ComponentType
Default
'div'
Description
The component used for the root node. It can be a React component or
element.
Type
string
Description
The className property of the Element
interface gets and sets the value of the
class attribute
of the specified element.
Type
CSSProperties
Description
The style global attribute
contains CSS styling
declarations to be applied to the element.