Icon Component

Vector icons implemented with CSS mask-image. Color via text-* or icon-* utilities. Supports multiple icon families, sizes, and custom colors.

Notes

Basic usage

Default icons

With color (text-*)

Icon + text

Success Error Info Warning

Icon families

Check

check check-pill check-pill-fill

Close

close close-circle close-circle-fill

Warning / triangle

warning warning-triangle warning-triangle-fill

Question / help

warning warning-circle warning-circle-fill

Info

info info-circle info-circle-fill

Chevron down

chevron-down chevron-down-circle chevron-down-circle-fill

Plus

plus plus-circle plus-circle-fill

Sizes

Custom via icon-*

Theme colors

default primary secondary tertiary success error info warning help ink title description caption disabled

Custom colors

Icon color follows the text color — use style="color:..." or text-* utilities.

Use cases

Status indicators

Upload successful Upload failed Disk space low Update available

Button icons

Save Delete Details

Form validation

Username available Password too weak Email format OK Code expiring