{{!
  Copyright IBM Corp. 2016, 2025
  SPDX-License-Identifier: BUSL-1.1
}}

<Icon
  @name={{this.glyph}}
  class="{{this.class}} {{if (and @isButton (eq this.direction 'right')) 'hs-icon-button-right'}}"
  ...attributes
/>