title: Angular Material: How to use `mat-icon` as `mat-card-avatar` within `mat-card-header`?
body: <p>Providing an image avatar within a <code>mat-card-header</code> is well supported via <code>mat-card-avatar</code>.</p>
  
  <p><a href="https://i.stack.imgur.com/gu4Dy.jpg" rel="noreferrer"><img src="https://i.stack.imgur.com/gu4Dy.jpg" alt="enter image description here"></a></p>
  
  <p>There are many use-cases where we'd like to use an icon, instead of an image, as the card's "avatar". </p>
  
  <p>Is there an easy way to replace the avatar with an icon?</p>
  
  <p>This below sort of works, but is not quite as nice as the avatar image.</p>
  
  <p><a href="https://i.stack.imgur.com/HBWiZ.png" rel="noreferrer"><img src="https://i.stack.imgur.com/HBWiZ.png" alt="enter image description here"></a></p>