SVG

Stroke

Utilities for sets the outline color of an SVG.


Class

classcss
stroke-currentstroke: currentColor

Usage

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

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

Variant

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