Rocket Logo Rocket Docs Themes Tools Blog

Card Icon

Shows an icon in a card.

Note: This is a server only component as it reads svg files from the file system and inlines them.

<rocket-icon-card icon="solid/headphones-alt"></rocket-icon-card>

It does supports the 1,600+ icons from font awesome.

The icon attribute is solid|regular|brands + / + icon name.

For example:

  • solid/anchor
  • solid/battery-empty
  • regular/check-circle
  • ...

Beware that in the free version of font awesome we only have access to