Skip to content

App Icon

Last updated 30 Nov 2026

NbAppIcon shows an app: its icon when there is one, its initials in a tile when there is not.

Accessibility ​

  • By default, one img named by name, with the same name as its tooltip. The picture inside has an empty alt and the initials are hidden, so the app is announced once whichever one shows.
  • With decorative, the whole tile is hidden from assistive technology. Use it when the name is written beside the tile.
  • With no name there is nothing to announce, so give every tile a name or make it decorative.
  • It takes no focus and has no keyboard behaviour. Put it inside the link or button that does.
  • The initials are the theme's primary colour with its readable foreground, the same pairing as NbAvatar. A custom background needs a color that reads on it.