Skip to content

v4.1.0

Choose a tag to compare

@danieIabel danieIabel released this 21 Jul 15:14
· 68 commits to main since this release
de2ec4d
feat: add minimal SVG rendering mode for icons

Introduce a new `minimal` option that renders icons using only the essential SVG attributes (`class` and `viewBox`).

When using this mode, the following CSS is required to ensure the icons render correctly:

```css
.i {
  stroke-width: var(--i-stroke, 2);
  width: var(--i-size, 24px);
  height: var(--i-size, 24px);
  stroke: var(--i-color, currentColor);
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
````