Icon

Lucide stroke icons drawn as native shapes, tinted by theme tokens.

The icons come from ShellIcons, which derives them from Lucide. No font or package: they're geometry in Icon.cs, crisp at any size.

Installation

bash
shellui-native add icon

Platforms: MAUI · Avalonia.

Usage

Basic

Rendered with ShellIcons for Blazor
<ui:Icon Name="Search" Size="20" />
<ui:Icon Name="Settings" Size="20" />
<ui:Icon Name="Bell" Size="20" />
<ui:Icon Name="Heart" Size="20" />
<ui:Icon Name="Star" Size="20" />
<ui:Icon Name="Mail" Size="20" />
<ui:Icon Name="Calendar" Size="20" />
<ui:Icon Name="Code" Size="20" />
Avalonia, running in your browser

Colour

Token tints the icon with a theme colour, so it follows light and dark mode; Color sets a fixed one.

Rendered with ShellIcons for Blazor
<ui:Icon Name="CircleCheck" Size="20" Token="Success" />
<ui:Icon Name="TriangleAlert" Size="20" Token="Warning" />
<ui:Icon Name="CircleX" Size="20" Token="Destructive" />
<ui:Icon Name="Info" Size="20" Token="MutedForeground" />
Avalonia, running in your browser

Names

The icon set has 110 icons, chosen for app UI:

Check, X, Plus, Minus, Search, Filter, Settings, SlidersHorizontal, Pencil, Trash, Trash2, Copy, Clipboard, Save, Download, Upload, Share, Share2, ExternalLink, Link, RefreshCw, RotateCcw, Undo2, Redo2, LogIn, LogOut, Send, Paperclip, ChevronDown, ChevronUp, ChevronLeft, ChevronRight, ChevronsUpDown, ChevronsLeft, ChevronsRight, ArrowLeft, ArrowRight, ArrowUp, ArrowDown, ArrowUpRight, Menu, Ellipsis, EllipsisVertical, GripVertical, House, LayoutDashboard, PanelLeft, Info, CircleAlert, CircleCheck, CircleX, CircleHelp, TriangleAlert, Ban, Loader, LoaderCircle, Bell, Circle, CirclePlus, Dot, User, Users, UserPlus, Lock, LockOpen, Key, Shield, Eye, EyeOff, Mail, Inbox, Archive, MessageCircle, Phone, Calendar, Clock, Globe, MapPin, Image, File, FileText, Folder, Tag, Bookmark, Heart, Star, ThumbsUp, ShoppingCart, CreditCard, DollarSign, Activity, TrendingUp, ChartColumn, Zap, Sparkles, Command, Terminal, Code, Moon, Sun, Monitor, Smartphone, Laptop, Wifi, Camera, Mic, Play, Pause, Volume2, Lightbulb.

Icons are generated from ShellIcons by scripts/generate-icons.py in the shellui-native repository; add names there to include more.

MAUI and Avalonia

The icon is picked with Name on MAUI and Kind on Avalonia, because every Avalonia control already has a Name.

API

Property Type Default Description
Name IconName None Icon to draw. MAUI only.
Size double 16 Width and height, in device-independent units.
StrokeWidth double 2 Line thickness, in the icon's 24-unit grid.
Token ShellToken Foreground Theme colour token the icon is drawn with.
Color Color (MAUI) · Color? (Avalonia) null Explicit color; overrides Token when set.
Kind IconName None Icon to draw. Avalonia only.

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.