Inline Icon Button
Inline icon buttons provide a compact, icon-only action trigger designed for use within text content or tight spaces where a full button would be too prominent.
import {InlineIconButtonComponent} from "@qualcomm-ui/angular/inline-icon-button"Accessibility Guidelines
Icon-only buttons rely on visual cues that screen readers cannot access. Use aria-label or aria-labelledby to give every icon-only button an accessible name so its purpose is clear to assistive technologies.
Examples
Showcase
Qualcomm
<button aria-label="Close" q-inline-icon-button></button>
Variants
Qualcomm
<button
aria-label="Close"
emphasis="persistent-white"
q-inline-icon-button
></button>
API
q-inline-icon-button
| Prop | Type | Default |
|---|---|---|
The style variant of the button. Governs color. | | 'neutral' | 'neutral' |
LucideIconData | X | |
The size of the button and its icon. | | 'sm' | 'md' |
The style variant of the button's icon that controls its size | | 'fixed' | 'fixed' |
Type
| 'neutral'
| 'persistent-white'
| 'persistent-black'
Description
The style variant of the button. Governs color.
Type
LucideIconDataDescription
Type
| 'sm'
| 'md'
| 'lg'
Description
The size of the button and its icon.
Type
| 'fixed'
| 'scale'
Description
The style variant of the button's icon that controls its size