@neuctra/ui
Version:
A modern, responsive, customizable React UI component library powered by Tailwind CSS and Vite.
16 lines (15 loc) • 709 B
TypeScript
import { default as React } from 'react';
export interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
/** Avatar elements (or any circular content). */
children: React.ReactNode;
/** Show at most this many; the rest collapse into a "+N" counter. */
max?: number;
size?: "sm" | "md" | "lg";
/** Overlap amount between items. */
spacing?: "tight" | "normal";
/** Customize the wrapper span around each visible avatar item. */
itemClassName?: string;
/** Customize the "+N" overflow counter. */
counterClassName?: string;
}
export declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;