Skip to content

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-picker

App icon

The code is part of Oxyn Pro

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.

Get Pro

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.

Terminal
oxyn add app-icon-picker

Usage

Dioxus · rust
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Examples

Default

Classic in colour among other apps.

App icon

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Ocean dark

Ocean in the Dark style: its colours on a near-black ground.

App icon

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

Tinted

Every icon drawn in one hue from the slider.

App icon

Code Pro
The code is part of Oxyn Pro

The preview is free. Pro opens the code of every Pro component, screen and template.

Get Pro

API reference

AppIconPicker

PropTypeDefaultDescription
default_iconString"classic"Starting icon key.
default_styleString"color"Starting style (`color`, `dark`, `tinted`).
default_tintu32210Starting tint hue (0–359) for Tinted.
on_changeEventHandler<(String, String)>—The icon or style changed: (icon, style).

Read from the Rust signature and doc comments.

Keyboard interactions

KeyAction
TabStyle, each icon, the tint slider
EnterorSpacePicks
LeftorRight on TintTurns 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 AppIconPicker from oxyn_dioxus and include STATUS_INDICATOR_CSS plus the token stylesheet once.
  • A GPUI version exists: AppIconPickerEl in oxyn_gpui.
  • Keep its states and timings as they ship; restyle it through the CSS variables rather than by hand.

Guides

Oxyn · 74 free components · 264 Pro components · 96 screens · 20 blocks · Dioxus and GPUI