App iconPro
Oxyn original: six alternate icons we draw, in Colour, Dark or one Tinted hue, shown in a home row among other apps.
oxyn add app-icon-pickerApp icon
The preview stays free for everyone. Pro opens the code of every Pro component, screen, agent-app template, block and kit, plus the Pro CLI.
Rendered from Rust at build time · goes live when visible
When to use
- Let someone choose how the app's icon looks – one of six we draw, in colour, dark or a single tint – and see it among other apps.
When not to use
- Picture tiles we draw ourselves plus Your own, with Film, Static or Dither laid over the picture and a home screen preview: use Background picker instead.
- Eight mini-window swatches: use Theme grid instead.
- Oxyn original: use Theme split instead.
Installation
App icon is part of Oxyn Pro; the preview is free. Pro items install with the oxyn CLI once your licence is signed in; until then Pro members copy the code from this page.
oxyn add app-icon-pickerUsage
The preview is free. Pro opens the code of every Pro component, screen and template.
Examples
Default
Classic in colour among other apps.
App icon
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Ocean dark
Ocean in the Dark style: its colours on a near-black ground.
App icon
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
Tinted
Every icon drawn in one hue from the slider.
App icon
Code Pro
The preview is free. Pro opens the code of every Pro component, screen and template.
API reference
AppIconPicker
| Prop | Type | Default | Description |
|---|---|---|---|
default_icon | String | "classic" | Starting icon key. |
default_style | String | "color" | Starting style (`color`, `dark`, `tinted`). |
default_tint | u32 | 210 | Starting tint hue (0–359) for Tinted. |
on_change | EventHandler<(String, String)> | — | The icon or style changed: (icon, style). |
Read from the Rust signature and doc comments.
Keyboard interactions
| Key | Action |
|---|---|
| Tab | Style, each icon, the tint slider |
| EnterorSpace | Picks |
| LeftorRight on Tint | Turns the hue |
Accessibility
- Icons and styles are radio groups named in words; the tint slider is disabled unless Tinted is picked.
- The home row is an image labelled with the icon it shows.
Responsive behaviour
- 560 px card; icons drop to three columns under 480 px.
Edge cases (spec)
Icons drop to three columns under 480 px.
Notes for AI
- Import
AppIconPickerfromoxyn_dioxusand includeSTATUS_INDICATOR_CSSplus the token stylesheet once. - A GPUI version exists:
AppIconPickerElinoxyn_gpui. - Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.