An icon, as an outline (see IconView::filled).
The icons are Lucide's, linked only when asked for (icons feature), so an icon is a small cost on a chip.
Signature
pub const fn icon(icon: fusuma_icons::Icon) -> IconViewMethods
.filled(filled: bool) -> Self— Whether the icon is filled in (its closed shapes as well as its outline), as for a chosen item; an outline when not, which is how it starts.
Example
use fusuma::{Icon, icon, row};
let view = row((icon(Icon::Home), icon(Icon::Settings).filled(true)));
let built = fusuma::doc::built::<(), _>(&view);
assert_eq!(built.nodes(), 3);