SVG

Fill

Utilities for styling the fill of SVG elements.

Basic usage

Setting the fill color

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

<svg className="**fill-blue-500** ...">
  <!-- ... -->
</svg>

This can be useful for styling icon sets like Heroicons.