Icon
An icon is a small visual element, like a symbol, that represents certain functions, features, or types of content within a user interface.
import {Icon} from "@qualcomm-ui/react/icon"Overview
QUI components use icons from Lucide, an open-source fork of Feather Icons.
Many components like the Button and Icon Button have built-in support for Lucide Icons.
Examples
Showcase
Qualcomm
<Icon icon={ExternalLink} size="lg" />
<Icon icon={Search} size="lg" />
<Icon icon={Eye} size="lg" />Sizes
Size can be customized using the size input. There are five available values: xs, sm, md, lg, xl. Should you need more control over the rendered size, supply a number instead which will be converted to pixels.
Qualcomm
API
<Icon>
The properties of the <svg> element also apply.
| Attribute / Property | Value |
|---|---|
className | 'qui-icon__root' |
data-size | | string |
style |
<svg>element.