Mixins / foldkit-mixins-ui

AvatarGroupSlots

const · packages/mixins-ui/src/avatar.ts:117

const AvatarGroupSlots: Slots.Contract<{
  readonly root: Slot.UnnamedSlot<
    Capability.Capability<
      'Container',
      readonly [
        Capability.Capability<
          'Interactive',
          readonly [Capability.Capability<'Base', readonly []>]
        >,
      ]
    >,
    readonly Slot.EventName[],
    readonly Slot.AttributeName[],
    readonly Slot.RequirementName[],
    boolean
  >
}>

A group publishes its frame; each avatar in it is an AvatarSlots avatar, and the count of those left out is one more, so it takes the same size and shape. The +N's root carries data-rest, so a style can keep it out of a colour by name.

In the guides