Skip to main content

App Icon

Shows an application icon. If the icon is not available, for instance for technical reasons, a placeholder is shown that is defined based on the applicaton name.

Example

Live Editor
Result
Loading...

Variants

Local App Icons

We have local App Icons in Atlas that can be accessed by passing the appId:

Live Editor
Result
Loading...

Size

The AppIcon is available in three sizes: small, medium, and large.

Live Editor
Result
Loading...

Props

NameTypeDefault
appName *
The appName will be used as a placeholder in case the app icon is not available
string
css
Add custom styles to this component. Use with caution. Learn more here: Link
SupportedStyleAttributes
inputFieldCss
SupportedStyleAttributes
appId
An app id in either Android's namespace format (e.g. "com.adjust.insights") or in iOS' number format (e.g. "1125517808")
string
size
Size of the icon
"small" | "medium" | "large"
"medium"
customQueryClient
custom queryClient for query hook
QueryClient
data-{foo}
Data attributes can be used by testing libraries to retrieve components or assert their existence
string
* - the prop is required.