{{!
  Copyright (c) HashiCorp, Inc.
  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
/>