SVG

Stroke

Utilities for styling the stroke of SVG elements.

Basic usage

Setting the stroke color

Use the stroke-{color} utilities to change the stroke color of an SVG.

<svg className="**stroke-cyan-500** ...">
  <!-- ... -->
</svg>

This can be useful for styling icon sets like Heroicons.