Icon
Accessible icon wrapper
Name@spark-ui/icon
Version2.0.10
LicenseMIT
Icon#
Attribute | Type | Description | Default |
children* | ReactNode | The svg icon that will be wrapped | null |
label | string | The accessible label for the icon. This label will be visually hidden but announced to screen reader users, similar to `alt` text for `img` tags. | null |
intent | "current" | "main" | "support" | "accent" | "basic" | "success" | "alert" | "error" | "info" | "neutral" | - | current |
size | "current" | "sm" | "md" | "lg" | "xl" | - | current |