avatar-group.ts
852 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
const size = [
"3xs",
"2xs",
"xs",
"sm",
"md",
"lg",
"xl",
"2xl",
"3xl"
] as const
export default {
"slots": {
"root": "inline-flex flex-row-reverse justify-end",
"base": "relative rounded-full ring-bg first:me-0"
},
"variants": {
"size": {
"3xs": {
"base": "ring -me-0.5"
},
"2xs": {
"base": "ring -me-0.5"
},
"xs": {
"base": "ring -me-0.5"
},
"sm": {
"base": "ring-2 -me-1.5"
},
"md": {
"base": "ring-2 -me-1.5"
},
"lg": {
"base": "ring-2 -me-1.5"
},
"xl": {
"base": "ring-3 -me-2"
},
"2xl": {
"base": "ring-3 -me-2"
},
"3xl": {
"base": "ring-3 -me-2"
}
}
},
"defaultVariants": {
"size": "md" as typeof size[number]
}
}