Skip to main content

What Icons Are Included

Rendering An Icon

  • We use the inline_svg gem.
  • To render an icon, use the following snippet and swap out the name of the file and the classes as necessary.

Add Classes

Most commonly used to change the size or color.

FAQ

Normal image tags don’t allow us to specify a class that gets add to the svg element itself. Instead, they render an <img> that points to the svg, which is different to rendering the svg directly.