Use Streamline in code

Updated November 23, 2026

Streamline icons are plain files, so they go into your code like any other asset. Export them as SVG, or as JSX for React. With currentColor on, they take your CSS text color, so one icon works for every state of your interface. Your AI coding assistant can also fetch them for you.

Pick SVG for code, or JSX for React

Pick the format that fits your project:

  • SVG works in any web project and any framework, so it’s the default choice.
  • JSX gives you the icon as React code, ready to paste into a component.

Both formats are free on free sets. On pro sets, they need a plan.

Keep PNG or WEBP for the rare case where you need a fixed image, such as an email. See SVG, PNG and other formats.

Let icons take your text color with currentColor

With currentColor on, each icon takes the text color of its parent, so you control its color from CSS. The SVGs use currentColor for their strokes and fills.

Turn it on in the settings bar above the grid, before you copy or download. It applies to every asset in the set. It works on free sets for everyone, and on pro sets with a plan.

<a class="nav-link" href="/settings">
  <svg viewBox="0 0 24 24" width="24" height="24" fill="none" stroke="currentColor" aria-hidden="true">
    <!-- icon paths -->
  </svg>
  Settings
</a>
.nav-link { color: #475569; }
.nav-link:hover { color: #4f46e5; }

Size and color icons with Tailwind or React

With currentColor on, Tailwind’s text utilities color the icon, and its size utilities size it.

<svg className="h-6 w-6 text-indigo-600" viewBox="0 0 24 24" fill="none" stroke="currentColor" aria-hidden="true">
  {/* icon paths */}
</svg>

In React, paste the JSX export into a component, or import the SVG files with your build tool.

Put an icon in your HTML

The simplest way is an image file. The browser caches it, but your CSS can’t recolor it.

<img src="/icons/settings.svg" alt="Settings" width="24" height="24">
<img src="/icons/settings.png" alt="Settings" width="24" height="24">

To style the icon with CSS, paste the SVG markup inline, as in the currentColor example above.

For many icons, use a sprite: one SVG file that holds each icon in a <symbol> with its own id. You then show an icon with <use>. Write the sprite with currentColor, so CSS can still color each icon.

<!-- sprite.svg -->
<svg xmlns="http://www.w3.org/2000/svg">
  <symbol id="settings" viewBox="0 0 24 24"><!-- icon paths --></symbol>
</svg>

<!-- in your page -->
<svg width="24" height="24" aria-hidden="true">
  <use href="/icons/sprite.svg#settings"></use>
</svg>

When an icon carries meaning and has no visible label, give it alt text, or an aria-label on its parent.

Build an icon font

We don’t provide font files, but you can build your own font from our SVGs. Export them with Outline off. Outlined SVGs use the even-odd fill rule, and some font tools only read the nonzero rule. If your icons are already outlined, fix the fill rule with a Figma plugin or a command-line tool before you build the font.

The Typeface set comes as vectors only, not as a font file: streamlinehq.com/icons/typeface.

Is there an NPM package?

No, but you can get icons into your code in other ways:

  • Download the icons you use from the web app.
  • Ask your AI assistant to fetch them through the MCP.
  • Call the API from your own code.
  • Use the VS Code extension to find and add icons without leaving your editor. It also works in Cursor.

Does a developer need a seat?

They don’t if they only use a selection of icons a designer prepared. The project must stay within its per-project limits.

A developer needs a seat if they:

  • open the web app, the plugins or the Mac app
  • get pro icons through the MCP or the API

See Seats for teams.