@antadesign/anta
    Preparing search index...

    Function IconUnreviewed

    • Renders an <a-icon> web component. Color follows currentColor; size is set via the size prop (defaults to 16).

      Requires @antadesign/anta/elements to be imported (client-side only) to register the underlying custom element and load the icon stylesheets.

      Parameters

      Returns any

      <button>
      <Icon shape="trash" />
      Delete
      </button>
      <button aria-label="Delete">
      <Icon shape="trash" label="Delete" />
      </button>