Jumpstart docs logo Back to the app

Icons

Heroicons

Our recommended icon set is Heroicons. They're created by the TailwindCSS creators and come with solid, outline, and mini variations.

To use them, simply copy the SVG from Heroicons and paste it into your HTML. This saves your browser from having to make a separate request to render the icons.

Here's an example of an icon using text-primary-500 to change the icon to blue.

FontAwesome

Font Awesome has an extensive icon set, so if you can't find something in Heroicons, you can probably find it in FontAwesome.

Using Font Awesome icons is as simple as:

  1. Create a Kit on FontAwesome's website.
  2. Include their embed code in the head tag of each layout.
  3. Use the fa_icon helper or paste the FontAwesome HTML into your views.
    <%= fa_icon "thumbs-up" %>