Icons
Tessel comes with a set of commonly used icons. Show one with Icon and the
icon’s name:
HStack(spacing: 6) { Icon(.warning).color(.orange) Text("3 problems")}An icon is sized by .font(size:) and colored by .color(…), just like text,
so it lines up with the text next to it. See
Icons, SVG and images for more, including drawing your own SVG.
The icons come from Lucide (ISC license), renamed to match Tessel’s naming style.
59 icons.