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

<button aria-label="Close" q-inline-icon-button></button>

Variants

<button
  aria-label="Close"
  emphasis="persistent-white"
  q-inline-icon-button
></button>

API

q-inline-icon-button

PropTypeDefault
The style variant of the button. Governs color.
| 'neutral'
| 'persistent-white'
| 'persistent-black'
'neutral'
LucideIconData
X
The size of the button and its icon.
| 'sm'
| 'md'
| 'lg'
'md'
The style variant of the button's icon that controls its size
  • scale: The icon size scales with the button's size
  • fixed: The icon size is constant, regardless of the button's size
| 'fixed'
| 'scale'
'fixed'
Type
| 'neutral'
| 'persistent-white'
| 'persistent-black'
Description
The style variant of the button. Governs color.
Type
LucideIconData
Description
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
  • scale: The icon size scales with the button's size
  • fixed: The icon size is constant, regardless of the button's size