x
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<div class="space-y-12">
<div class="flex flex-col gap-2 my-12">
<h3 class="mb-2 text-lg font-semibold">Avatars mixed</h3>
<div class="flex relative -space-x-2">
<div class="relative inline-block md:h-16 md:w-16 h-12 w-12 rounded-full transition duration-500 ease-in-out transform hover:drop-shadow-2xl hover:bg-transparent hover:z-[100] hover:scale-105">
<a class="block" href="https://github.com/marcoroth">
<img alt="Marco Roth" title="Marco Roth" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/6411752?v=4" />
</a>
<span class="absolute bottom-0 right-0 flex items-center justify-center w-3 h-3 rounded-full bg-yellow-500"></span>
</div>
<div class="relative inline-block md:h-16 md:w-16 h-12 w-12 rounded-full transition duration-500 ease-in-out transform hover:drop-shadow-2xl hover:bg-transparent hover:z-[100] hover:scale-105">
<a class="block" href="https://github.com/gregmolnar">
<img alt="Greg Molnar" title="Greg Molnar" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/752058?v=4" />
</a>
<span class="absolute bottom-0 right-0 flex items-center justify-center w-3 h-3 rounded-full bg-gray-500"></span>
</div>
<div class="relative inline-block md:h-16 md:w-16 h-12 w-12 rounded-full transition duration-500 ease-in-out transform hover:drop-shadow-2xl hover:bg-transparent hover:z-[100] hover:scale-105">
<a class="block" href="https://github.com/lucianghinda">
<img alt="Lucian Ghinda" title="Lucian Ghinda" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/1407869?v=4" />
</a>
<span class="absolute bottom-0 right-0 flex items-center justify-center w-3 h-3 rounded-full bg-red-500"></span>
</div>
<div class="relative inline-block md:h-16 md:w-16 h-12 w-12 rounded-full transition duration-500 ease-in-out transform hover:drop-shadow-2xl hover:bg-transparent hover:z-[100] hover:scale-105">
<a class="block" href="https://github.com/adrianthedev">
<img alt="Adrian Marin" title="Adrian Marin" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/1334409?v=4" />
</a>
<span class="absolute bottom-0 right-0 flex items-center justify-center w-3 h-3 rounded-full bg-green-500"></span>
</div>
<div class="relative inline-block md:h-16 md:w-16 h-12 w-12 rounded-full transition duration-500 ease-in-out transform hover:drop-shadow-2xl hover:bg-transparent hover:z-[100] hover:scale-105">
<a class="block" href="https://github.com/yshmarov">
<img alt="Yaro Shmarov" title="Yaro Shmarov" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/13472945?v=4" />
</a>
<span class="absolute bottom-0 right-0 flex items-center justify-center w-3 h-3 rounded-full bg-green-500"></span>
</div>
</div>
</div>
<div class="flex flex-col gap-2 my-12">
<h3 class="mb-2 text-lg font-semibold">Avatars with a link and preview</h3>
<div class="flex relative -space-x-2">
<div class="relative inline-block md:h-16 md:w-16 h-12 w-12 rounded-full transition duration-500 ease-in-out transform hover:drop-shadow-2xl hover:bg-transparent hover:z-[100] hover:scale-105">
<a class="block" href="https://github.com/yshmarov">
<img alt="Yaro Shmarov" title="Yaro Shmarov" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/13472945?v=4" />
</a>
<span class="absolute bottom-0 right-0 flex items-center justify-center w-3 h-3 rounded-full bg-green-500"></span>
</div>
</div>
</div>
<div class="flex flex-col gap-2 my-12">
<h3 class="mb-2 text-lg font-semibold">Different sizes</h3>
<div class="flex flex-row items-end mb-8">
<div class="relative inline-block md:h-28 md:w-28 h-12 w-12 rounded-full">
<img alt="Yaro Shmarov" title="Yaro Shmarov" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/13472945?v=4" />
</div>
<div class="relative inline-block md:h-24 md:w-24 h-12 w-12 rounded-full">
<img alt="Greg Molnar" title="Greg Molnar" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/752058?v=4" />
</div>
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12 rounded-full">
<img alt="Adrian Marin" title="Adrian Marin" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/1334409?v=4" />
</div>
<div class="relative inline-block md:h-16 md:w-16 h-12 w-12 rounded-full">
<img alt="Lucian Ghinda" title="Lucian Ghinda" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/1407869?v=4" />
</div>
<div class="relative inline-block md:h-12 md:w-12 h-10 w-10 rounded-full">
<img alt="Marco Roth" title="Marco Roth" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/6411752?v=4" />
</div>
<div class="relative inline-block md:h-10 md:w-10 h-8 w-8 rounded-full">
<img alt="Matz" title="Matz" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/30733?v=4" />
</div>
<div class="relative inline-block md:h-8 md:w-8 h-6 w-6 rounded-full">
<img alt="Matz" title="Matz" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/30733?v=4" />
</div>
<div class="relative inline-block md:h-6 md:w-6 h-4 w-4 rounded-full">
<img alt="Matz" title="Matz" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/30733?v=4" />
</div>
</div>
</div>
<div class="flex flex-col gap-2 my-12">
<h3 class="mb-2 text-lg font-semibold">Different shapes</h3>
<div class="flex flex-row gap-2 items-end mb-8">
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12 rounded-none">
<img alt="Yaro Shmarov" title="Yaro Shmarov" class="w-full h-full object-cover rounded-none" src="https://avatars.githubusercontent.com/u/13472945?v=4" />
</div>
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12 rounded-full">
<img alt="Greg Molnar" title="Greg Molnar" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/752058?v=4" />
</div>
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12 rounded-md">
<img alt="Adrian Marin" title="Adrian Marin" class="w-full h-full object-cover rounded-md" src="https://avatars.githubusercontent.com/u/1334409?v=4" />
</div>
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12 rounded-full">
<img alt="Marco Roth" title="Marco Roth" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/6411752?v=4" />
</div>
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12 rounded-none">
<img alt="Lucian Ghinda" title="Lucian Ghinda" class="w-full h-full object-cover rounded-none" src="https://avatars.githubusercontent.com/u/1407869?v=4" />
</div>
</div>
</div>
<div class="flex flex-col gap-2 my-12">
<h3 class="mb-2 text-lg font-semibold">Different indicators</h3>
<div class="flex flex-row gap-2 items-end mb-8">
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12 rounded-full">
<img alt="Yaro Shmarov" title="Yaro Shmarov" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/13472945?v=4" />
<span class="absolute bottom-0 right-0 flex items-center justify-center w-3 h-3 rounded-full bg-gray-500"></span>
</div>
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12 rounded-full">
<img alt="Greg Molnar" title="Greg Molnar" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/752058?v=4" />
<span class="absolute bottom-0 right-0 flex items-center justify-center w-3 h-3 rounded-full bg-green-500"></span>
</div>
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12 rounded-full">
<img alt="Adrian Marin" title="Adrian Marin" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/1334409?v=4" />
<span class="absolute bottom-0 right-0 flex items-center justify-center w-3 h-3 rounded-full bg-red-500"></span>
</div>
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12 rounded-full">
<img alt="Lucian Ghinda" title="Lucian Ghinda" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/1407869?v=4" />
<span class="absolute bottom-0 right-0 flex items-center justify-center w-3 h-3 rounded-full bg-gray-500"></span>
</div>
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12 rounded-full">
<img alt="Marco Roth" title="Marco Roth" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/6411752?v=4" />
<span class="absolute bottom-0 right-0 flex items-center justify-center w-3 h-3 rounded-full bg-green-500"></span>
</div>
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12 rounded-full">
<img alt="Matz" title="Matz" class="w-full h-full object-cover rounded-full" src="https://avatars.githubusercontent.com/u/30733?v=4" />
<span class="absolute bottom-0 right-0 flex items-center justify-center w-3 h-3 rounded-full bg-red-500"></span>
</div>
</div>
</div>
<div class="flex flex-col gap-2 my-12">
<h3 class="mb-2 text-lg font-semibold">Logo</h3>
<div class="flex flex-row gap-2 items-end mb-8">
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12">
<img alt="xl4 Logo" title="xl4 Logo" class="w-full h-full object-cover " src="/assets/rrui_light_square_logo-8a2484b5ac1ce2de0035fe3dd1672ffae5608b791322c2e92f7d3fdf53d6430b.png" />
</div>
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12 rounded-full">
<img alt="xl3 Logo" title="xl3 Logo" class="w-full h-full object-cover rounded-full" src="/assets/rrui_light_rounded_logo-2c8cf541eff8d52afcfa5dea4afab729f513d957c7b642097d56224369f33633.png" />
</div>
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12 rounded-full">
<img alt="xl2 Logo" title="xl2 Logo" class="w-full h-full object-cover rounded-full" src="/assets/rrui_light_rounded_logo-2c8cf541eff8d52afcfa5dea4afab729f513d957c7b642097d56224369f33633.png" />
</div>
<div class="relative inline-block md:h-16 md:w-16 h-12 w-12 rounded-full">
<img alt="xl Logo" title="xl Logo" class="w-full h-full object-cover rounded-full" src="/assets/rrui_light_rounded_logo-2c8cf541eff8d52afcfa5dea4afab729f513d957c7b642097d56224369f33633.png" />
</div>
<div class="relative inline-block md:h-12 md:w-12 h-10 w-10 rounded-full">
<img alt="lg Logo" title="lg Logo" class="w-full h-full object-cover rounded-full" src="/assets/rrui_light_rounded_logo-2c8cf541eff8d52afcfa5dea4afab729f513d957c7b642097d56224369f33633.png" />
</div>
<div class="relative inline-block md:h-10 md:w-10 h-8 w-8 rounded-full">
<img alt="md Logo" title="md Logo" class="w-full h-full object-cover rounded-full" src="/assets/rrui_light_rounded_logo-2c8cf541eff8d52afcfa5dea4afab729f513d957c7b642097d56224369f33633.png" />
</div>
<div class="relative inline-block md:h-8 md:w-8 h-6 w-6 rounded-full">
<img alt="sm Logo" title="sm Logo" class="w-full h-full object-cover rounded-full" src="/assets/rrui_light_rounded_logo-2c8cf541eff8d52afcfa5dea4afab729f513d957c7b642097d56224369f33633.png" />
</div>
<div class="relative inline-block md:h-6 md:w-6 h-4 w-4 rounded-full">
<img alt="xs Logo" title="xs Logo" class="w-full h-full object-cover rounded-full" src="/assets/rrui_light_rounded_logo-2c8cf541eff8d52afcfa5dea4afab729f513d957c7b642097d56224369f33633.png" />
</div>
</div>
</div>
<div class="flex flex-col gap-2 my-12">
<h3 class="mb-2 text-lg font-semibold">Initials</h3>
<div class="flex flex-row gap-2 items-end mb-8">
<div class="relative inline-block md:h-28 md:w-28 h-12 w-12 rounded-full">
<div class="flex items-center justify-center w-full h-full bg-gray-300 text-gray-800 rounded-full text-4xl">AI</div>
</div>
<div class="relative inline-block md:h-24 md:w-24 h-12 w-12 rounded-full">
<div class="flex items-center justify-center w-full h-full bg-gray-300 text-gray-800 rounded-full text-3xl">AI</div>
</div>
<div class="relative inline-block md:h-20 md:w-20 h-12 w-12 rounded-full">
<div class="flex items-center justify-center w-full h-full bg-gray-300 text-gray-800 rounded-full text-2xl">AI</div>
</div>
<div class="relative inline-block md:h-16 md:w-16 h-12 w-12 rounded-full">
<div class="flex items-center justify-center w-full h-full bg-gray-300 text-gray-800 rounded-full text-xl">AI</div>
</div>
<div class="relative inline-block md:h-12 md:w-12 h-10 w-10 rounded-full">
<div class="flex items-center justify-center w-full h-full bg-gray-300 text-gray-800 rounded-full text-lg">AI</div>
</div>
<div class="relative inline-block md:h-10 md:w-10 h-8 w-8 rounded-full">
<div class="flex items-center justify-center w-full h-full bg-gray-300 text-gray-800 rounded-full text-md">AI</div>
</div>
<div class="relative inline-block md:h-8 md:w-8 h-6 w-6 rounded-full">
<div class="flex items-center justify-center w-full h-full bg-gray-300 text-gray-800 rounded-full text-sm">AI</div>
</div>
<div class="relative inline-block md:h-6 md:w-6 h-4 w-4 rounded-full">
<div class="flex items-center justify-center w-full h-full bg-gray-300 text-gray-800 rounded-full ">AI</div>
</div>
</div>
</div>
</div>
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
<div class="space-y-12">
<div class="flex flex-col gap-2 my-12">
<h3 class="mb-2 text-lg font-semibold">Avatars mixed</h3>
<div class="flex relative -space-x-2">
<%= rui_avatar(size: :xl, source: 'https://avatars.githubusercontent.com/u/6411752?v=4',indicator: :away, shape: :circle, alt: 'Marco Roth', ring: :ring_warning, url: 'https://github.com/marcoroth') %>
<%= rui_avatar(size: :xl, source: 'https://avatars.githubusercontent.com/u/752058?v=4',indicator: :offline, shape: :circle, alt: 'Greg Molnar', ring: :default, url: 'https://github.com/gregmolnar') %>
<%= rui_avatar(size: :xl, source: 'https://avatars.githubusercontent.com/u/1407869?v=4',indicator: :busy, shape: :circle, alt: 'Lucian Ghinda', ring: :ring_success, url: 'https://github.com/lucianghinda') %>
<%= rui_avatar(size: :xl, source: 'https://avatars.githubusercontent.com/u/1334409?v=4',indicator: :online, shape: :circle, alt: 'Adrian Marin', ring: :default, url: 'https://github.com/adrianthedev') %>
<%= rui_avatar(
size: :xl,
indicator: :online,
shape: :circle,
source: 'https://avatars.githubusercontent.com/u/13472945?v=4',
alt: 'Yaro Shmarov',
url: "https://github.com/yshmarov",
preview_enabled: true,
preview_title: "Yaro Shmarov",
preview_description: "I do ๐Ÿ”ด SupeRails - Ruby on Rails & Hotwire screencasts. Check out my Github!",
preview_image_url: "https://avatars.githubusercontent.com/u/13472945?v=4"
) %>
</div>
</div>
<div class="flex flex-col gap-2 my-12">
<h3 class="mb-2 text-lg font-semibold">Avatars with a link and preview</h3>
<div class="flex relative -space-x-2">
<%= rui_avatar(
size: :xl,
indicator: :online,
shape: :circle,
source: 'https://avatars.githubusercontent.com/u/13472945?v=4',
alt: 'Yaro Shmarov',
url: "https://github.com/yshmarov",
preview_enabled: true,
preview_title: "Yaro Shmarov",
preview_description: "I do ๐Ÿ”ด SupeRails - Ruby on Rails & Hotwire screencasts. Check out my Github!",
preview_image_url: "https://avatars.githubusercontent.com/u/13472945?v=4"
) %>
</div>
</div>
<div class="flex flex-col gap-2 my-12">
<h3 class="mb-2 text-lg font-semibold">Different sizes</h3>
<div class="flex flex-row items-end mb-8">
<%= rui_avatar(size: :xl4, source: 'https://avatars.githubusercontent.com/u/13472945?v=4', alt: 'Yaro Shmarov') %>
<%= rui_avatar(size: :xl3, source: 'https://avatars.githubusercontent.com/u/752058?v=4', alt:'Greg Molnar') %>
<%= rui_avatar(size: :xl2, source: 'https://avatars.githubusercontent.com/u/1334409?v=4', alt: 'Adrian Marin') %>
<%= rui_avatar(size: :xl, source: 'https://avatars.githubusercontent.com/u/1407869?v=4', alt: 'Lucian Ghinda') %>
<%= rui_avatar(size: :lg, source: 'https://avatars.githubusercontent.com/u/6411752?v=4', alt: 'Marco Roth') %>
<%= rui_avatar(size: :md, source: 'https://avatars.githubusercontent.com/u/30733?v=4', alt: 'Matz') %>
<%= rui_avatar(size: :sm, source: 'https://avatars.githubusercontent.com/u/30733?v=4', alt: 'Matz') %>
<%= rui_avatar(size: :xs, source: 'https://avatars.githubusercontent.com/u/30733?v=4', alt: 'Matz') %>
</div>
</div>
<div class="flex flex-col gap-2 my-12">
<h3 class="mb-2 text-lg font-semibold">Different shapes</h3>
<div class="flex flex-row gap-2 items-end mb-8">
<%= rui_avatar(size: :xl2, source: 'https://avatars.githubusercontent.com/u/13472945?v=4', alt: 'Yaro Shmarov', shape: :square) %>
<%= rui_avatar(size: :xl2, source: 'https://avatars.githubusercontent.com/u/752058?v=4', alt:'Greg Molnar', shape: :circle) %>
<%= rui_avatar(size: :xl2, source: 'https://avatars.githubusercontent.com/u/1334409?v=4', alt: 'Adrian Marin', shape: :rounded) %>
<%= rui_avatar(size: :xl2, source: 'https://avatars.githubusercontent.com/u/6411752?v=4', alt: 'Marco Roth', shape: :circle) %>
<%= rui_avatar(size: :xl2, source: 'https://avatars.githubusercontent.com/u/1407869?v=4', alt: 'Lucian Ghinda', shape: :square) %>
</div>
</div>
<div class="flex flex-col gap-2 my-12">
<h3 class="mb-2 text-lg font-semibold">Different indicators</h3>
<div class="flex flex-row gap-2 items-end mb-8">
<%= rui_avatar(size: :xl2, source: 'https://avatars.githubusercontent.com/u/13472945?v=4', alt: 'Yaro Shmarov', indicator: :offline) %>
<%= rui_avatar(size: :xl2, source: 'https://avatars.githubusercontent.com/u/752058?v=4', alt:'Greg Molnar', indicator: :online) %>
<%= rui_avatar(size: :xl2, source: 'https://avatars.githubusercontent.com/u/1334409?v=4', alt: 'Adrian Marin', indicator: :busy) %>
<%= rui_avatar(size: :xl2, source: 'https://avatars.githubusercontent.com/u/1407869?v=4', alt: 'Lucian Ghinda', indicator: :offline) %>
<%= rui_avatar(size: :xl2, source: 'https://avatars.githubusercontent.com/u/6411752?v=4', alt: 'Marco Roth', indicator: :online) %>
<%= rui_avatar(size: :xl2, source: 'https://avatars.githubusercontent.com/u/30733?v=4', alt: 'Matz', indicator: :busy) %>
</div>
</div>
<div class="flex flex-col gap-2 my-12">
<h3 class="mb-2 text-lg font-semibold">Logo</h3>
<div class="flex flex-row gap-2 items-end mb-8">
<%= rui_avatar(size: :xl2, source: 'rrui_light_square_logo.png', alt: 'xl4 Logo', shape: :sqare) %>
<%= rui_avatar(size: :xl2, source: 'rrui_light_rounded_logo.png', alt: 'xl3 Logo', shape: :circle) %>
<%= rui_avatar(size: :xl2, source: 'rrui_light_rounded_logo.png', alt: 'xl2 Logo', shape: :circle) %>
<%= rui_avatar(size: :xl, source: 'rrui_light_rounded_logo.png', alt: 'xl Logo', shape: :circle) %>
<%= rui_avatar(size: :lg, source: 'rrui_light_rounded_logo.png', alt: 'lg Logo', shape: :circle) %>
<%= rui_avatar(size: :md, source: 'rrui_light_rounded_logo.png', alt: 'md Logo', shape: :circle) %>
<%= rui_avatar(size: :sm, source: 'rrui_light_rounded_logo.png', alt: 'sm Logo', shape: :circle) %>
<%= rui_avatar(size: :xs, source: 'rrui_light_rounded_logo.png', alt: 'xs Logo', shape: :circle) %>
</div>
</div>
<div class="flex flex-col gap-2 my-12">
<h3 class="mb-2 text-lg font-semibold">Initials</h3>
<div class="flex flex-row gap-2 items-end mb-8">
<%= rui_avatar(size: :xl4, initials: 'AI') %>
<%= rui_avatar(size: :xl3, initials: 'AI') %>
<%= rui_avatar(size: :xl2, initials: 'AI') %>
<%= rui_avatar(size: :xl, initials: 'AI') %>
<%= rui_avatar(size: :lg, initials: 'AI') %>
<%= rui_avatar(size: :md, initials: 'AI') %>
<%= rui_avatar(size: :sm, initials: 'AI') %>
<%= rui_avatar(size: :xs, initials: 'AI') %>
</div>
</div>
</div>