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