Components / App Identity
App Identity
The Ads counterpart to AccountIdentity: rounded app icon, store badge, and app name in a row. An ad target is an iOS or Android app, and every surface that names one renders it this way.
import { AppIdentity } from '@layers/ui/app-identity'Rendered stock
House rules
- platform is ios or android; the store badge (App Store or Google Play) derives from it and is never passed separately.
- A missing iconUrl falls back to the store icon inside the tile, never an empty box.
- Sizes sm, md, and lg scale the icon, badge, and gap together; textSize is for rows set in nonstandard type only.
- trailing renders inline after the name for suffix content; the name truncates first.
- Social accounts use AccountIdentity; never render an account through AppIdentity or vice versa.