Solidtype_heroui.Avatar_groupHeroUI's AvatarGroup: a <div> of Avatars, with HeroUI's classes from Styles.AvatarGroup, stacked or in a grid. It gives the avatars inside it its size, color and variant, each where an avatar sets none itself, shows the first max of them, and counts the rest, "+2", unless it holds a Count of its own.
<Avatar_group max=3>
<Avatar><Avatar.Fallback>"AL"</Avatar.Fallback></Avatar>
<Avatar><Avatar.Fallback>"GH"</Avatar.Fallback></Avatar>
</Avatar_group>React counts a group's own children; Solid cannot single them out, so an avatar joins the group as it is made, and its place among them is the order they were made in: an avatar added later, by a For, is counted after the others, wherever it is. Kobalte has no group.
type group = {size : unit -> size;color : unit -> color option;variant : unit -> variant option;join : unit -> unit -> bool;join (), as an avatar is made, counts it among the group's until its owner is cleaned up, and is whether it is shown.
count : unit -> unit;}What a group gives its avatars.
module Context : sig ... endmodule Count : sig ... endThe avatar that counts those a group does not show, its children the count, "+40"; a group that holds one counts none itself, and shows it whatever its max. Its size, color and variant are its own, else the group's.
module Props : sig ... endval make : Props.t -> Solidtype.Jsx.elementval component : Props.t Solidtype.Jsx.component