SVG

Fill

Utilities for sets the color to paint an SVG.


Class

classcss
fill-currentfill: currentColor

Usage

Set a SVG image with color overrides by using text-{color} utility. (See Text Color).

<!-- Example -->
<svg class="fill-current text-amber-400">
...
</svg>

Variant

VariantEnabledResponsive
DefaultYes
Dark Theme
hover
group-hover
focus
focus-visible
focus-within
active
visited
checked
disabled