Components
Components

Icon button

Tag: <we-button-icon>
Standard module: we_button_icon

Renders a button with an icon and optional title.

Features

  • Combines icon name and size with button variant.
  • Optional title supplies button context.

Public parameters

JavaScript property HTML attribute Type Initial value Purpose
iconName icon-name String 'material:add' Icon identifier.
iconSize icon-size String 'x-small' Icon size.
variant variant String 'outline:base' Visual style variant.
title title String '' title supplied by the caller.

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_button_icon/WebComponent/WeButtonIcon.js.

All components