aural-ui 2.0.3 → 2.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,1208 @@
1
+ import React from "react"
2
+ import type { Meta, StoryObj } from "@storybook/react"
3
+
4
+ import { GitBranchIcon } from "."
5
+
6
+ const meta: Meta<typeof GitBranchIcon> = {
7
+ title: "Icons/GitBranchIcon",
8
+ component: GitBranchIcon,
9
+ parameters: {
10
+ layout: "fullscreen",
11
+ backgrounds: {
12
+ default: "dark",
13
+ values: [
14
+ { name: "dark", value: "#0a0a0a" },
15
+ { name: "darker", value: "#000000" },
16
+ { name: "light", value: "#ffffff" },
17
+ ],
18
+ },
19
+ docs: {
20
+ page: () => (
21
+ <>
22
+ {/* Override default docs styling */}
23
+ <style>
24
+ {`
25
+ .sbdocs-wrapper {
26
+ padding: 0 ;
27
+ max-width: none ;
28
+ background: transparent ;
29
+ }
30
+ .sbdocs-content {
31
+ max-width: none ;
32
+ padding: 0 ;
33
+ margin: 0 ;
34
+ background: transparent ;
35
+ }
36
+ .docs-story {
37
+ background: transparent ;
38
+ }
39
+ .sbdocs {
40
+ background: transparent ;
41
+ }
42
+ body {
43
+ background: #0a0a0a ;
44
+ }
45
+ #storybook-docs {
46
+ background: #0a0a0a ;
47
+ }
48
+ .sbdocs-preview {
49
+ background: transparent ;
50
+ border: none ;
51
+ }
52
+ .sbdocs-h1, .sbdocs-h2, .sbdocs-h3, .sbdocs-h4, .sbdocs-h5, .sbdocs-h6 {
53
+ color: white ;
54
+ }
55
+ .sbdocs-p, .sbdocs-li {
56
+ color: rgba(255, 255, 255, 0.7) ;
57
+ }
58
+ .sbdocs-code {
59
+ background: rgba(255, 255, 255, 0.1) ;
60
+ color: rgba(168, 85, 247, 1) ;
61
+ border: 1px solid rgba(255, 255, 255, 0.1) ;
62
+ }
63
+ .sbdocs-pre {
64
+ background: rgba(0, 0, 0, 0.4) ;
65
+ border: 1px solid rgba(255, 255, 255, 0.1) ;
66
+ }
67
+ .sbdocs-table {
68
+ background: rgba(255, 255, 255, 0.05) ;
69
+ border: 1px solid rgba(255, 255, 255, 0.1) ;
70
+ }
71
+ .sbdocs-table th {
72
+ background: rgba(255, 255, 255, 0.05) ;
73
+ color: white ;
74
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1) ;
75
+ }
76
+ .sbdocs-table td {
77
+ color: rgba(255, 255, 255, 0.7) ;
78
+ border-bottom: 1px solid rgba(255, 255, 255, 0.05) ;
79
+ }
80
+ @keyframes search-pulse {
81
+ 0%, 100% { transform: scale(1); opacity: 1; }
82
+ 50% { transform: scale(1.05); opacity: 0.8; }
83
+ }
84
+ .animate-search-pulse {
85
+ animation: search-pulse 2s ease-in-out infinite;
86
+ }
87
+ @keyframes document-slide {
88
+ 0%, 100% { transform: translateX(0) rotate(0deg); }
89
+ 50% { transform: translateX(-2px) rotate(-1deg); }
90
+ }
91
+ .animate-document-slide {
92
+ animation: document-slide 3s ease-in-out infinite;
93
+ }
94
+ `}
95
+ </style>
96
+
97
+ <div className="min-h-screen bg-gradient-to-br from-gray-900 via-indigo-900/20 to-gray-900">
98
+ {/* Header */}
99
+ <div className="relative overflow-hidden border-b border-white/10 bg-black/20 backdrop-blur-xl">
100
+ <div className="absolute inset-0 bg-gradient-to-r from-indigo-500/10 via-transparent to-cyan-500/10" />
101
+ <div className="relative !mx-auto max-w-7xl px-6 py-16">
102
+ <div className="!space-y-6 text-center">
103
+ <div className="!mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border border-indigo-500/30 bg-gradient-to-br from-indigo-500/20 to-cyan-500/20">
104
+ <GitBranchIcon className="h-12 w-12 text-indigo-400" />
105
+ </div>
106
+ <h1 className="!text-fm-primary text-5xl font-bold">
107
+ GitBranchIcon
108
+ </h1>
109
+ <p className="!mx-auto max-w-3xl text-xl leading-relaxed !text-white/70">
110
+ A Git branch icon symbolizing version control, branching,
111
+ and collaborative development. Ideal for use in features
112
+ like commit histories, branch selectors, repositories, or
113
+ code collaboration dashboards. Built with accessibility in
114
+ mind using Radix UI's AccessibleIcon wrapper.
115
+ </p>
116
+
117
+ {/* Stats */}
118
+ <div className="flex items-center justify-center gap-8 pt-8">
119
+ <div className="text-center">
120
+ <div className="text-3xl font-bold text-indigo-300">
121
+ Branch
122
+ </div>
123
+ <div className="text-sm text-white/60">
124
+ Create features
125
+ </div>
126
+ </div>
127
+ <div className="h-8 w-px bg-white/20" />
128
+ <div className="text-center">
129
+ <div className="text-3xl font-bold text-cyan-300">
130
+ Merge
131
+ </div>
132
+ <div className="text-sm text-white/60">Combine code</div>
133
+ </div>
134
+ <div className="h-8 w-px bg-white/20" />
135
+ <div className="text-center">
136
+ <div className="text-3xl font-bold text-blue-300">
137
+ Deploy
138
+ </div>
139
+ <div className="text-sm text-white/60">Ship changes</div>
140
+ </div>
141
+ </div>
142
+ </div>
143
+ </div>
144
+ </div>
145
+
146
+ {/* Content */}
147
+ <div className="!mx-auto max-w-7xl !space-y-16 px-6 py-12">
148
+ {/* Quick Usage */}
149
+ <div className="!space-y-8">
150
+ <h2 className="text-center text-3xl font-bold !text-white">
151
+ Quick Start
152
+ </h2>
153
+ <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
154
+ {/* Basic Usage */}
155
+ <div className="!space-y-4">
156
+ <h3 className="text-xl font-semibold !text-indigo-300">
157
+ Basic Usage
158
+ </h3>
159
+ <div className="rounded-lg bg-black/40 p-4">
160
+ <pre className="overflow-x-auto text-sm !text-green-300">
161
+ {`import { GitBranchIcon } from "@icons/git-branch-icon"
162
+
163
+ function BranchButton() {
164
+ return (
165
+ <button
166
+ aria-label="Git branch icon"
167
+ className="flex items-center gap-2 rounded border border-indigo-500/30 bg-indigo-500/10 px-4 py-2 text-indigo-300 hover:bg-indigo-500/20 hover:cursor-pointer"
168
+ >
169
+ <GitBranchIcon className="h-4 w-4" />
170
+ Branches
171
+ </button>
172
+ )
173
+ }ƒ`}
174
+ </pre>
175
+ </div>
176
+ </div>
177
+
178
+ {/* Live Preview */}
179
+ <div className="!space-y-4">
180
+ <h3 className="text-xl font-semibold !text-indigo-300">
181
+ Live Preview
182
+ </h3>
183
+ <div className="flex h-32 items-center justify-center rounded-lg border border-white/10 bg-white/5">
184
+ <button className="flex items-center gap-2 rounded border border-indigo-500/30 bg-indigo-500/10 px-4 py-2 text-indigo-300 hover:cursor-pointer hover:bg-indigo-500/20">
185
+ <GitBranchIcon className="h-4 w-4" />
186
+ Branches
187
+ </button>
188
+ </div>
189
+ </div>
190
+ </div>
191
+ </div>
192
+
193
+ {/* Props Documentation */}
194
+ <div className="!space-y-8">
195
+ <h2 className="text-center text-3xl font-bold !text-white">
196
+ Props & Configuration
197
+ </h2>
198
+
199
+ <div className="overflow-hidden rounded-lg border border-white/10 bg-white/5">
200
+ <div className="bg-white/5 p-4">
201
+ <h3 className="text-xl font-semibold !text-white">Props</h3>
202
+ </div>
203
+ <table className="!my-0 w-full">
204
+ <thead className="bg-white/5">
205
+ <tr className="border-b border-white/10">
206
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
207
+ Prop
208
+ </th>
209
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
210
+ Type
211
+ </th>
212
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
213
+ Default
214
+ </th>
215
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
216
+ Description
217
+ </th>
218
+ </tr>
219
+ </thead>
220
+ <tbody>
221
+ <tr className="border-b border-white/5">
222
+ <td className="px-6 py-4 font-mono text-sm !text-indigo-300">
223
+ width
224
+ </td>
225
+ <td className="px-6 py-4 text-sm !text-white/70">
226
+ number | string
227
+ </td>
228
+ <td className="px-6 py-4 text-sm !text-white/50">24</td>
229
+ <td className="px-6 py-4 text-sm !text-white/70">
230
+ Width of the icon in pixels
231
+ </td>
232
+ </tr>
233
+ <tr className="border-b border-white/5 !bg-black/10">
234
+ <td className="px-6 py-4 font-mono text-sm !text-indigo-300">
235
+ height
236
+ </td>
237
+ <td className="px-6 py-4 text-sm !text-white/70">
238
+ number | string
239
+ </td>
240
+ <td className="px-6 py-4 text-sm !text-white/50">24</td>
241
+ <td className="px-6 py-4 text-sm !text-white/70">
242
+ Height of the icon in pixels
243
+ </td>
244
+ </tr>
245
+ <tr className="border-b border-white/5">
246
+ <td className="px-6 py-4 font-mono text-sm !text-indigo-300">
247
+ stroke
248
+ </td>
249
+ <td className="px-6 py-4 text-sm !text-white/70">
250
+ string
251
+ </td>
252
+ <td className="px-6 py-4 text-sm !text-white/50">
253
+ currentColor
254
+ </td>
255
+ <td className="px-6 py-4 text-sm !text-white/70">
256
+ Stroke color of the icon lines
257
+ </td>
258
+ </tr>
259
+ <tr className="border-b border-white/5 !bg-black/10">
260
+ <td className="px-6 py-4 font-mono text-sm !text-indigo-300">
261
+ strokeWidth
262
+ </td>
263
+ <td className="px-6 py-4 text-sm !text-white/70">
264
+ number | string
265
+ </td>
266
+ <td className="px-6 py-4 text-sm !text-white/50">
267
+ 1.5
268
+ </td>
269
+ <td className="px-6 py-4 text-sm !text-white/70">
270
+ Thickness of the stroke lines
271
+ </td>
272
+ </tr>
273
+ <tr className="border-b border-white/5">
274
+ <td className="px-6 py-4 font-mono text-sm !text-indigo-300">
275
+ strokeLinecap
276
+ </td>
277
+ <td className="px-6 py-4 text-sm !text-white/70">
278
+ string
279
+ </td>
280
+ <td className="px-6 py-4 text-sm !text-white/50">
281
+ square
282
+ </td>
283
+ <td className="px-6 py-4 text-sm !text-white/70">
284
+ Style of line endings (e.g., butt, round, square)
285
+ </td>
286
+ </tr>
287
+ <tr className="border-b border-white/5 !bg-black/10">
288
+ <td className="px-6 py-4 font-mono text-sm !text-indigo-300">
289
+ className
290
+ </td>
291
+ <td className="px-6 py-4 text-sm !text-white/70">
292
+ string
293
+ </td>
294
+ <td className="px-6 py-4 text-sm !text-white/50">-</td>
295
+ <td className="px-6 py-4 text-sm !text-white/70">
296
+ CSS classes for styling (use for size, color, etc.)
297
+ </td>
298
+ </tr>
299
+ <tr className="!bg-black/10">
300
+ <td className="px-6 py-4 font-mono text-sm !text-indigo-300">
301
+ ...svgProps
302
+ </td>
303
+ <td className="px-6 py-4 text-sm !text-white/70">
304
+ SVGProps
305
+ </td>
306
+ <td className="px-6 py-4 text-sm !text-white/50">-</td>
307
+ <td className="px-6 py-4 text-sm !text-white/70">
308
+ All standard SVG element props supported by React
309
+ </td>
310
+ </tr>
311
+ </tbody>
312
+ </table>
313
+ </div>
314
+ </div>
315
+
316
+ {/* Size Variations */}
317
+ <div className="!space-y-8">
318
+ <h2 className="text-center text-3xl font-bold !text-white">
319
+ Size Variations
320
+ </h2>
321
+ <div className="rounded-lg border border-white/10 bg-white/5 p-8">
322
+ <div className="!space-y-6">
323
+ <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
324
+ <div className="!space-y-4">
325
+ <h3 className="text-lg font-semibold !text-indigo-300">
326
+ Standard Sizes
327
+ </h3>
328
+ <div className="flex items-end gap-6 rounded-lg bg-black/20 p-6">
329
+ <div className="text-center">
330
+ <GitBranchIcon className="!mx-auto mb-2 h-3 w-3 text-indigo-400" />
331
+ <span className="text-xs text-white/60">12px</span>
332
+ </div>
333
+ <div className="text-center">
334
+ <GitBranchIcon className="!mx-auto mb-2 h-4 w-4 text-indigo-400" />
335
+ <span className="text-xs text-white/60">16px</span>
336
+ </div>
337
+ <div className="text-center">
338
+ <GitBranchIcon className="!mx-auto mb-2 h-5 w-5 text-indigo-400" />
339
+ <span className="text-xs text-white/60">20px</span>
340
+ </div>
341
+ <div className="text-center">
342
+ <GitBranchIcon className="!mx-auto mb-2 h-6 w-6 text-indigo-400" />
343
+ <span className="text-xs text-white/60">24px</span>
344
+ </div>
345
+ <div className="text-center">
346
+ <GitBranchIcon className="!mx-auto mb-2 h-8 w-8 text-indigo-400" />
347
+ <span className="text-xs text-white/60">32px</span>
348
+ </div>
349
+ <div className="text-center">
350
+ <GitBranchIcon className="!mx-auto mb-2 h-12 w-12 text-indigo-400" />
351
+ <span className="text-xs text-white/60">48px</span>
352
+ </div>
353
+ </div>
354
+ </div>
355
+
356
+ <div className="!space-y-4">
357
+ <h3 className="text-lg font-semibold !text-indigo-300">
358
+ Code Example
359
+ </h3>
360
+ <div className="rounded-lg bg-black/40 p-4">
361
+ <pre className="overflow-x-auto text-sm !text-cyan-300">
362
+ {`// Small (16px)
363
+ <GitBranchIcon className="h-4 w-4 " />
364
+
365
+ // Medium (24px)
366
+ <GitBranchIcon className="h-6 w-6 " />
367
+
368
+ // Large (32px)
369
+ <GitBranchIcon className="h-8 w-8 " />
370
+
371
+ // Custom size with props
372
+ <GitBranchIcon width={40} height={40} />`}
373
+ </pre>
374
+ </div>
375
+ </div>
376
+ </div>
377
+ </div>
378
+ </div>
379
+ </div>
380
+
381
+ {/* Color Variations */}
382
+ <div className="!space-y-8">
383
+ <h2 className="text-center text-3xl font-bold !text-white">
384
+ Color Variations
385
+ </h2>
386
+
387
+ <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
388
+ {/* Semantic Colors */}
389
+ <div className="!space-y-4">
390
+ <h3 className="text-lg font-semibold !text-indigo-300">
391
+ Semantic Colors
392
+ </h3>
393
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
394
+ <div className="flex items-center gap-4">
395
+ <GitBranchIcon className="h-6 w-6 text-indigo-400" />
396
+ <div>
397
+ <div className="text-sm font-medium text-white">
398
+ Primary
399
+ </div>
400
+ <div className="text-xs text-white/60">
401
+ text-indigo-400
402
+ </div>
403
+ </div>
404
+ </div>
405
+ <div className="flex items-center gap-4">
406
+ <GitBranchIcon className="h-6 w-6 text-cyan-400" />
407
+ <div>
408
+ <div className="text-sm font-medium text-white">
409
+ Active
410
+ </div>
411
+ <div className="text-xs text-white/60">
412
+ text-cyan-400
413
+ </div>
414
+ </div>
415
+ </div>
416
+ <div className="flex items-center gap-4">
417
+ <GitBranchIcon className="h-6 w-6 text-gray-400" />
418
+ <div>
419
+ <div className="text-sm font-medium text-white">
420
+ Disabled
421
+ </div>
422
+ <div className="text-xs text-white/60">
423
+ text-gray-400
424
+ </div>
425
+ </div>
426
+ </div>
427
+ <div className="flex items-center gap-4">
428
+ <GitBranchIcon className="h-6 w-6 text-blue-400" />
429
+ <div>
430
+ <div className="text-sm font-medium text-white">
431
+ Info
432
+ </div>
433
+ <div className="text-xs text-white/60">
434
+ text-blue-400
435
+ </div>
436
+ </div>
437
+ </div>
438
+ <div className="flex items-center gap-4">
439
+ <GitBranchIcon className="h-6 w-6 text-green-400" />
440
+ <div>
441
+ <div className="text-sm font-medium text-white">
442
+ Success
443
+ </div>
444
+ <div className="text-xs text-white/60">
445
+ text-green-400
446
+ </div>
447
+ </div>
448
+ </div>
449
+ <div className="flex items-center gap-4">
450
+ <GitBranchIcon className="h-6 w-6 text-yellow-400" />
451
+ <div>
452
+ <div className="text-sm font-medium text-white">
453
+ Warning
454
+ </div>
455
+ <div className="text-xs text-white/60">
456
+ text-yellow-400
457
+ </div>
458
+ </div>
459
+ </div>
460
+ <div className="flex items-center gap-4">
461
+ <GitBranchIcon className="h-6 w-6 text-red-400" />
462
+ <div>
463
+ <div className="text-sm font-medium text-white">
464
+ Error
465
+ </div>
466
+ <div className="text-xs text-white/60">
467
+ text-red-400
468
+ </div>
469
+ </div>
470
+ </div>
471
+ </div>
472
+ </div>
473
+
474
+ {/* Custom Colors */}
475
+ <div className="!space-y-4">
476
+ <h3 className="text-lg font-semibold !text-indigo-300">
477
+ Custom Colors
478
+ </h3>
479
+ <div className="rounded-lg bg-black/40 p-4">
480
+ <pre className="overflow-x-auto text-sm !text-green-300">
481
+ {`// Using Tailwind classes
482
+ <GitBranchIcon className="h-6 w-6 text-indigo-400" />
483
+ <GitBranchIcon className="h-6 w-6 text-cyan-500" />
484
+
485
+ // Using CSS custom properties
486
+ <GitBranchIcon
487
+ className="h-6 w-6"
488
+ style={{ color: 'var(--color-primary)' }}
489
+ />
490
+
491
+ // Direct stroke prop
492
+ <GitBranchIcon
493
+ width={24}
494
+ height={24}
495
+ stroke="#3b82f6"
496
+ />`}
497
+ </pre>
498
+ </div>
499
+ </div>
500
+ </div>
501
+ </div>
502
+
503
+ {/* Usage Examples */}
504
+ <div className="!space-y-8">
505
+ <h2 className="text-center text-3xl font-bold !text-white">
506
+ Usage Examples
507
+ </h2>
508
+
509
+ <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
510
+ {/* Branch Creation Button */}
511
+ <div className="!space-y-4">
512
+ <h3 className="text-lg font-semibold !text-indigo-300">
513
+ Create New Branch
514
+ </h3>
515
+ <div className="!space-y-4">
516
+ <div>
517
+ <button className="flex items-center gap-2 rounded-lg border border-indigo-500/30 bg-indigo-500/10 px-4 py-2 text-indigo-200 transition-colors hover:cursor-pointer hover:bg-indigo-500/20">
518
+ <GitBranchIcon className="h-4 w-4" />
519
+ Create Branch
520
+ </button>
521
+ </div>
522
+ <div className="rounded-lg bg-black/40 p-4">
523
+ <pre className="overflow-x-auto text-sm !text-green-300">
524
+ {`<button className="flex items-center gap-2 bg-indigo-500/10 border border-indigo-500/30 px-4 py-2 rounded-lg">
525
+ <GitBranch className="h-4 w-4" />
526
+ Create Branch
527
+ </button>`}
528
+ </pre>
529
+ </div>
530
+ </div>
531
+ </div>
532
+
533
+ {/* Branch Status Row */}
534
+ <div className="!space-y-4">
535
+ <h3 className="text-lg font-semibold !text-indigo-300">
536
+ Branch Status Display
537
+ </h3>
538
+ <div className="!space-y-4">
539
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
540
+ <div className="flex items-center gap-3">
541
+ <GitBranchIcon className="h-5 w-5 text-indigo-400" />
542
+ <div className="flex-1">
543
+ <div className="text-sm font-medium text-white">
544
+ Current branch:{" "}
545
+ <span className="text-indigo-300">
546
+ feature/user-auth
547
+ </span>
548
+ </div>
549
+ <div className="text-xs text-white/60">
550
+ 3 commits ahead of main
551
+ </div>
552
+ </div>
553
+ </div>
554
+ </div>
555
+ <div className="rounded-lg bg-black/40 p-4">
556
+ <pre className="overflow-x-auto text-sm !text-green-300">
557
+ {`<div className="flex items-center gap-3 p-4 border border-white/10 bg-white/5">
558
+ <GitBranch className="h-5 w-5 text-indigo-400" />
559
+ <div className="flex-1">
560
+ <div className="text-sm font-medium text-white">
561
+ Current branch: feature/user-auth
562
+ </div>
563
+ <div className="text-xs text-white/60">3 commits ahead of main</div>
564
+ </div>
565
+ </div>`}
566
+ </pre>
567
+ </div>
568
+ </div>
569
+ </div>
570
+
571
+ {/* No Branches State */}
572
+ <div className="!space-y-4">
573
+ <h3 className="text-lg font-semibold !text-indigo-300">
574
+ No Branches Available
575
+ </h3>
576
+ <div className="!space-y-4">
577
+ <div className="flex flex-col items-center justify-center rounded-lg border border-white/10 bg-white/5 p-8">
578
+ <GitBranchIcon className="mb-4 h-12 w-12 text-white/30" />
579
+ <h4 className="mb-2 text-lg font-medium !text-white/80">
580
+ No feature branches found
581
+ </h4>
582
+ <p className="text-center text-sm !text-white/50">
583
+ Create your first branch to start working on new
584
+ features or bug fixes.
585
+ </p>
586
+ <button className="mt-4 flex items-center gap-2 rounded-lg border border-indigo-500/30 bg-indigo-500/20 px-4 py-2 text-sm text-indigo-200 transition-colors hover:cursor-pointer hover:bg-indigo-500/30">
587
+ <GitBranchIcon className="h-4 w-4" />
588
+ Create First Branch
589
+ </button>
590
+ </div>
591
+ <div className="rounded-lg bg-black/40 p-4">
592
+ <pre className="overflow-x-auto text-sm !text-green-300">
593
+ {`<div className="flex flex-col items-center p-8 border border-white/10 bg-white/5">
594
+ <GitBranch className="h-12 w-12 text-white/30 mb-4" />
595
+ <h4 className="text-lg font-medium text-white/80 mb-2">
596
+ No feature branches found
597
+ </h4>
598
+ <p className="text-sm text-white/50 text-center">
599
+ Create your first branch to start working on new features or bug fixes.
600
+ </p>
601
+ <button className="mt-4 flex items-center gap-2 text-sm">
602
+ <GitBranch className="h-4 w-4" />
603
+ Create First Branch
604
+ </button>
605
+ </div>`}
606
+ </pre>
607
+ </div>
608
+ </div>
609
+ </div>
610
+
611
+ {/* Branch Merge Request */}
612
+ <div className="!space-y-4">
613
+ <h3 className="text-lg font-semibold !text-indigo-300">
614
+ Merge Request Status
615
+ </h3>
616
+ <div className="!space-y-4">
617
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
618
+ <div className="flex items-center gap-3">
619
+ <GitBranchIcon className="h-5 w-5 text-indigo-400" />
620
+ <div className="flex-1">
621
+ <div className="text-sm font-medium text-white">
622
+ Ready to merge:{" "}
623
+ <span className="text-indigo-300">
624
+ feature/payment-gateway
625
+ </span>
626
+ </div>
627
+ <div className="text-xs text-white/60">
628
+ All checks passed • 2 approvals
629
+ </div>
630
+ </div>
631
+ <button className="rounded-lg border border-green-500/30 bg-green-500/10 px-3 py-1 text-xs text-green-200 hover:cursor-pointer hover:bg-green-500/20">
632
+ Merge
633
+ </button>
634
+ </div>
635
+ </div>
636
+ <div className="rounded-lg bg-black/40 p-4">
637
+ <pre className="overflow-x-auto text-sm !text-green-300">
638
+ {`<div className="flex items-center gap-3 p-4 border border-white/10 bg-white/5">
639
+ <GitBranch className="h-5 w-5 text-indigo-400" />
640
+ <div className="flex-1">
641
+ <div className="text-sm font-medium text-white">
642
+ Ready to merge: feature/payment-gateway
643
+ </div>
644
+ <div className="text-xs text-white/60">All checks passed • 2 approvals</div>
645
+ </div>
646
+ <button className="px-3 py-1 text-xs bg-green-500/10 border border-green-500/30">
647
+ Merge
648
+ </button>
649
+ </div>`}
650
+ </pre>
651
+ </div>
652
+ </div>
653
+ </div>
654
+ </div>
655
+ </div>
656
+
657
+ {/* Interactive States */}
658
+ <div className="!space-y-8">
659
+ <h2 className="text-center text-3xl font-bold !text-white">
660
+ Interactive States & Animations
661
+ </h2>
662
+ <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
663
+ <div className="!space-y-4">
664
+ <h3 className="text-lg font-semibold !text-indigo-300">
665
+ Hover & Animation Effects
666
+ </h3>
667
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
668
+ <div className="flex items-center gap-4">
669
+ <GitBranchIcon className="h-6 w-6 text-white/60 transition-colors hover:text-indigo-400" />
670
+ <div>
671
+ <div className="text-sm font-medium text-white">
672
+ Color Change
673
+ </div>
674
+ <div className="text-xs text-white/60">
675
+ Hover to see effect
676
+ </div>
677
+ </div>
678
+ </div>
679
+ <div className="flex items-center gap-4">
680
+ <GitBranchIcon className="h-6 w-6 text-white transition-transform hover:scale-110" />
681
+ <div>
682
+ <div className="text-sm font-medium text-white">
683
+ Scale Up
684
+ </div>
685
+ <div className="text-xs text-white/60">
686
+ Scale on hover
687
+ </div>
688
+ </div>
689
+ </div>
690
+ <div className="flex items-center gap-4">
691
+ <GitBranchIcon className="animate-search-pulse h-6 w-6 text-indigo-400" />
692
+ <div>
693
+ <div className="text-sm font-medium text-white">
694
+ Search Pulse
695
+ </div>
696
+ <div className="text-xs text-white/60">
697
+ Continuous animation
698
+ </div>
699
+ </div>
700
+ </div>
701
+ <div className="flex items-center gap-4">
702
+ <GitBranchIcon className="animate-document-slide h-6 w-6 text-cyan-400" />
703
+ <div>
704
+ <div className="text-sm font-medium text-white">
705
+ Document Slide
706
+ </div>
707
+ <div className="text-xs text-white/60">
708
+ Subtle movement
709
+ </div>
710
+ </div>
711
+ </div>
712
+ </div>
713
+ </div>
714
+
715
+ <div className="!space-y-4">
716
+ <h3 className="text-lg font-semibold !text-indigo-300">
717
+ State Examples
718
+ </h3>
719
+ <div className="rounded-lg bg-black/40 p-4">
720
+ <pre className="overflow-x-auto text-sm !text-cyan-300">
721
+ {`// Color change on hover
722
+ <GitBranchIcon className="h-6 w-6 text-white/60 transition-colors hover:text-indigo-400 " />
723
+
724
+ // Scale up on hover
725
+ <GitBranchIcon className="h-6 w-6 text-white transition-transform hover:scale-110 " />
726
+
727
+ // Loading/searching state
728
+ <GitBranchIcon className="h-6 w-6 animate-pulse text-indigo-400 " />
729
+
730
+ // Active search state
731
+ <GitBranchIcon className="h-6 w-6 text-cyan-400 animate-search-pulse " />
732
+
733
+ // Disabled state
734
+ <GitBranchIcon className="h-6 w-6 text-gray-400 opacity-50 " />`}
735
+ </pre>
736
+ </div>
737
+ </div>
738
+ </div>
739
+ </div>
740
+
741
+ {/* Accessibility */}
742
+ <div className="!space-y-8">
743
+ <h2 className="text-center text-3xl font-bold !text-white">
744
+ Accessibility Features
745
+ </h2>
746
+
747
+ <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
748
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
749
+ <h3 className="text-lg font-semibold !text-green-300">
750
+ ✅ Built-in Features
751
+ </h3>
752
+ <ul className="!space-y-2 text-sm !text-white/70">
753
+ <li className="!text-white/70">
754
+ Uses Radix UI AccessibleIcon wrapper
755
+ </li>
756
+ <li className="!text-white/70">
757
+ Provides screen reader label "Git branch icon"
758
+ </li>
759
+ <li className="!text-white/70">
760
+ Maintains proper color contrast ratios
761
+ </li>
762
+ <li className="!text-white/70">
763
+ Scales with user's font size preferences
764
+ </li>
765
+ </ul>
766
+ </div>
767
+
768
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
769
+ <h3 className="text-lg font-semibold !text-indigo-300">
770
+ 💡 Best Practices
771
+ </h3>
772
+ <ul className="!space-y-2 text-sm text-white/70">
773
+ <li className="!text-white/70">
774
+ Always provide descriptive labels for branch-related
775
+ actions
776
+ </li>
777
+ <li className="!text-white/70">
778
+ Use consistent placement in version control interfaces
779
+ </li>
780
+ <li className="!text-white/70">
781
+ Ensure sufficient click/touch target sizes
782
+ </li>
783
+ <li className="!text-white/70">
784
+ Add focus states for keyboard navigation
785
+ </li>
786
+ <li className="!text-white/70">
787
+ Consider motion sensitivity for branching animations
788
+ </li>
789
+ </ul>
790
+ </div>
791
+ </div>
792
+
793
+ <div className="rounded-lg border border-white/10 bg-white/5 p-6">
794
+ <h3 className="mb-4 text-lg font-semibold !text-purple-300">
795
+ Custom Accessibility Implementation
796
+ </h3>
797
+ <div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
798
+ {/* Code Example Block */}
799
+ <div className="rounded-lg bg-black/40 p-4">
800
+ <pre className="overflow-x-auto text-sm !text-cyan-300">
801
+ {`// Branch toggle button with ARIA
802
+ <button
803
+ aria-label="Toggle git branch panel"
804
+ aria-pressed={branchOpen}
805
+ className="flex items-center gap-2 p-2"
806
+ >
807
+ <GitBranchIcon className="h-4 w-4" />
808
+ <span className="sr-only">Open Branch Panel</span>
809
+ </button>
810
+
811
+ // Branch group with description
812
+ <fieldset aria-labelledby="branch-heading" className="space-y-2">
813
+ <legend id="branch-heading" className="sr-only">Branch Options</legend>
814
+ <div>
815
+ <label className="inline-flex items-center gap-2">
816
+ <input type="checkbox" aria-describedby="branch-desc" />
817
+ Feature Branch
818
+ </label>
819
+ </div>
820
+ <div>
821
+ <label className="inline-flex items-center gap-2">
822
+ <input type="checkbox" />
823
+ Main Branch
824
+ </label>
825
+ </div>
826
+ </fieldset>
827
+ <p id="branch-desc" className="sr-only">
828
+ Choose one or more branches to compare or switch context.
829
+ </p>`}
830
+ </pre>
831
+ </div>
832
+
833
+ {/* Accessibility Note */}
834
+ <div className="!space-y-4">
835
+ <p className="text-sm !text-white/70">
836
+ When using <code>GitBranchIcon</code> for toggling or
837
+ displaying branch-related panels, ensure ARIA labels
838
+ clearly explain what will be shown or changed. Group
839
+ options with semantic roles for screen reader clarity.
840
+ </p>
841
+ <div className="rounded-lg border border-indigo-500/20 bg-indigo-500/10 p-4">
842
+ <div className="flex items-center gap-2 text-sm text-indigo-200">
843
+ <GitBranchIcon className="h-4 w-4" />
844
+ <span>
845
+ Use <code>aria-pressed</code> or{" "}
846
+ <code>aria-expanded</code> for toggles and{" "}
847
+ <code>legend</code>/<code>fieldset</code> for
848
+ grouped version control options.
849
+ </span>
850
+ </div>
851
+ </div>
852
+ </div>
853
+ </div>
854
+ </div>
855
+ </div>
856
+
857
+ {/* Related Icons */}
858
+ <div className="!space-y-8">
859
+ <h2 className="text-center text-3xl font-bold !text-white">
860
+ Related Icons
861
+ </h2>
862
+ <div className="grid grid-cols-2 gap-6 md:grid-cols-4">
863
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
864
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-blue-500/20">
865
+ <span className="text-2xl">🔍</span>
866
+ </div>
867
+ <div>
868
+ <div className="font-medium text-white">SearchIcon</div>
869
+ <div className="text-xs text-white/60">
870
+ General search
871
+ </div>
872
+ </div>
873
+ </div>
874
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
875
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-purple-500/20">
876
+ <span className="text-2xl">📈</span>
877
+ </div>
878
+ <div>
879
+ <div className="font-medium text-white">
880
+ TrendingUpIcon
881
+ </div>
882
+ <div className="text-xs text-white/60">
883
+ Growth metrics
884
+ </div>
885
+ </div>
886
+ </div>
887
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
888
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-cyan-500/20">
889
+ <span className="text-2xl">🗂️</span>
890
+ </div>
891
+ <div>
892
+ <div className="font-medium text-white">FolderIcon</div>
893
+ <div className="text-xs text-white/60">File browsing</div>
894
+ </div>
895
+ </div>
896
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
897
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-green-500/20">
898
+ <span className="text-2xl">💾</span>
899
+ </div>
900
+ <div>
901
+ <div className="font-medium text-white">SaveIcon</div>
902
+ <div className="text-xs text-white/60">Save changes</div>
903
+ </div>
904
+ </div>
905
+ </div>
906
+ </div>
907
+ </div>
908
+
909
+ {/* Footer */}
910
+ <div className="border-t border-white/10 bg-black/20 backdrop-blur-xl">
911
+ <div className="!mx-auto max-w-7xl px-6 py-8">
912
+ <div className="!space-y-4 text-center">
913
+ <p className="!text-white/60">
914
+ FilterBarRowIcon is part of the Aural UI icon library, built
915
+ for document search, content discovery, and page navigation
916
+ functionality.
917
+ </p>
918
+ <p className="text-sm !text-white/40">
919
+ All icons use Radix UI's AccessibleIcon for screen reader
920
+ compatibility and follow WCAG guidelines for search
921
+ interfaces.
922
+ </p>
923
+ </div>
924
+ </div>
925
+ </div>
926
+ </div>
927
+ </>
928
+ ),
929
+ },
930
+ },
931
+ tags: ["autodocs"],
932
+ argTypes: {
933
+ width: {
934
+ control: { type: "range", min: 8, max: 96, step: 2 },
935
+ description: "Width of the icon in pixels",
936
+ },
937
+ height: {
938
+ control: { type: "range", min: 8, max: 96, step: 2 },
939
+ description: "Height of the icon in pixels",
940
+ },
941
+ stroke: {
942
+ control: "color",
943
+ description: "Stroke color of the icon lines",
944
+ },
945
+ strokeWidth: {
946
+ control: { type: "range", min: 1, max: 4, step: 0.5 },
947
+ description: "Stroke width of the icon",
948
+ },
949
+ strokeLinecap: {
950
+ control: "select",
951
+ options: ["butt", "round", "square"],
952
+ description: "Style of line endings",
953
+ },
954
+ className: {
955
+ control: "text",
956
+ description: "CSS classes for styling (use for overrides)",
957
+ },
958
+ },
959
+ }
960
+
961
+ export default meta
962
+ type Story = StoryObj<typeof GitBranchIcon>
963
+
964
+ // Story parameters for consistent dark theme
965
+ const storyParameters = {
966
+ backgrounds: {
967
+ default: "dark",
968
+ values: [
969
+ { name: "dark", value: "#0a0a0a" },
970
+ { name: "darker", value: "#000000" },
971
+ ],
972
+ },
973
+ }
974
+
975
+ export const Default: Story = {
976
+ args: {
977
+ width: 24,
978
+ height: 24,
979
+ className: "text-indigo-400 ",
980
+ },
981
+ parameters: storyParameters,
982
+ render: (args) => (
983
+ <div className="flex h-32 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
984
+ <GitBranchIcon {...args} />
985
+ </div>
986
+ ),
987
+ }
988
+
989
+ export const SizeVariations: Story = {
990
+ parameters: {
991
+ ...storyParameters,
992
+ docs: {
993
+ description: {
994
+ story:
995
+ "GitBranchIcon in different sizes, from small search inputs to large interface elements.",
996
+ },
997
+ },
998
+ },
999
+ render: () => (
1000
+ <div className="flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
1001
+ <div className="text-center">
1002
+ <GitBranchIcon className="!mx-auto mb-2 h-3 w-3 text-indigo-400" />
1003
+ <span className="text-xs text-white/60">12px</span>
1004
+ </div>
1005
+ <div className="text-center">
1006
+ <GitBranchIcon className="!mx-auto mb-2 h-4 w-4 text-indigo-400" />
1007
+ <span className="text-xs text-white/60">16px</span>
1008
+ </div>
1009
+ <div className="text-center">
1010
+ <GitBranchIcon className="!mx-auto mb-2 h-5 w-5 text-indigo-400" />
1011
+ <span className="text-xs text-white/60">20px</span>
1012
+ </div>
1013
+ <div className="text-center">
1014
+ <GitBranchIcon className="!mx-auto mb-2 h-6 w-6 text-indigo-400" />
1015
+ <span className="text-xs text-white/60">24px</span>
1016
+ </div>
1017
+ <div className="text-center">
1018
+ <GitBranchIcon className="!mx-auto mb-2 h-8 w-8 text-indigo-400" />
1019
+ <span className="text-xs text-white/60">32px</span>
1020
+ </div>
1021
+ <div className="text-center">
1022
+ <GitBranchIcon className="!mx-auto mb-2 h-12 w-12 text-indigo-400" />
1023
+ <span className="text-xs text-white/60">48px</span>
1024
+ </div>
1025
+ </div>
1026
+ ),
1027
+ }
1028
+
1029
+ export const ColorVariations: Story = {
1030
+ parameters: {
1031
+ ...storyParameters,
1032
+ docs: {
1033
+ description: {
1034
+ story:
1035
+ "GitBranchIcon in different colors for various search states and contexts.",
1036
+ },
1037
+ },
1038
+ },
1039
+ render: () => (
1040
+ <div className="grid min-h-dvh grid-cols-2 items-center justify-center gap-6 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8 md:grid-cols-4">
1041
+ <div className="text-center">
1042
+ <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-indigo-500/30 bg-indigo-500/20">
1043
+ <GitBranchIcon className="h-8 w-8 text-indigo-400" />
1044
+ </div>
1045
+ <div className="text-sm font-medium text-white">Primary</div>
1046
+ <div className="text-xs text-indigo-400">text-indigo-400</div>
1047
+ </div>
1048
+ <div className="text-center">
1049
+ <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-cyan-500/30 bg-cyan-500/20">
1050
+ <GitBranchIcon className="h-8 w-8 text-cyan-400" />
1051
+ </div>
1052
+ <div className="text-sm font-medium text-white">Active</div>
1053
+ <div className="text-xs text-cyan-400">text-cyan-400</div>
1054
+ </div>
1055
+ <div className="text-center">
1056
+ <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-gray-500/30 bg-gray-500/20">
1057
+ <GitBranchIcon className="h-8 w-8 text-gray-400" />
1058
+ </div>
1059
+ <div className="text-sm font-medium text-white">Disabled</div>
1060
+ <div className="text-xs text-gray-400">text-gray-400</div>
1061
+ </div>
1062
+ <div className="text-center">
1063
+ <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-blue-500/30 bg-blue-500/20">
1064
+ <GitBranchIcon className="h-8 w-8 text-blue-400" />
1065
+ </div>
1066
+ <div className="text-sm font-medium text-white">Info</div>
1067
+ <div className="text-xs text-blue-400">text-blue-400</div>
1068
+ </div>
1069
+ </div>
1070
+ ),
1071
+ }
1072
+
1073
+ export const UsageExamples: Story = {
1074
+ parameters: {
1075
+ ...storyParameters,
1076
+ docs: {
1077
+ description: {
1078
+ story:
1079
+ "Real-world usage examples showing GitBranchIcon used in version control interfaces, including actions like creating branches, checking out branches, managing recent branches, and performing branch management tasks such as renaming or deleting branches.",
1080
+ },
1081
+ },
1082
+ },
1083
+ render: () => (
1084
+ <div className="min-h-dvh space-y-8 rounded-lg bg-gradient-to-br from-gray-950 to-gray-900 p-8">
1085
+ {/* Toolbar */}
1086
+ <div className="space-y-2">
1087
+ <h3 className="text-sm font-medium text-white">Branch Controls</h3>
1088
+ <div className="flex gap-4">
1089
+ <button className="flex items-center gap-2 rounded-lg border border-blue-500/30 bg-blue-500/15 px-4 py-2 text-blue-200 transition hover:cursor-pointer hover:bg-blue-500/25">
1090
+ <GitBranchIcon className="h-4 w-4" />
1091
+ Create Branch
1092
+ </button>
1093
+ <button className="flex items-center gap-2 rounded-lg border border-indigo-500/30 bg-indigo-500/15 px-4 py-2 text-indigo-200 transition hover:cursor-pointer hover:bg-indigo-500/25">
1094
+ <GitBranchIcon className="h-4 w-4" />
1095
+ Checkout
1096
+ </button>
1097
+ </div>
1098
+ </div>
1099
+
1100
+ {/* Recent Branches */}
1101
+ <div className="space-y-2">
1102
+ <h3 className="text-sm font-medium text-white">Recent Branches</h3>
1103
+ <div className="space-y-3 rounded-lg border border-white/10 bg-white/5 p-4">
1104
+ {[
1105
+ { name: "feature/auth-flow", updated: "Jun 25, 2025" },
1106
+ { name: "fix/navbar-overlap", updated: "Jun 23, 2025" },
1107
+ { name: "release/3.2.0", updated: "Jun 20, 2025" },
1108
+ ].map((branch, index) => (
1109
+ <div
1110
+ key={index}
1111
+ className="flex items-center gap-3 rounded border border-white/10 bg-white/5 p-3 transition hover:bg-white/10"
1112
+ >
1113
+ <GitBranchIcon className="h-5 w-5 text-green-400" />
1114
+ <div className="flex-1">
1115
+ <div className="text-sm font-medium text-white">
1116
+ {branch.name}
1117
+ </div>
1118
+ <div className="text-xs text-white/60">
1119
+ Updated {branch.updated}
1120
+ </div>
1121
+ </div>
1122
+ </div>
1123
+ ))}
1124
+ </div>
1125
+ </div>
1126
+
1127
+ {/* Management Actions */}
1128
+ <div className="space-y-2">
1129
+ <h3 className="text-sm font-medium text-white">Manage Branches</h3>
1130
+ <div className="flex gap-4">
1131
+ <button className="flex items-center gap-2 rounded-lg border border-yellow-500/30 bg-yellow-500/15 px-4 py-2 text-yellow-200 transition hover:cursor-pointer hover:bg-yellow-500/25">
1132
+ <GitBranchIcon className="h-4 w-4" />
1133
+ Rename
1134
+ </button>
1135
+ <button className="flex items-center gap-2 rounded-lg border border-red-500/30 bg-red-500/15 px-4 py-2 text-red-200 transition hover:cursor-pointer hover:bg-red-500/25">
1136
+ <GitBranchIcon className="h-4 w-4" />
1137
+ Delete
1138
+ </button>
1139
+ </div>
1140
+ </div>
1141
+ </div>
1142
+ ),
1143
+ }
1144
+
1145
+ export const InteractiveStates: Story = {
1146
+ parameters: {
1147
+ ...storyParameters,
1148
+ docs: {
1149
+ description: {
1150
+ story:
1151
+ "Interactive states showing hover effects, animations, and different search states.",
1152
+ },
1153
+ },
1154
+ },
1155
+ render: () => (
1156
+ <div className="min-h-dvh space-y-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
1157
+ <div className="space-y-4">
1158
+ <h3 className="text-sm font-medium text-white/70">
1159
+ Interactive States & Motion
1160
+ </h3>
1161
+ <div className="flex gap-8">
1162
+ {/* Hover color transition */}
1163
+ <div className="flex flex-col items-center gap-2">
1164
+ <GitBranchIcon className="h-8 w-8 text-white/60 transition-colors hover:text-blue-400" />
1165
+ <span className="text-xs text-white/60">Hover to Highlight</span>
1166
+ </div>
1167
+
1168
+ {/* Hover scale up */}
1169
+ <div className="flex flex-col items-center gap-2">
1170
+ <GitBranchIcon className="h-8 w-8 text-white transition-transform duration-200 hover:scale-110" />
1171
+ <span className="text-xs text-white/60">Scale on Hover</span>
1172
+ </div>
1173
+
1174
+ {/* Pulse animation to show sync or branch update */}
1175
+ <div className="flex flex-col items-center gap-2">
1176
+ <GitBranchIcon className="h-8 w-8 animate-pulse text-green-400" />
1177
+ <span className="text-xs text-white/60">Sync Pulse</span>
1178
+ </div>
1179
+ </div>
1180
+ </div>
1181
+ </div>
1182
+ ),
1183
+ }
1184
+
1185
+ export const Playground: Story = {
1186
+ parameters: {
1187
+ ...storyParameters,
1188
+ docs: {
1189
+ description: {
1190
+ story:
1191
+ "Interactive playground to experiment with different GitBranchIcon configurations.",
1192
+ },
1193
+ },
1194
+ },
1195
+ args: {
1196
+ width: 32,
1197
+ height: 32,
1198
+ className: "text-indigo-400 ",
1199
+ strokeLinecap: "square",
1200
+ },
1201
+ render: (args) => (
1202
+ <div className="flex h-64 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
1203
+ <div className="rounded-lg border border-white/10 bg-white/5 p-8">
1204
+ <GitBranchIcon {...args} />
1205
+ </div>
1206
+ </div>
1207
+ ),
1208
+ }