# Icon
> Lucide stroke icons drawn as native shapes, tinted by theme tokens.
Source: https://native.shellui.dev/docs/components/utility/icon
The icons come from [ShellIcons](https://github.com/shellui-dev/shell-icons), 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
**MAUI**
```xml
```
**Avalonia**
```xml
```
[Live preview](https://native.shellui.dev/preview/index.html?c=icon-basic)
### Colour
`Token` tints the icon with a theme colour, so it follows light and dark mode; `Color` sets a fixed one.
**MAUI**
```xml
```
**Avalonia**
```xml
```
[Live preview](https://native.shellui.dev/preview/index.html?c=icon-colour)
## 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. |