Previews

No matching results.

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
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
<div class="p-8 space-y-8">
<div>
<h3 class="text-lg font-semibold mb-3">2 Pages (first page)</h3>
<nav aria-label="Pagination" class="flex flex-col items-center">
<ul role="list" class="flex items-center gap-1.5">
<li>
<span aria-disabled="true" aria-label="Previous page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md opacity-40 cursor-not-allowed pointer-events-none border border-grayscale-200 text-grayscale-400">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M12.79 5.23a.75.75 0 01-.02 1.06L8.832 10l3.938 3.71a.75.75 0 11-1.04 1.08l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 011.06.02z" clip-rule="evenodd" />
</svg>
</span>
</li>
<li>
<span aria-current="page" aria-label="Page 1" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-primary-600 bg-primary-50 text-primary-700">1</span>
</li>
<li>
<a href="#page-2" aria-label="Go to page 2" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">2</a>
</li>
<li>
<a href="#page-2" rel="next" aria-label="Next page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z" clip-rule="evenodd" />
</svg>
</a>
</li>
</ul>
</nav>
</div>
<div>
<h3 class="text-lg font-semibold mb-3">2 Pages (last page)</h3>
<nav aria-label="Pagination" class="flex flex-col items-center">
<ul role="list" class="flex items-center gap-1.5">
<li>
<a href="#page-1" rel="prev" aria-label="Previous page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M12.79 5.23a.75.75 0 01-.02 1.06L8.832 10l3.938 3.71a.75.75 0 11-1.04 1.08l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 011.06.02z" clip-rule="evenodd" />
</svg>
</a>
</li>
<li>
<a href="#page-1" aria-label="Go to page 1" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">1</a>
</li>
<li>
<span aria-current="page" aria-label="Page 2" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-primary-600 bg-primary-50 text-primary-700">2</span>
</li>
<li>
<span aria-disabled="true" aria-label="Next page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md opacity-40 cursor-not-allowed pointer-events-none border border-grayscale-200 text-grayscale-400">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z" clip-rule="evenodd" />
</svg>
</span>
</li>
</ul>
</nav>
</div>
<div>
<h3 class="text-lg font-semibold mb-3">5 Pages (no gaps)</h3>
<nav aria-label="Pagination" class="flex flex-col items-center">
<ul role="list" class="flex items-center gap-1.5">
<li>
<a href="#page-2" rel="prev" aria-label="Previous page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M12.79 5.23a.75.75 0 01-.02 1.06L8.832 10l3.938 3.71a.75.75 0 11-1.04 1.08l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 011.06.02z" clip-rule="evenodd" />
</svg>
</a>
</li>
<li>
<a href="#page-1" aria-label="Go to page 1" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">1</a>
</li>
<li>
<a href="#page-2" aria-label="Go to page 2" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">2</a>
</li>
<li>
<span aria-current="page" aria-label="Page 3" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-primary-600 bg-primary-50 text-primary-700">3</span>
</li>
<li>
<a href="#page-4" aria-label="Go to page 4" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">4</a>
</li>
<li>
<a href="#page-5" aria-label="Go to page 5" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">5</a>
</li>
<li>
<a href="#page-4" rel="next" aria-label="Next page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z" clip-rule="evenodd" />
</svg>
</a>
</li>
</ul>
</nav>
</div>
<div>
<h3 class="text-lg font-semibold mb-3">First Page of Many</h3>
<nav aria-label="Pagination" class="flex flex-col items-center">
<ul role="list" class="flex items-center gap-1.5">
<li>
<span aria-disabled="true" aria-label="First page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md opacity-40 cursor-not-allowed pointer-events-none border border-grayscale-200 text-grayscale-400">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M15.79 14.77a.75.75 0 01-1.06.02l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 111.04 1.08L11.832 10l3.938 3.71a.75.75 0 01.02 1.06zm-6 0a.75.75 0 01-1.06.02l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 111.04 1.08L5.832 10l3.938 3.71a.75.75 0 01.02 1.06z" clip-rule="evenodd" />
</svg>
</span>
</li>
<li>
<span aria-disabled="true" aria-label="Previous page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md opacity-40 cursor-not-allowed pointer-events-none border border-grayscale-200 text-grayscale-400">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M12.79 5.23a.75.75 0 01-.02 1.06L8.832 10l3.938 3.71a.75.75 0 11-1.04 1.08l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 011.06.02z" clip-rule="evenodd" />
</svg>
</span>
</li>
<li>
<span aria-current="page" aria-label="Page 1" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-primary-600 bg-primary-50 text-primary-700">1</span>
</li>
<li>
<a href="#page-2" aria-label="Go to page 2" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">2</a>
</li>
<li>
<a href="#page-3" aria-label="Go to page 3" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">3</a>
</li>
<li>
<span aria-hidden="true" class="inline-flex items-center justify-center min-w-9 h-9 text-sm px-3 text-grayscale-400 select-none"></span>
</li>
<li>
<a href="#page-100" aria-label="Go to page 100" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">100</a>
</li>
<li>
<a href="#page-2" rel="next" aria-label="Next page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z" clip-rule="evenodd" />
</svg>
</a>
</li>
<li>
<a href="#page-100" aria-label="Last page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M10.21 14.77a.75.75 0 01-1.06.02l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 111.04 1.08L6.832 10l3.938 3.71a.75.75 0 01.02 1.06zm6 0a.75.75 0 01-1.06.02l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 111.04 1.08L12.832 10l3.938 3.71a.75.75 0 01.02 1.06z" clip-rule="evenodd" />
</svg>
</a>
</li>
</ul>
</nav>
</div>
<div>
<h3 class="text-lg font-semibold mb-3">Last Page of Many</h3>
<nav aria-label="Pagination" class="flex flex-col items-center">
<ul role="list" class="flex items-center gap-1.5">
<li>
<a href="#page-1" aria-label="First page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M15.79 14.77a.75.75 0 01-1.06.02l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 111.04 1.08L11.832 10l3.938 3.71a.75.75 0 01.02 1.06zm-6 0a.75.75 0 01-1.06.02l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 111.04 1.08L5.832 10l3.938 3.71a.75.75 0 01.02 1.06z" clip-rule="evenodd" />
</svg>
</a>
</li>
<li>
<a href="#page-99" rel="prev" aria-label="Previous page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M12.79 5.23a.75.75 0 01-.02 1.06L8.832 10l3.938 3.71a.75.75 0 11-1.04 1.08l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 011.06.02z" clip-rule="evenodd" />
</svg>
</a>
</li>
<li>
<a href="#page-1" aria-label="Go to page 1" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">1</a>
</li>
<li>
<span aria-hidden="true" class="inline-flex items-center justify-center min-w-9 h-9 text-sm px-3 text-grayscale-400 select-none"></span>
</li>
<li>
<a href="#page-98" aria-label="Go to page 98" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">98</a>
</li>
<li>
<a href="#page-99" aria-label="Go to page 99" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">99</a>
</li>
<li>
<span aria-current="page" aria-label="Page 100" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-primary-600 bg-primary-50 text-primary-700">100</span>
</li>
<li>
<span aria-disabled="true" aria-label="Next page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md opacity-40 cursor-not-allowed pointer-events-none border border-grayscale-200 text-grayscale-400">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z" clip-rule="evenodd" />
</svg>
</span>
</li>
<li>
<span aria-disabled="true" aria-label="Last page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md opacity-40 cursor-not-allowed pointer-events-none border border-grayscale-200 text-grayscale-400">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M10.21 14.77a.75.75 0 01-1.06.02l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 111.04 1.08L6.832 10l3.938 3.71a.75.75 0 01.02 1.06zm6 0a.75.75 0 01-1.06.02l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 111.04 1.08L12.832 10l3.938 3.71a.75.75 0 01.02 1.06z" clip-rule="evenodd" />
</svg>
</span>
</li>
</ul>
</nav>
</div>
<div>
<h3 class="text-lg font-semibold mb-3">Middle of Many (dual gap)</h3>
<nav aria-label="Pagination" class="flex flex-col items-center">
<ul role="list" class="flex items-center gap-1.5">
<li>
<a href="#page-1" aria-label="First page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M15.79 14.77a.75.75 0 01-1.06.02l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 111.04 1.08L11.832 10l3.938 3.71a.75.75 0 01.02 1.06zm-6 0a.75.75 0 01-1.06.02l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 111.04 1.08L5.832 10l3.938 3.71a.75.75 0 01.02 1.06z" clip-rule="evenodd" />
</svg>
</a>
</li>
<li>
<a href="#page-49" rel="prev" aria-label="Previous page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M12.79 5.23a.75.75 0 01-.02 1.06L8.832 10l3.938 3.71a.75.75 0 11-1.04 1.08l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 011.06.02z" clip-rule="evenodd" />
</svg>
</a>
</li>
<li>
<a href="#page-1" aria-label="Go to page 1" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">1</a>
</li>
<li>
<span aria-hidden="true" class="inline-flex items-center justify-center min-w-9 h-9 text-sm px-3 text-grayscale-400 select-none"></span>
</li>
<li>
<a href="#page-48" aria-label="Go to page 48" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">48</a>
</li>
<li>
<a href="#page-49" aria-label="Go to page 49" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">49</a>
</li>
<li>
<span aria-current="page" aria-label="Page 50" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-primary-600 bg-primary-50 text-primary-700">50</span>
</li>
<li>
<a href="#page-51" aria-label="Go to page 51" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">51</a>
</li>
<li>
<a href="#page-52" aria-label="Go to page 52" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">52</a>
</li>
<li>
<span aria-hidden="true" class="inline-flex items-center justify-center min-w-9 h-9 text-sm px-3 text-grayscale-400 select-none"></span>
</li>
<li>
<a href="#page-100" aria-label="Go to page 100" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">100</a>
</li>
<li>
<a href="#page-51" rel="next" aria-label="Next page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z" clip-rule="evenodd" />
</svg>
</a>
</li>
<li>
<a href="#page-100" aria-label="Last page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M10.21 14.77a.75.75 0 01-1.06.02l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 111.04 1.08L6.832 10l3.938 3.71a.75.75 0 01.02 1.06zm6 0a.75.75 0 01-1.06.02l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 111.04 1.08L12.832 10l3.938 3.71a.75.75 0 01.02 1.06z" clip-rule="evenodd" />
</svg>
</a>
</li>
</ul>
</nav>
</div>
<div>
<h3 class="text-lg font-semibold mb-3">Prev/Next Only (no page numbers)</h3>
<nav aria-label="Pagination" class="flex flex-col items-center">
<ul role="list" class="flex items-center gap-1.5">
<li>
<a href="#page-4" rel="prev" aria-label="Previous page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">
Previous
</a>
</li>
<li>
<a href="#page-6" rel="next" aria-label="Next page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-md border border-grayscale-200 text-grayscale-700 hover:border-primary-300 hover:bg-primary-50 hover:text-primary-700">
Next
</a>
</li>
</ul>
</nav>
</div>
<div>
<h3 class="text-lg font-semibold mb-3">Full Rounded</h3>
<nav aria-label="Pagination" class="flex flex-col items-center">
<ul role="list" class="flex items-center gap-1.5">
<li>
<a href="#page-4" rel="prev" aria-label="Previous page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-full text-grayscale-700 hover:bg-success-50 hover:text-success-700">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M12.79 5.23a.75.75 0 01-.02 1.06L8.832 10l3.938 3.71a.75.75 0 11-1.04 1.08l-4.5-4.25a.75.75 0 010-1.08l4.5-4.25a.75.75 0 011.06.02z" clip-rule="evenodd" />
</svg>
</a>
</li>
<li>
<a href="#page-1" aria-label="Go to page 1" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-full text-grayscale-700 hover:bg-success-50 hover:text-success-700">1</a>
</li>
<li>
<a href="#page-2" aria-label="Go to page 2" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-full text-grayscale-700 hover:bg-success-50 hover:text-success-700">2</a>
</li>
<li>
<a href="#page-3" aria-label="Go to page 3" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-full text-grayscale-700 hover:bg-success-50 hover:text-success-700">3</a>
</li>
<li>
<a href="#page-4" aria-label="Go to page 4" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-full text-grayscale-700 hover:bg-success-50 hover:text-success-700">4</a>
</li>
<li>
<span aria-current="page" aria-label="Page 5" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-full bg-success-600 text-white">5</span>
</li>
<li>
<a href="#page-6" aria-label="Go to page 6" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-full text-grayscale-700 hover:bg-success-50 hover:text-success-700">6</a>
</li>
<li>
<a href="#page-7" aria-label="Go to page 7" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-full text-grayscale-700 hover:bg-success-50 hover:text-success-700">7</a>
</li>
<li>
<span aria-hidden="true" class="inline-flex items-center justify-center min-w-9 h-9 text-sm px-3 text-grayscale-400 select-none"></span>
</li>
<li>
<a href="#page-20" aria-label="Go to page 20" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-full text-grayscale-700 hover:bg-success-50 hover:text-success-700">20</a>
</li>
<li>
<a href="#page-6" rel="next" aria-label="Next page" class="inline-flex items-center justify-center font-medium transition-colors duration-200 min-w-9 h-9 text-sm px-3 rounded-full text-grayscale-700 hover:bg-success-50 hover:text-success-700">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="w-4 h-4" aria-hidden="true">
<path fill-rule="evenodd" d="M7.21 14.77a.75.75 0 01.02-1.06L11.168 10 7.23 6.29a.75.75 0 111.04-1.08l4.5 4.25a.75.75 0 010 1.08l-4.5 4.25a.75.75 0 01-1.06-.02z" clip-rule="evenodd" />
</svg>
</a>
</li>
</ul>
</nav>
</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
<div class="p-8 space-y-8">
<div>
<h3 class="text-lg font-semibold mb-3">2 Pages (first page)</h3>
<%= render BetterUi::Pagination::PaginationComponent.new(
current_page: 1,
total_pages: 2,
url: ->(page) { "#page-#{page}" }
) %>
</div>
<div>
<h3 class="text-lg font-semibold mb-3">2 Pages (last page)</h3>
<%= render BetterUi::Pagination::PaginationComponent.new(
current_page: 2,
total_pages: 2,
url: ->(page) { "#page-#{page}" }
) %>
</div>
<div>
<h3 class="text-lg font-semibold mb-3">5 Pages (no gaps)</h3>
<%= render BetterUi::Pagination::PaginationComponent.new(
current_page: 3,
total_pages: 5,
url: ->(page) { "#page-#{page}" }
) %>
</div>
<div>
<h3 class="text-lg font-semibold mb-3">First Page of Many</h3>
<%= render BetterUi::Pagination::PaginationComponent.new(
current_page: 1,
total_pages: 100,
url: ->(page) { "#page-#{page}" },
show_first_last: true
) %>
</div>
<div>
<h3 class="text-lg font-semibold mb-3">Last Page of Many</h3>
<%= render BetterUi::Pagination::PaginationComponent.new(
current_page: 100,
total_pages: 100,
url: ->(page) { "#page-#{page}" },
show_first_last: true
) %>
</div>
<div>
<h3 class="text-lg font-semibold mb-3">Middle of Many (dual gap)</h3>
<%= render BetterUi::Pagination::PaginationComponent.new(
current_page: 50,
total_pages: 100,
url: ->(page) { "#page-#{page}" },
show_first_last: true
) %>
</div>
<div>
<h3 class="text-lg font-semibold mb-3">Prev/Next Only (no page numbers)</h3>
<%= render BetterUi::Pagination::PaginationComponent.new(
current_page: 5,
total_pages: 20,
url: ->(page) { "#page-#{page}" },
show_page_numbers: false,
prev_label: "Previous",
next_label: "Next"
) %>
</div>
<div>
<h3 class="text-lg font-semibold mb-3">Full Rounded</h3>
<%= render BetterUi::Pagination::PaginationComponent.new(
current_page: 5,
total_pages: 20,
url: ->(page) { "#page-#{page}" },
rounded: :full,
style: :solid,
variant: :success
) %>
</div>
</div>