Guide

Using Icon Stack

Everything you need to find the right icon, tune it, and drop it into your product.

Find an icon

Open Icons and start typing. Search looks at each icon’s name, its category and its tags, so a word like “money” also finds coins and banknotes.

  • Press / or ⌘K anywhere to jump to search.
  • Pick a style and a category in the sidebar to narrow the grid.
  • Filters live in the address bar, so you can share a link to exactly what you see, for example /icons?q=arrow&s=rounded.

Adjust and copy

The Adjust panel changes every icon in the grid at once:

  • Stroke width applies to icons drawn with lines (outlined, rounded, sharp, semi-rounded, duotone and animated).
  • Color can follow your text color (currentColor) or be set to a fixed color.

Click Copy SVG on any card. What you copy matches what you see, including your stroke width and, on Pro, the color you picked.

Use in HTML

Paste the SVG straight into your markup. Icons use currentColor, so they take the color of the surrounding text, and you size them with CSS.

<button class="btn">
  <svg class="icon" viewBox="0 0 24 24" fill="none" stroke="currentColor"
       stroke-width="1.75" stroke-linecap="round" stroke-linejoin="round"
       aria-hidden="true">…</svg>
  Save
</button>

.icon { width: 20px; height: 20px; }

You can also save the file and use it as an image: <img src="/icons/heart.svg" alt="" width="24" height="24">. As an image, the color is fixed to whatever is in the file.

Use in React

Rename attributes to camelCase (stroke-width → strokeWidth) and pass props through so size and color stay flexible:

export function HeartIcon({ size = 24, ...props }) {
  return (
    <svg width={size} height={size} viewBox="0 0 24 24" fill="none"
         stroke="currentColor" strokeWidth={1.75} strokeLinecap="round"
         strokeLinejoin="round" aria-hidden="true" {...props}>
      {/* paths from the copied SVG */}
    </svg>
  );
}

Use in CSS

To color an icon with CSS when it is not inline, use it as a mask:

.icon-heart {
  width: 24px; height: 24px;
  background: currentColor;
  mask: url(/icons/heart.svg) center / contain no-repeat;
}

The eight styles

StyleWhat it isGood for
FillSolid shapesActive and selected states, small sizes
OutlinedLight strokesMost interfaces; the default
RoundedHeavier strokes, soft cornersFriendly, consumer products
SharpSquare line ends, crisp cornersTechnical and editorial work
Semi-roundedRound line ends, gentle cornersA middle ground between the two
DuotoneStrokes over a tinted fillFeature lists, empty states
AnimatedMoves on its own (SMIL)Loading, success, attention
Isometric3D shapes with shaded facesIllustrations and marketing pages

Animated icons use SMIL (<animate>), not CSS or JavaScript, so they keep moving when pasted inline, used as an <img> or opened on their own.

The grid

Every icon is drawn on the same construction grid, so icons sit together without optical tweaks:

  • 24 × 24 canvas, viewBox="0 0 24 24".
  • 2px padding: artwork stays inside the 20 × 20 live area.
  • A keyline circle (diameter 20) and keyline square balance round and square shapes.
  • Line styles share a default 1.75 stroke.

Use icons at 16, 20, 24 or 32px. At 16px, a 1.5 stroke usually reads better; at 32px and up, try 2.

Accessibility

  • Next to visible text, hide the icon from screen readers with aria-hidden="true".
  • An icon on its own (an icon button) needs a name: put aria-label on the button.
  • Keep icons at a 3:1 contrast ratio with their background.
  • Animated icons can respect reduced motion: pause them with svg.pauseAnimations() when prefers-reduced-motion is set.

Want new icons as they land?

Get a short email when new icons, styles and tools ship.