@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Variable CardIconConst

    CardIcon: Role.Role<CardData<any>> = ...

    Role token for the card header's leading depiction — a person's avatar, an organization's logo, a type's glyph.

    Scoped to the card deliberately, rather than declared once per type: how an object is depicted depends on the space it gets. A 6-unit card block affords initials or a photograph; a 16px navtree row does not, and those surfaces keep resolving IconAnnotation through Obj.getIcon. A type contributing here says how it looks IN A CARD, and says nothing about anywhere else.

    Unlike CardContent, a miss is not "render nothing" — every object needs some depiction — so hosts check Surface.useIsAvailable and fall back. CardIconSlot packages that pair.