import AvatarContainer from "../../app/components/asset/AvatarContainer"; import Avatar from "../../app/components/asset/Avatar"; export default { title: "Components/Asset/AvatarContainer", component: AvatarContainer, parameters: { layout: "centered", docs: { description: { component: "Stacks multiple `Avatar` children with overlapping spacing. Lives under `asset/` next to Avatar-related chrome.", }, }, }, argTypes: { size: { control: { type: "select" }, options: ["small", "medium", "large", "xlarge"], description: "The size of the avatar container and its children", }, className: { control: { type: "text" }, description: "Additional CSS classes", }, }, tags: ["autodocs"], }; export const Default = { args: { size: "medium", }, render: (args) => ( ), }; export const Sizes = { args: {}, render: () => (

Small Size

Medium Size

Large Size

XLarge Size

), parameters: { docs: { description: { story: "Different size variants of the avatar container with overlapping spacing.", }, }, }, }; export const DifferentGroupSizes = { args: {}, render: () => (

2 Users

3 Users

4 Users

5 Users

), parameters: { docs: { description: { story: "Avatar containers with different numbers of users to show the overlapping effect.", }, }, }, }; export const InContext = { args: {}, render: () => (

Avatar Container in Context

Team Members

3 team members

Project Contributors

4 contributors

Small Team

2 members
), parameters: { docs: { description: { story: "Avatar containers used in realistic contexts to show how they integrate with other UI elements.", }, }, }, };