Files
lucide/packages/shared
Ken Kunz b65ee94555 Don't emit NaN stroke width for non-numeric absolute lengths
`absoluteStrokeWidth` scales the stroke by `Number(size)`, so a CSS unit such
as `1em` produced `NaN` and a size of `0` produced `Infinity` – both invalid as
a `stroke-width` attribute. Fall back to the unscaled stroke width whenever the
conversion isn't finite, so the deprecated prop degrades rather than breaking
the rendered icon.
2026-09-16 10:18:01 -05:00
..

@lucide/shared

A collection of shared internal utilities for Lucide.