stroke-width
Utilities for controlling the stroke thickness of vector SVG paths and shapes.
ISS preview

Examples
Section titled “Examples”use iss::{svg_tw, tw, SvgScene};
let icon = svg_tw(scene, tw!("size-6 fill-none stroke-zinc-200 stroke-[1.75]"));use iss::typed::*;
let icon = svg_tw(scene, IssStyle::new().size(6).fill_none().stroke(palette::ZINC_200).stroke_width(1.75));Class Reference
Section titled “Class Reference”| Tailwind Class | CSS Property / Effect | iss::typed Builder |
|---|---|---|
stroke-0 / stroke-1 / stroke-2 |
stroke-width: 0 / 1 / 2; |
.stroke_0() / .stroke_width(2) |
stroke-<n> |
Dynamic numeric stroke width; |
.stroke_width(1.5) |
stroke-[3px] |
Arbitrary pixel stroke width; |
.stroke_width_px(3) |