Skip to content

Tag Remove Button

h-tag-remove-button represents a button that enables dispatching an event with the information that the h-tag element has been clicked that other webcomponents can use for their own purposes. It also uses h-icon webcomponent.

Note: h- stands for headless. This is naming convention used for every webcomponent as they must have a two-part name.

Example

<h-tag-remove-button></h-tag-remove-button>
<h-tag-remove-button class="tag__remove-button" aria-label="remove tag">
    <h-icon icon-name="icon-x"></h-icon>
</h-tag-remove-button>

Webcomponents reference