Components
Components

Icon

Tag: <we-icon>
Standard module: we_icon

Renders a named icon with size and optional background and text styling.

Features

  • Uses a named icon and selectable size.
  • Supports background, text color, and background URL.

Public parameters

JavaScript property HTML attribute Type Initial value Purpose
iconName icon-name String — Icon identifier.
iconSize icon-size String "medium" Icon size.
bgColor bg-color String — Background color.
textColor text-color String — Icon/text color.
bgUrl bg-url String — Background image URL.

Public methods

No @apiFunction methods are declared.

Events

No directly constructed CustomEvent was found in this component source. Standard DOM events can still occur.

Source: working/environment_modules/standard/we_icon/WebComponent/WeIcon.js.

All components