The Lucide icons GPUI Kit's components use, bundled as geometry for PathIcon.

GPUI Kit's components draw Lucide icons. The theme bundles the ones they use as StreamGeometry resources, so the icons an app places next to the components match them exactly, and no SVG parser is needed at run time (the geometry is compiled XAML, which suits NativeAOT). Lucide is licensed under the ISC License; the license ships with the package.

Usage

Set a PathIcon's Data to the icon's resource. The icon is 16px, GPUI's medium size, and takes the Foreground:

<PathIcon Data="{StaticResource Gpui.Icon.Search}" />
<PathIcon Data="{StaticResource Gpui.Icon.TriangleAlert}"
          Foreground="{DynamicResource Gpui.Warning}" />

The classes xsmall, small and large give GPUI's other sizes, 12, 14 and 24px:

<PathIcon Classes="small" Data="{StaticResource Gpui.Icon.ChevronDown}" />
<PathIcon Classes="large" Data="{StaticResource Gpui.Icon.Bell}" />

Any other geometry works the same way; the theme's PathIcon scales whatever Data it gets to its size.

Bundled icons

KeyLucide icon
Gpui.Icon.Bellbell
Gpui.Icon.Calendarcalendar
Gpui.Icon.Checkcheck
Gpui.Icon.ChevronDownchevron-down
Gpui.Icon.ChevronLeftchevron-left
Gpui.Icon.ChevronRightchevron-right
Gpui.Icon.ChevronUpchevron-up
Gpui.Icon.ChevronsUpDownchevrons-up-down
Gpui.Icon.CircleCheckcircle-check
Gpui.Icon.CircleXcircle-x
Gpui.Icon.Closex
Gpui.Icon.Copycopy
Gpui.Icon.Ellipsisellipsis
Gpui.Icon.ExternalLinkexternal-link
Gpui.Icon.Eyeeye
Gpui.Icon.EyeOffeye-off
Gpui.Icon.Filefile
Gpui.Icon.Folderfolder
Gpui.Icon.FolderOpenfolder-open
Gpui.Icon.Inboxinbox
Gpui.Icon.Infoinfo
Gpui.Icon.Loaderloader-circle
Gpui.Icon.Minusminus
Gpui.Icon.PanelLeftClosepanel-left-close
Gpui.Icon.PanelLeftOpenpanel-left-open
Gpui.Icon.PanelRightClosepanel-right-close
Gpui.Icon.PanelRightOpenpanel-right-open
Gpui.Icon.Plusplus
Gpui.Icon.Redo2redo-2
Gpui.Icon.Searchsearch
Gpui.Icon.SortAscending, Gpui.Icon.SortAscending.Faintarrow-up (the faint one for an inactive column)
Gpui.Icon.SortDescending, Gpui.Icon.SortDescending.Faintarrow-down
Gpui.Icon.Starstar
Gpui.Icon.StarFillstar, filled
Gpui.Icon.TriangleAlerttriangle-alert
Gpui.Icon.Undo2undo-2
Gpui.Icon.Useruser
Gpui.Icon.WindowClosethe title bar's close
Gpui.Icon.WindowMaximizethe title bar's maximize
Gpui.Icon.WindowMinimizethe title bar's minimize
Gpui.Icon.WindowRestorethe title bar's restore

For other icons, add your own StreamGeometry resources, or a package such as Lucide.Avalonia, and point Data at them.