Icon

Accessible icon wrapper

  • Name@spark-ui/icon
    Version2.0.10
    LicenseMIT
    npmgithubReported IssuesReport a bug
  • Icon#

    AttributeTypeDescriptionDefault
    children*ReactNodeThe svg icon that will be wrappednull
    labelstringThe 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