aural-ui 2.1.0 → 2.1.2

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.
Files changed (90) hide show
  1. package/dist/components/slider/Slider.stories.tsx +23 -22
  2. package/dist/components/slider/index.tsx +9 -3
  3. package/dist/icons/apple-logo-icon/AppleLogoIcon.stories.tsx +952 -0
  4. package/dist/icons/apple-logo-icon/index.tsx +26 -0
  5. package/dist/icons/apple-logo-icon/meta.ts +8 -0
  6. package/dist/icons/arrow-left-icon/ArrowLeftIcon.stories.tsx +1008 -0
  7. package/dist/icons/arrow-left-icon/index.tsx +24 -0
  8. package/dist/icons/arrow-left-icon/meta.ts +8 -0
  9. package/dist/icons/backward-ten-seconds-icon/BackwardTenSecondsIcon.stories.tsx +1050 -0
  10. package/dist/icons/backward-ten-seconds-icon/index.tsx +35 -0
  11. package/dist/icons/backward-ten-seconds-icon/meta.ts +8 -0
  12. package/dist/icons/camera-icon/CameraIcon.stories.tsx +1271 -0
  13. package/dist/icons/camera-icon/index.tsx +22 -0
  14. package/dist/icons/camera-icon/meta.ts +8 -0
  15. package/dist/icons/coin-icon/CoinIcon.stories.tsx +1382 -0
  16. package/dist/icons/coin-icon/index.tsx +36 -0
  17. package/dist/icons/coin-icon/meta.ts +8 -0
  18. package/dist/icons/email-icon/EmailIcon.stories.tsx +995 -0
  19. package/dist/icons/email-icon/index.tsx +22 -0
  20. package/dist/icons/email-icon/meta.ts +8 -0
  21. package/dist/icons/expand-icon/ExpandIcon.stories.tsx +1167 -0
  22. package/dist/icons/expand-icon/index.tsx +22 -0
  23. package/dist/icons/expand-icon/meta.ts +8 -0
  24. package/dist/icons/forward-ten-seconds-icon/ForwardTenSecondsIcon.stories.tsx +1054 -0
  25. package/dist/icons/forward-ten-seconds-icon/index.tsx +33 -0
  26. package/dist/icons/forward-ten-seconds-icon/meta.ts +8 -0
  27. package/dist/icons/google-logo-icon/GoogleLogoIcon.stories.tsx +1004 -0
  28. package/dist/icons/google-logo-icon/index.tsx +34 -0
  29. package/dist/icons/google-logo-icon/meta.ts +8 -0
  30. package/dist/icons/heart-icon/HeartIcon.stories.tsx +1080 -0
  31. package/dist/icons/heart-icon/index.tsx +21 -0
  32. package/dist/icons/heart-icon/meta.ts +8 -0
  33. package/dist/icons/index.ts +32 -4
  34. package/dist/icons/indian-flag-icon/IndianFlagIcon.stories.tsx +1020 -0
  35. package/dist/icons/indian-flag-icon/index.tsx +46 -0
  36. package/dist/icons/indian-flag-icon/meta.ts +8 -0
  37. package/dist/icons/instagram-icon/InstagramIcon.stories.tsx +1449 -0
  38. package/dist/icons/instagram-icon/index.tsx +17 -0
  39. package/dist/icons/instagram-icon/meta.ts +8 -0
  40. package/dist/icons/linked-in-icon/LinkedInIcon.stories.tsx +1582 -0
  41. package/dist/icons/linked-in-icon/index.tsx +17 -0
  42. package/dist/icons/linked-in-icon/meta.ts +8 -0
  43. package/dist/icons/minimize-icon/MinimizeIcon.stories.tsx +1214 -0
  44. package/dist/icons/minimize-icon/index.tsx +22 -0
  45. package/dist/icons/minimize-icon/meta.ts +8 -0
  46. package/dist/icons/pause-icon/PauseIcon.stories.tsx +1060 -0
  47. package/dist/icons/pause-icon/index.tsx +30 -0
  48. package/dist/icons/pause-icon/meta.ts +8 -0
  49. package/dist/icons/share-icon/ShareIcon.stories.tsx +1081 -0
  50. package/dist/icons/share-icon/index.tsx +22 -0
  51. package/dist/icons/share-icon/meta.ts +8 -0
  52. package/dist/icons/skip-backward-icon/SkipBackwardIcon.stories.tsx +1047 -0
  53. package/dist/icons/skip-backward-icon/index.tsx +29 -0
  54. package/dist/icons/skip-backward-icon/meta.ts +8 -0
  55. package/dist/icons/skip-forward-icon/SkipForwardIcon.stories.tsx +1049 -0
  56. package/dist/icons/skip-forward-icon/index.tsx +29 -0
  57. package/dist/icons/skip-forward-icon/meta.ts +8 -0
  58. package/dist/icons/store-coin-icon/StoreCoinIcon.stories.tsx +1020 -0
  59. package/dist/icons/store-coin-icon/index.tsx +35 -0
  60. package/dist/icons/store-coin-icon/meta.ts +8 -0
  61. package/dist/icons/threads-icon/ThreadsIcon.stories.tsx +1489 -0
  62. package/dist/icons/threads-icon/index.tsx +17 -0
  63. package/dist/icons/threads-icon/meta.ts +8 -0
  64. package/dist/icons/twitter-x-icon/TwitterXIcon.stories.tsx +1463 -0
  65. package/dist/icons/twitter-x-icon/index.tsx +17 -0
  66. package/dist/icons/twitter-x-icon/meta.ts +8 -0
  67. package/dist/icons/video-play-list-icon/VideoPlaylistIcon.stories.tsx +1105 -0
  68. package/dist/icons/video-play-list-icon/index.tsx +22 -0
  69. package/dist/icons/video-play-list-icon/meta.ts +8 -0
  70. package/dist/icons/voice-playing-icon/VoicePlayingIcon.stories.tsx +1416 -0
  71. package/dist/icons/voice-playing-icon/index.tsx +24 -0
  72. package/dist/icons/voice-playing-icon/meta.ts +8 -0
  73. package/dist/icons/volume-full-icon/VolumeFullIcon.stories.tsx +1230 -0
  74. package/dist/icons/volume-full-icon/index.tsx +25 -0
  75. package/dist/icons/volume-full-icon/meta.ts +8 -0
  76. package/dist/icons/volume-half-icon/VolumeHalfIcon.stories.tsx +1153 -0
  77. package/dist/icons/volume-half-icon/index.tsx +25 -0
  78. package/dist/icons/volume-half-icon/meta.ts +8 -0
  79. package/dist/icons/volume-off-icon/VolumeOffIcon.stories.tsx +1144 -0
  80. package/dist/icons/volume-off-icon/index.tsx +26 -0
  81. package/dist/icons/volume-off-icon/meta.ts +8 -0
  82. package/dist/icons/warning-icon/WarningIcon.stories.tsx +1106 -0
  83. package/dist/icons/warning-icon/index.tsx +27 -0
  84. package/dist/icons/warning-icon/meta.ts +8 -0
  85. package/dist/icons/youtube-icon/YoutubeIcon.stories.tsx +996 -0
  86. package/dist/icons/youtube-icon/index.tsx +24 -0
  87. package/dist/icons/youtube-icon/meta.ts +8 -0
  88. package/dist/index.js +1 -1
  89. package/dist/styles/aural-theme.css +9 -0
  90. package/package.json +1 -1
@@ -0,0 +1,1105 @@
1
+ import React from "react"
2
+ import type { Meta, StoryObj } from "@storybook/react"
3
+
4
+ import { VideoPlaylistIcon } from "."
5
+
6
+ const meta: Meta<typeof VideoPlaylistIcon> = {
7
+ title: "Icons/VideoPlaylistIcon",
8
+ component: VideoPlaylistIcon,
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 !important;
27
+ max-width: none !important;
28
+ background: transparent !important;
29
+ }
30
+ .sbdocs-content {
31
+ max-width: none !important;
32
+ padding: 0 !important;
33
+ margin: 0 !important;
34
+ background: transparent !important;
35
+ }
36
+ .docs-story {
37
+ background: transparent !important;
38
+ }
39
+ .sbdocs {
40
+ background: transparent !important;
41
+ }
42
+ body {
43
+ background: #0a0a0a !important;
44
+ }
45
+ #storybook-docs {
46
+ background: #0a0a0a !important;
47
+ }
48
+ .sbdocs-preview {
49
+ background: transparent !important;
50
+ border: none !important;
51
+ }
52
+ .sbdocs-h1, .sbdocs-h2, .sbdocs-h3, .sbdocs-h4, .sbdocs-h5, .sbdocs-h6 {
53
+ color: white !important;
54
+ }
55
+ .sbdocs-p, .sbdocs-li {
56
+ color: rgba(255, 255, 255, 0.7) !important;
57
+ }
58
+ .sbdocs-code {
59
+ background: rgba(255, 255, 255, 0.1) !important;
60
+ color: rgba(168, 85, 247, 1) !important;
61
+ border: 1px solid rgba(255, 255, 255, 0.1) !important;
62
+ }
63
+ .sbdocs-pre {
64
+ background: rgba(0, 0, 0, 0.4) !important;
65
+ border: 1px solid rgba(255, 255, 255, 0.1) !important;
66
+ }
67
+ .sbdocs-table {
68
+ background: rgba(255, 255, 255, 0.05) !important;
69
+ border: 1px solid rgba(255, 255, 255, 0.1) !important;
70
+ }
71
+ .sbdocs-table th {
72
+ background: rgba(255, 255, 255, 0.05) !important;
73
+ color: white !important;
74
+ border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
75
+ }
76
+ .sbdocs-table td {
77
+ color: rgba(255, 255, 255, 0.7) !important;
78
+ border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
79
+ }
80
+ `}
81
+ </style>
82
+
83
+ <div className="min-h-screen bg-gradient-to-br from-gray-900 via-purple-900/20 to-gray-900">
84
+ {/* Header */}
85
+ <div className="relative overflow-hidden border-b border-white/10 bg-black/20 backdrop-blur-xl">
86
+ <div className="absolute inset-0 bg-gradient-to-r from-purple-500/10 via-transparent to-indigo-500/10" />
87
+ <div className="relative !mx-auto max-w-7xl px-6 py-16">
88
+ <div className="!space-y-6 text-center">
89
+ <div className="!mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border border-purple-500/30 bg-gradient-to-br from-purple-500/20 to-indigo-500/20">
90
+ <VideoPlaylistIcon className="h-12 w-12 text-purple-400" />
91
+ </div>
92
+ <h1 className="!text-fm-primary text-5xl font-bold">
93
+ VideoPlaylistIcon
94
+ </h1>
95
+ <p className="!mx-auto max-w-3xl text-xl leading-relaxed !text-white/70">
96
+ A versatile video playlist icon for media libraries, course
97
+ content, and video collections. Built with accessibility in
98
+ mind using Radix UI's AccessibleIcon wrapper.
99
+ </p>
100
+
101
+ {/* Stats */}
102
+ <div className="flex items-center justify-center gap-8 pt-8">
103
+ <div className="text-center">
104
+ <div className="text-3xl font-bold text-purple-300">
105
+ Accessible
106
+ </div>
107
+ <div className="text-sm text-white/60">
108
+ Screen reader friendly
109
+ </div>
110
+ </div>
111
+ <div className="h-8 w-px bg-white/20" />
112
+ <div className="text-center">
113
+ <div className="text-3xl font-bold text-indigo-300">
114
+ Scalable
115
+ </div>
116
+ <div className="text-sm text-white/60">
117
+ Any size needed
118
+ </div>
119
+ </div>
120
+ <div className="h-8 w-px bg-white/20" />
121
+ <div className="text-center">
122
+ <div className="text-3xl font-bold text-violet-300">
123
+ Flexible
124
+ </div>
125
+ <div className="text-sm text-white/60">
126
+ Customizable styling
127
+ </div>
128
+ </div>
129
+ </div>
130
+ </div>
131
+ </div>
132
+ </div>
133
+
134
+ {/* Content */}
135
+ <div className="!mx-auto max-w-7xl !space-y-16 px-6 py-12">
136
+ {/* Quick Usage */}
137
+ <div className="!space-y-8">
138
+ <h2 className="text-center text-3xl font-bold !text-white">
139
+ Quick Start
140
+ </h2>
141
+ <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
142
+ <div className="!space-y-4">
143
+ <h3 className="text-xl font-semibold !text-purple-300">
144
+ Basic Usage
145
+ </h3>
146
+ <div className="rounded-lg bg-black/40 p-4">
147
+ <pre className="overflow-x-auto text-sm !text-green-300">
148
+ {`import { VideoPlaylistIcon } from "@icons/video-play-list-icon"
149
+
150
+ function MyComponent() {
151
+ return (
152
+ <VideoPlaylistIcon className="h-6 w-6 text-purple-500" />
153
+ )
154
+ }`}
155
+ </pre>
156
+ </div>
157
+ </div>
158
+
159
+ <div className="!space-y-4">
160
+ <h3 className="text-xl font-semibold !text-purple-300">
161
+ Live Preview
162
+ </h3>
163
+ <div className="flex h-32 items-center justify-center rounded-lg border border-white/10 bg-white/5">
164
+ <VideoPlaylistIcon className="h-12 w-12 text-purple-400" />
165
+ </div>
166
+ </div>
167
+ </div>
168
+ </div>
169
+
170
+ {/* Props Documentation */}
171
+ <div className="!space-y-8">
172
+ <h2 className="text-center text-3xl font-bold !text-white">
173
+ Props & Configuration
174
+ </h2>
175
+
176
+ <div className="overflow-hidden rounded-lg border border-white/10 bg-white/5">
177
+ <div className="bg-white/5 p-4">
178
+ <h3 className="text-xl font-semibold !text-white">Props</h3>
179
+ </div>
180
+ <table className="!my-0 w-full">
181
+ <thead className="bg-white/5">
182
+ <tr className="border-b border-white/10">
183
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
184
+ Prop
185
+ </th>
186
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
187
+ Type
188
+ </th>
189
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
190
+ Default
191
+ </th>
192
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
193
+ Description
194
+ </th>
195
+ </tr>
196
+ </thead>
197
+ <tbody>
198
+ <tr className="border-b border-white/5">
199
+ <td className="px-6 py-4 font-mono text-sm !text-purple-300">
200
+ width
201
+ </td>
202
+ <td className="px-6 py-4 text-sm !text-white/70">
203
+ number | string
204
+ </td>
205
+ <td className="px-6 py-4 text-sm !text-white/50">20</td>
206
+ <td className="px-6 py-4 text-sm !text-white/70">
207
+ Width of the icon in pixels
208
+ </td>
209
+ </tr>
210
+ <tr className="border-b border-white/5 !bg-black/10">
211
+ <td className="px-6 py-4 font-mono text-sm !text-purple-300">
212
+ height
213
+ </td>
214
+ <td className="px-6 py-4 text-sm !text-white/70">
215
+ number | string
216
+ </td>
217
+ <td className="px-6 py-4 text-sm !text-white/50">20</td>
218
+ <td className="px-6 py-4 text-sm !text-white/70">
219
+ Height of the icon in pixels
220
+ </td>
221
+ </tr>
222
+ <tr className="border-b border-white/5">
223
+ <td className="px-6 py-4 font-mono text-sm !text-purple-300">
224
+ stroke
225
+ </td>
226
+ <td className="px-6 py-4 text-sm !text-white/70">
227
+ string
228
+ </td>
229
+ <td className="px-6 py-4 text-sm !text-white/50">
230
+ currentColor
231
+ </td>
232
+ <td className="px-6 py-4 text-sm !text-white/70">
233
+ Stroke color of the playlist icon
234
+ </td>
235
+ </tr>
236
+ <tr className="border-b border-white/5 !bg-black/10">
237
+ <td className="px-6 py-4 font-mono text-sm !text-purple-300">
238
+ strokeWidth
239
+ </td>
240
+ <td className="px-6 py-4 text-sm !text-white/70">
241
+ number | string
242
+ </td>
243
+ <td className="px-6 py-4 text-sm !text-white/50">
244
+ 1.25
245
+ </td>
246
+ <td className="px-6 py-4 text-sm !text-white/70">
247
+ Width of the stroke line
248
+ </td>
249
+ </tr>
250
+ <tr className="border-b border-white/5">
251
+ <td className="px-6 py-4 font-mono text-sm !text-purple-300">
252
+ strokeLinecap
253
+ </td>
254
+ <td className="px-6 py-4 text-sm !text-white/70">
255
+ string
256
+ </td>
257
+ <td className="px-6 py-4 text-sm !text-white/50">
258
+ square
259
+ </td>
260
+ <td className="px-6 py-4 text-sm !text-white/70">
261
+ Style of line endings
262
+ </td>
263
+ </tr>
264
+ <tr className="border-b border-white/5 !bg-black/10">
265
+ <td className="px-6 py-4 font-mono text-sm !text-purple-300">
266
+ className
267
+ </td>
268
+ <td className="px-6 py-4 text-sm !text-white/70">
269
+ string
270
+ </td>
271
+ <td className="px-6 py-4 text-sm !text-white/50">-</td>
272
+ <td className="px-6 py-4 text-sm !text-white/70">
273
+ CSS classes for styling
274
+ </td>
275
+ </tr>
276
+ <tr className="!bg-black/10">
277
+ <td className="px-6 py-4 font-mono text-sm !text-purple-300">
278
+ onClick
279
+ </td>
280
+ <td className="px-6 py-4 text-sm !text-white/70">
281
+ function
282
+ </td>
283
+ <td className="px-6 py-4 text-sm !text-white/50">-</td>
284
+ <td className="px-6 py-4 text-sm !text-white/70">
285
+ Click handler for interactions
286
+ </td>
287
+ </tr>
288
+ </tbody>
289
+ </table>
290
+ </div>
291
+
292
+ {/* Styling Options */}
293
+ <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
294
+ <div className="!space-y-4">
295
+ <h3 className="text-lg font-semibold !text-purple-300">
296
+ Media Player Styles
297
+ </h3>
298
+ <div className="!space-y-4">
299
+ <div className="flex gap-4">
300
+ <button className="flex items-center gap-2 rounded-lg border border-purple-500/30 bg-purple-500/20 px-4 py-2 text-purple-200">
301
+ <VideoPlaylistIcon className="h-4 w-4" />
302
+ Playlist
303
+ </button>
304
+ <button className="rounded-lg p-2 text-purple-400 transition-colors hover:bg-purple-500/20">
305
+ <VideoPlaylistIcon className="h-4 w-4" />
306
+ </button>
307
+ </div>
308
+ <div className="rounded-lg bg-black/40 p-4">
309
+ <pre className="overflow-x-auto text-sm !text-green-300">
310
+ {`// Button with text
311
+ <button className="flex items-center gap-2 bg-purple-500/20 border border-purple-500/30 px-4 py-2 rounded-lg">
312
+ <VideoPlaylistIcon className="h-4 w-4" />
313
+ Playlist
314
+ </button>
315
+
316
+ // Icon only button
317
+ <button className="p-2 rounded-lg text-purple-400 hover:bg-purple-500/20 transition-colors">
318
+ <VideoPlaylistIcon className="h-4 w-4" />
319
+ </button>`}
320
+ </pre>
321
+ </div>
322
+ </div>
323
+ </div>
324
+
325
+ <div className="!space-y-4">
326
+ <h3 className="text-lg font-semibold !text-purple-300">
327
+ Color Customization
328
+ </h3>
329
+ <div className="!space-y-4">
330
+ <div className="flex gap-4">
331
+ <VideoPlaylistIcon className="h-6 w-6 text-purple-400" />
332
+ <VideoPlaylistIcon className="h-6 w-6 text-indigo-400" />
333
+ <VideoPlaylistIcon className="h-6 w-6 text-violet-400" />
334
+ </div>
335
+ <div className="rounded-lg bg-black/40 p-4">
336
+ <pre className="overflow-x-auto text-sm !text-green-300">
337
+ {`// Using Tailwind classes
338
+ <VideoPlaylistIcon className="h-6 w-6 text-purple-400" />
339
+ <VideoPlaylistIcon className="h-6 w-6 text-indigo-400" />
340
+
341
+ // Using CSS custom properties
342
+ <VideoPlaylistIcon
343
+ className="h-6 w-6"
344
+ style={{ color: 'var(--color-playlist)' }}
345
+ />
346
+
347
+ // Direct stroke prop
348
+ <VideoPlaylistIcon
349
+ width={20}
350
+ height={20}
351
+ stroke="#8b5cf6"
352
+ />`}
353
+ </pre>
354
+ </div>
355
+ </div>
356
+ </div>
357
+ </div>
358
+ </div>
359
+
360
+ {/* Size Variations */}
361
+ <div className="!space-y-8">
362
+ <h2 className="text-center text-3xl font-bold !text-white">
363
+ Size Variations
364
+ </h2>
365
+ <div className="rounded-lg border border-white/10 bg-white/5 p-8">
366
+ <div className="!space-y-6">
367
+ <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
368
+ <div className="!space-y-4">
369
+ <h3 className="text-lg font-semibold !text-purple-300">
370
+ Standard Sizes
371
+ </h3>
372
+ <div className="flex items-end gap-6 rounded-lg bg-black/20 p-6">
373
+ <div className="text-center">
374
+ <VideoPlaylistIcon className="!mx-auto mb-2 h-3 w-3 text-purple-400" />
375
+ <span className="text-xs text-white/60">12px</span>
376
+ </div>
377
+ <div className="text-center">
378
+ <VideoPlaylistIcon className="!mx-auto mb-2 h-4 w-4 text-purple-400" />
379
+ <span className="text-xs text-white/60">16px</span>
380
+ </div>
381
+ <div className="text-center">
382
+ <VideoPlaylistIcon className="!mx-auto mb-2 h-5 w-5 text-purple-400" />
383
+ <span className="text-xs text-white/60">20px</span>
384
+ </div>
385
+ <div className="text-center">
386
+ <VideoPlaylistIcon className="!mx-auto mb-2 h-6 w-6 text-purple-400" />
387
+ <span className="text-xs text-white/60">24px</span>
388
+ </div>
389
+ <div className="text-center">
390
+ <VideoPlaylistIcon className="!mx-auto mb-2 h-8 w-8 text-purple-400" />
391
+ <span className="text-xs text-white/60">32px</span>
392
+ </div>
393
+ <div className="text-center">
394
+ <VideoPlaylistIcon className="!mx-auto mb-2 h-12 w-12 text-purple-400" />
395
+ <span className="text-xs text-white/60">48px</span>
396
+ </div>
397
+ </div>
398
+ </div>
399
+
400
+ <div className="!space-y-4">
401
+ <h3 className="text-lg font-semibold !text-purple-300">
402
+ Code Example
403
+ </h3>
404
+ <div className="rounded-lg bg-black/40 p-4">
405
+ <pre className="overflow-x-auto text-sm !text-blue-300">
406
+ {`// Small (16px)
407
+ <VideoPlaylistIcon className="h-4 w-4" />
408
+
409
+ // Medium (24px)
410
+ <VideoPlaylistIcon className="h-6 w-6" />
411
+
412
+ // Large (32px)
413
+ <VideoPlaylistIcon className="h-8 w-8" />
414
+
415
+ // Custom size
416
+ <VideoPlaylistIcon width={40} height={40} />`}
417
+ </pre>
418
+ </div>
419
+ </div>
420
+ </div>
421
+ </div>
422
+ </div>
423
+ </div>
424
+
425
+ {/* Color Variations */}
426
+ <div className="!space-y-8">
427
+ <h2 className="text-center text-3xl font-bold !text-white">
428
+ Color Variations
429
+ </h2>
430
+ <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
431
+ <div className="!space-y-4">
432
+ <h3 className="text-lg font-semibold !text-purple-300">
433
+ Semantic Colors
434
+ </h3>
435
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
436
+ <div className="flex items-center gap-4">
437
+ <VideoPlaylistIcon className="h-6 w-6 text-purple-400" />
438
+ <div>
439
+ <div className="text-sm font-medium text-white">
440
+ Media
441
+ </div>
442
+ <div className="text-xs text-white/60">
443
+ text-purple-400
444
+ </div>
445
+ </div>
446
+ </div>
447
+ <div className="flex items-center gap-4">
448
+ <VideoPlaylistIcon className="h-6 w-6 text-indigo-400" />
449
+ <div>
450
+ <div className="text-sm font-medium text-white">
451
+ Learning
452
+ </div>
453
+ <div className="text-xs text-white/60">
454
+ text-indigo-400
455
+ </div>
456
+ </div>
457
+ </div>
458
+ <div className="flex items-center gap-4">
459
+ <VideoPlaylistIcon className="h-6 w-6 text-violet-400" />
460
+ <div>
461
+ <div className="text-sm font-medium text-white">
462
+ Creative
463
+ </div>
464
+ <div className="text-xs text-white/60">
465
+ text-violet-400
466
+ </div>
467
+ </div>
468
+ </div>
469
+ <div className="flex items-center gap-4">
470
+ <VideoPlaylistIcon className="h-6 w-6 text-white/40" />
471
+ <div>
472
+ <div className="text-sm font-medium text-white">
473
+ Disabled
474
+ </div>
475
+ <div className="text-xs text-white/60">
476
+ text-white/40
477
+ </div>
478
+ </div>
479
+ </div>
480
+ </div>
481
+ </div>
482
+
483
+ <div className="!space-y-4">
484
+ <h3 className="text-lg font-semibold !text-purple-300">
485
+ Custom Colors
486
+ </h3>
487
+ <div className="rounded-lg bg-black/40 p-4">
488
+ <pre className="overflow-x-auto text-sm !text-green-300">
489
+ {`// Using Tailwind classes
490
+ <VideoPlaylistIcon className="h-6 w-6 text-purple-400" />
491
+ <VideoPlaylistIcon className="h-6 w-6 text-indigo-500" />
492
+
493
+ // Using CSS custom properties
494
+ <VideoPlaylistIcon
495
+ className="h-6 w-6"
496
+ style={{ color: 'var(--color-playlist)' }}
497
+ />
498
+
499
+ // Direct stroke prop
500
+ <VideoPlaylistIcon
501
+ width={20}
502
+ height={20}
503
+ stroke="#8b5cf6"
504
+ />`}
505
+ </pre>
506
+ </div>
507
+ </div>
508
+ </div>
509
+ </div>
510
+
511
+ {/* Usage Examples */}
512
+ <div className="!space-y-8">
513
+ <h2 className="text-center text-3xl font-bold !text-white">
514
+ Usage Examples
515
+ </h2>
516
+
517
+ <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
518
+ {/* Media Player */}
519
+ <div className="!space-y-4">
520
+ <h3 className="text-lg font-semibold !text-purple-300">
521
+ Media Player
522
+ </h3>
523
+ <div className="!space-y-4">
524
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
525
+ <div className="mb-4 flex items-center justify-between">
526
+ <h4 className="text-sm font-medium !text-white">
527
+ Video Player
528
+ </h4>
529
+ <button className="rounded-lg p-2 text-purple-400 transition-colors hover:bg-purple-500/20">
530
+ <VideoPlaylistIcon className="h-4 w-4" />
531
+ </button>
532
+ </div>
533
+ <div className="mb-3 flex aspect-video items-center justify-center rounded-lg bg-black/60">
534
+ <div className="text-center">
535
+ <div className="mb-2 flex h-16 w-16 items-center justify-center rounded-full bg-white/10">
536
+ <span className="text-2xl">▶️</span>
537
+ </div>
538
+ <p className="text-sm text-white/60">
539
+ Click to play
540
+ </p>
541
+ </div>
542
+ </div>
543
+ <div className="flex items-center gap-3">
544
+ <span className="text-xs text-white/60">
545
+ 0:00 / 10:25
546
+ </span>
547
+ <div className="h-1 flex-1 rounded bg-white/20">
548
+ <div className="h-full w-1/4 rounded bg-purple-400"></div>
549
+ </div>
550
+ </div>
551
+ </div>
552
+ <div className="rounded-lg bg-black/40 p-4">
553
+ <pre className="overflow-x-auto text-sm !text-green-300">
554
+ {`// Media player with playlist button
555
+ <div className="flex items-center justify-between">
556
+ <h4>Video Player</h4>
557
+ <button className="p-2 rounded-lg text-purple-400 hover:bg-purple-500/20 transition-colors">
558
+ <VideoPlaylistIcon className="h-4 w-4" />
559
+ </button>
560
+ </div>`}
561
+ </pre>
562
+ </div>
563
+ </div>
564
+ </div>
565
+
566
+ {/* Course Library */}
567
+ <div className="!space-y-4">
568
+ <h3 className="text-lg font-semibold !text-purple-300">
569
+ Course Library
570
+ </h3>
571
+ <div className="!space-y-4">
572
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
573
+ <div className="mb-3 flex items-center gap-3">
574
+ <div className="flex h-12 w-12 items-center justify-center rounded-lg bg-purple-500/20">
575
+ <VideoPlaylistIcon className="h-6 w-6 text-purple-400" />
576
+ </div>
577
+ <div className="flex-1">
578
+ <h4 className="text-sm font-medium !text-white">
579
+ React Fundamentals
580
+ </h4>
581
+ <p className="text-xs !text-white/60">
582
+ 12 videos • 3.5 hours
583
+ </p>
584
+ </div>
585
+ <span className="rounded bg-purple-500/20 px-2 py-1 text-xs text-purple-400">
586
+ Course
587
+ </span>
588
+ </div>
589
+ <div className="flex items-center gap-2 text-xs text-white/60">
590
+ <span>Progress:</span>
591
+ <div className="h-1 flex-1 rounded bg-white/20">
592
+ <div className="h-full w-2/3 rounded bg-purple-400"></div>
593
+ </div>
594
+ <span>67%</span>
595
+ </div>
596
+ </div>
597
+ <div className="rounded-lg bg-black/40 p-4">
598
+ <pre className="overflow-x-auto text-sm !text-green-300">
599
+ {`// Course library item
600
+ <div className="flex items-center gap-3">
601
+ <div className="w-12 h-12 bg-purple-500/20 rounded-lg flex items-center justify-center">
602
+ <VideoPlaylistIcon className="h-6 w-6 text-purple-400" />
603
+ </div>
604
+ <div className="flex-1">
605
+ <h4>React Fundamentals</h4>
606
+ <p>12 videos • 3.5 hours</p>
607
+ </div>
608
+ </div>`}
609
+ </pre>
610
+ </div>
611
+ </div>
612
+ </div>
613
+
614
+ {/* Video Collection */}
615
+ <div className="!space-y-4">
616
+ <h3 className="text-lg font-semibold !text-purple-300">
617
+ Video Collection
618
+ </h3>
619
+ <div className="!space-y-4">
620
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
621
+ <div className="grid grid-cols-1 gap-3 md:grid-cols-2">
622
+ <div className="rounded border border-white/10 bg-black/30 p-3">
623
+ <div className="mb-2 flex items-center gap-2">
624
+ <VideoPlaylistIcon className="h-4 w-4 text-purple-400" />
625
+ <span className="text-sm font-medium text-white">
626
+ My Favorites
627
+ </span>
628
+ </div>
629
+ <p className="text-xs text-white/60">24 videos</p>
630
+ </div>
631
+ <div className="rounded border border-white/10 bg-black/30 p-3">
632
+ <div className="mb-2 flex items-center gap-2">
633
+ <VideoPlaylistIcon className="h-4 w-4 text-indigo-400" />
634
+ <span className="text-sm font-medium text-white">
635
+ Watch Later
636
+ </span>
637
+ </div>
638
+ <p className="text-xs text-white/60">8 videos</p>
639
+ </div>
640
+ </div>
641
+ </div>
642
+ <div className="rounded-lg bg-black/40 p-4">
643
+ <pre className="overflow-x-auto text-sm !text-green-300">
644
+ {`// Video collection grid
645
+ <div className="flex items-center gap-2">
646
+ <VideoPlaylistIcon className="h-4 w-4 text-purple-400" />
647
+ <span className="text-sm font-medium text-white">My Favorites</span>
648
+ </div>`}
649
+ </pre>
650
+ </div>
651
+ </div>
652
+ </div>
653
+
654
+ {/* Navigation Menu */}
655
+ <div className="!space-y-4">
656
+ <h3 className="text-lg font-semibold !text-purple-300">
657
+ Navigation Menu
658
+ </h3>
659
+ <div className="!space-y-4">
660
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
661
+ <nav className="space-y-1">
662
+ <a
663
+ href="#"
664
+ className="flex items-center gap-3 rounded px-3 py-2 text-sm text-white hover:bg-white/10"
665
+ >
666
+ <span className="text-blue-400">🏠</span>
667
+ <span>Home</span>
668
+ </a>
669
+ <a
670
+ href="#"
671
+ className="flex items-center gap-3 rounded bg-purple-500/10 px-3 py-2 text-sm text-purple-400"
672
+ >
673
+ <VideoPlaylistIcon className="h-4 w-4" />
674
+ <span>Playlists</span>
675
+ </a>
676
+ <a
677
+ href="#"
678
+ className="flex items-center gap-3 rounded px-3 py-2 text-sm text-white hover:bg-white/10"
679
+ >
680
+ <span className="text-green-400">📚</span>
681
+ <span>Library</span>
682
+ </a>
683
+ </nav>
684
+ </div>
685
+ <div className="rounded-lg bg-black/40 p-4">
686
+ <pre className="overflow-x-auto text-sm !text-green-300">
687
+ {`// Navigation with active state
688
+ <a href="#" className="flex items-center gap-3 px-3 py-2 text-purple-400 bg-purple-500/10 rounded">
689
+ <VideoPlaylistIcon className="h-4 w-4" />
690
+ <span>Playlists</span>
691
+ </a>`}
692
+ </pre>
693
+ </div>
694
+ </div>
695
+ </div>
696
+ </div>
697
+ </div>
698
+
699
+ {/* Accessibility */}
700
+ <div className="!space-y-8">
701
+ <h2 className="text-center text-3xl font-bold !text-white">
702
+ Accessibility Features
703
+ </h2>
704
+ <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
705
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
706
+ <h3 className="text-lg font-semibold !text-green-300">
707
+ ✅ Built-in Features
708
+ </h3>
709
+ <ul className="!space-y-2 text-sm !text-white/70">
710
+ <li className="!text-white/70">
711
+ Uses Radix UI AccessibleIcon wrapper
712
+ </li>
713
+ <li className="!text-white/70">
714
+ Provides screen reader label "Video playlist icon"
715
+ </li>
716
+ <li className="!text-white/70">
717
+ Supports keyboard navigation when interactive
718
+ </li>
719
+ <li className="!text-white/70">
720
+ Maintains proper color contrast ratios
721
+ </li>
722
+ <li className="!text-white/70">
723
+ Scales with user's font size preferences
724
+ </li>
725
+ </ul>
726
+ </div>
727
+
728
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
729
+ <h3 className="text-lg font-semibold !text-purple-300">
730
+ 💡 Best Practices
731
+ </h3>
732
+ <ul className="!space-y-2 text-sm text-white/70">
733
+ <li className="!text-white/70">
734
+ Always pair with descriptive labels
735
+ </li>
736
+ <li className="!text-white/70">
737
+ Provide clear context for playlist content
738
+ </li>
739
+ <li className="!text-white/70">
740
+ Ensure sufficient color contrast
741
+ </li>
742
+ <li className="!text-white/70">
743
+ Add focus states for interactive elements
744
+ </li>
745
+ <li className="!text-white/70">
746
+ Consider providing video counts and duration
747
+ </li>
748
+ </ul>
749
+ </div>
750
+ </div>
751
+
752
+ <div className="rounded-lg border border-white/10 bg-white/5 p-6">
753
+ <h3 className="mb-4 text-lg font-semibold !text-purple-300">
754
+ Custom Accessibility Label
755
+ </h3>
756
+ <div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
757
+ <div className="rounded-lg bg-black/40 p-4">
758
+ <pre className="overflow-x-auto text-sm !text-blue-300">
759
+ {`// Custom implementation with specific label
760
+ import { AccessibleIcon } from "@radix-ui/react-accessible-icon"
761
+
762
+ function CustomVideoPlaylistIcon({ label = "Playlist", ...props }) {
763
+ return (
764
+ <AccessibleIcon label={label}>
765
+ <VideoPlaylistIcon {...props} />
766
+ </AccessibleIcon>
767
+ )
768
+ }
769
+
770
+ // Usage with specific context
771
+ <CustomVideoPlaylistIcon
772
+ label="Course video playlist"
773
+ className="h-4 w-4 text-purple-400"
774
+ />`}
775
+ </pre>
776
+ </div>
777
+ <div className="!space-y-4">
778
+ <p className="text-sm !text-white/70">
779
+ For specific contexts, you can wrap the
780
+ VideoPlaylistIcon with a custom AccessibleIcon component
781
+ that provides more descriptive labels.
782
+ </p>
783
+ <div className="rounded-lg border border-purple-500/20 bg-purple-500/10 p-4">
784
+ <div className="flex items-center gap-2 text-sm text-purple-200">
785
+ <VideoPlaylistIcon className="h-4 w-4" />
786
+ <span>
787
+ This approach gives screen readers more context
788
+ </span>
789
+ </div>
790
+ </div>
791
+ </div>
792
+ </div>
793
+ </div>
794
+ </div>
795
+
796
+ {/* Related Icons */}
797
+ <div className="!space-y-8">
798
+ <h2 className="text-center text-3xl font-bold !text-white">
799
+ Related Icons
800
+ </h2>
801
+ <div className="grid grid-cols-2 gap-6 md:grid-cols-4">
802
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
803
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-green-500/20">
804
+ <span className="text-2xl">▶️</span>
805
+ </div>
806
+ <div>
807
+ <div className="font-medium text-white">PlayIcon</div>
808
+ <div className="text-xs text-white/60">
809
+ Video playback
810
+ </div>
811
+ </div>
812
+ </div>
813
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
814
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-blue-500/20">
815
+ <span className="!text-2xl !text-white">⏸️</span>
816
+ </div>
817
+ <div>
818
+ <div className="font-medium text-white">PauseIcon</div>
819
+ <div className="text-xs text-white/60">
820
+ Pause playback
821
+ </div>
822
+ </div>
823
+ </div>
824
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
825
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-orange-500/20">
826
+ <span className="text-2xl">📹</span>
827
+ </div>
828
+ <div>
829
+ <div className="font-medium text-white">VideoIcon</div>
830
+ <div className="text-xs text-white/60">Video content</div>
831
+ </div>
832
+ </div>
833
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
834
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-red-500/20">
835
+ <span className="text-2xl">📚</span>
836
+ </div>
837
+ <div>
838
+ <div className="font-medium text-white">LibraryIcon</div>
839
+ <div className="text-xs text-white/60">Media library</div>
840
+ </div>
841
+ </div>
842
+ </div>
843
+ </div>
844
+ </div>
845
+
846
+ {/* Footer */}
847
+ <div className="border-t border-white/10 bg-black/20 backdrop-blur-xl">
848
+ <div className="!mx-auto max-w-7xl px-6 py-8">
849
+ <div className="!space-y-4 text-center">
850
+ <p className="!text-white/60">
851
+ VideoPlaylistIcon is part of the Aural UI icon library,
852
+ built with accessibility and consistency in mind.
853
+ </p>
854
+ <p className="text-sm !text-white/40">
855
+ All icons use Radix UI's AccessibleIcon for screen reader
856
+ compatibility and follow WCAG guidelines.
857
+ </p>
858
+ </div>
859
+ </div>
860
+ </div>
861
+ </div>
862
+ </>
863
+ ),
864
+ },
865
+ },
866
+ tags: ["autodocs"],
867
+ argTypes: {
868
+ width: {
869
+ control: { type: "range", min: 8, max: 96, step: 2 },
870
+ description: "Width of the icon in pixels",
871
+ },
872
+ height: {
873
+ control: { type: "range", min: 8, max: 96, step: 2 },
874
+ description: "Height of the icon in pixels",
875
+ },
876
+ stroke: {
877
+ control: "color",
878
+ description: "Stroke color of the icon",
879
+ },
880
+ className: {
881
+ control: "text",
882
+ description: "CSS classes for styling",
883
+ },
884
+ },
885
+ }
886
+
887
+ export default meta
888
+ type Story = StoryObj<typeof VideoPlaylistIcon>
889
+
890
+ // Story parameters for consistent dark theme
891
+ const storyParameters = {
892
+ backgrounds: {
893
+ default: "dark",
894
+ values: [
895
+ { name: "dark", value: "#0a0a0a" },
896
+ { name: "darker", value: "#000000" },
897
+ ],
898
+ },
899
+ }
900
+
901
+ export const Default: Story = {
902
+ args: {
903
+ width: 20,
904
+ height: 20,
905
+ className: "text-purple-400",
906
+ },
907
+ parameters: storyParameters,
908
+ render: (args) => (
909
+ <div className="flex h-32 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
910
+ <VideoPlaylistIcon {...args} />
911
+ </div>
912
+ ),
913
+ }
914
+
915
+ export const SizeVariations: Story = {
916
+ parameters: {
917
+ ...storyParameters,
918
+ docs: {
919
+ description: {
920
+ story:
921
+ "VideoPlaylistIcon in different sizes, from small UI elements to large displays.",
922
+ },
923
+ },
924
+ },
925
+ render: () => (
926
+ <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">
927
+ <div className="text-center">
928
+ <VideoPlaylistIcon className="!mx-auto mb-2 h-3 w-3 text-purple-400" />
929
+ <span className="text-xs text-white/60">12px</span>
930
+ </div>
931
+ <div className="text-center">
932
+ <VideoPlaylistIcon className="!mx-auto mb-2 h-4 w-4 text-purple-400" />
933
+ <span className="text-xs text-white/60">16px</span>
934
+ </div>
935
+ <div className="text-center">
936
+ <VideoPlaylistIcon className="!mx-auto mb-2 h-5 w-5 text-purple-400" />
937
+ <span className="text-xs text-white/60">20px</span>
938
+ </div>
939
+ <div className="text-center">
940
+ <VideoPlaylistIcon className="!mx-auto mb-2 h-6 w-6 text-purple-400" />
941
+ <span className="text-xs text-white/60">24px</span>
942
+ </div>
943
+ <div className="text-center">
944
+ <VideoPlaylistIcon className="!mx-auto mb-2 h-8 w-8 text-purple-400" />
945
+ <span className="text-xs text-white/60">32px</span>
946
+ </div>
947
+ <div className="text-center">
948
+ <VideoPlaylistIcon className="!mx-auto mb-2 h-12 w-12 text-purple-400" />
949
+ <span className="text-xs text-white/60">48px</span>
950
+ </div>
951
+ </div>
952
+ ),
953
+ }
954
+
955
+ export const ColorVariations: Story = {
956
+ parameters: {
957
+ ...storyParameters,
958
+ docs: {
959
+ description: {
960
+ story:
961
+ "VideoPlaylistIcon in different semantic colors for various media contexts.",
962
+ },
963
+ },
964
+ },
965
+ render: () => (
966
+ <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">
967
+ <div className="text-center">
968
+ <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-purple-500/30 bg-purple-500/20">
969
+ <VideoPlaylistIcon className="h-8 w-8 text-purple-400" />
970
+ </div>
971
+ <div className="text-sm font-medium text-white">Media</div>
972
+ <div className="text-xs text-purple-400">text-purple-400</div>
973
+ </div>
974
+ <div className="text-center">
975
+ <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">
976
+ <VideoPlaylistIcon className="h-8 w-8 text-indigo-400" />
977
+ </div>
978
+ <div className="text-sm font-medium text-white">Learning</div>
979
+ <div className="text-xs text-indigo-400">text-indigo-400</div>
980
+ </div>
981
+ <div className="text-center">
982
+ <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-violet-500/30 bg-violet-500/20">
983
+ <VideoPlaylistIcon className="h-8 w-8 text-violet-400" />
984
+ </div>
985
+ <div className="text-sm font-medium text-white">Creative</div>
986
+ <div className="text-xs text-violet-400">text-violet-400</div>
987
+ </div>
988
+ <div className="text-center">
989
+ <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-white/20 bg-white/5">
990
+ <VideoPlaylistIcon className="h-8 w-8 text-white/40" />
991
+ </div>
992
+ <div className="text-sm font-medium text-white">Disabled</div>
993
+ <div className="text-xs text-white/40">text-white/40</div>
994
+ </div>
995
+ </div>
996
+ ),
997
+ }
998
+
999
+ export const UsageExamples: Story = {
1000
+ parameters: {
1001
+ ...storyParameters,
1002
+ docs: {
1003
+ description: {
1004
+ story:
1005
+ "Real-world usage examples showing VideoPlaylistIcon in different UI contexts.",
1006
+ },
1007
+ },
1008
+ },
1009
+ render: () => (
1010
+ <div className="min-h-dvh !space-y-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
1011
+ {/* Media Player */}
1012
+ <div className="!space-y-2">
1013
+ <h3 className="text-sm font-medium text-white">Media Player</h3>
1014
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
1015
+ <div className="mb-4 flex items-center justify-between">
1016
+ <h4 className="text-sm font-medium !text-white">Video Player</h4>
1017
+ <button className="rounded-lg p-2 text-purple-400 transition-colors hover:bg-purple-500/20">
1018
+ <VideoPlaylistIcon className="h-4 w-4" />
1019
+ </button>
1020
+ </div>
1021
+ <div className="mb-3 flex aspect-video items-center justify-center rounded-lg bg-black/60">
1022
+ <div className="text-center">
1023
+ <div className="mb-2 flex h-16 w-16 items-center justify-center rounded-full bg-white/10">
1024
+ <span className="text-2xl">▶️</span>
1025
+ </div>
1026
+ <p className="text-sm text-white/60">Click to play</p>
1027
+ </div>
1028
+ </div>
1029
+ </div>
1030
+ </div>
1031
+
1032
+ {/* Course Library */}
1033
+ <div className="!space-y-2">
1034
+ <h3 className="text-sm font-medium text-white">Course Library</h3>
1035
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
1036
+ <div className="mb-3 flex items-center gap-3">
1037
+ <div className="flex h-12 w-12 items-center justify-center rounded-lg bg-purple-500/20">
1038
+ <VideoPlaylistIcon className="h-6 w-6 text-purple-400" />
1039
+ </div>
1040
+ <div className="flex-1">
1041
+ <h4 className="text-sm font-medium !text-white">
1042
+ React Fundamentals
1043
+ </h4>
1044
+ <p className="text-xs !text-white/60">12 videos • 3.5 hours</p>
1045
+ </div>
1046
+ <span className="rounded bg-purple-500/20 px-2 py-1 text-xs text-purple-400">
1047
+ Course
1048
+ </span>
1049
+ </div>
1050
+ </div>
1051
+ </div>
1052
+
1053
+ {/* Video Collection */}
1054
+ <div className="!space-y-2">
1055
+ <h3 className="text-sm font-medium text-white">Video Collection</h3>
1056
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
1057
+ <div className="grid grid-cols-1 gap-3 md:grid-cols-2">
1058
+ <div className="rounded border border-white/10 bg-black/30 p-3">
1059
+ <div className="mb-2 flex items-center gap-2">
1060
+ <VideoPlaylistIcon className="h-4 w-4 text-purple-400" />
1061
+ <span className="text-sm font-medium text-white">
1062
+ My Favorites
1063
+ </span>
1064
+ </div>
1065
+ <p className="text-xs text-white/60">24 videos</p>
1066
+ </div>
1067
+ <div className="rounded border border-white/10 bg-black/30 p-3">
1068
+ <div className="mb-2 flex items-center gap-2">
1069
+ <VideoPlaylistIcon className="h-4 w-4 text-indigo-400" />
1070
+ <span className="text-sm font-medium text-white">
1071
+ Watch Later
1072
+ </span>
1073
+ </div>
1074
+ <p className="text-xs text-white/60">8 videos</p>
1075
+ </div>
1076
+ </div>
1077
+ </div>
1078
+ </div>
1079
+ </div>
1080
+ ),
1081
+ }
1082
+
1083
+ export const Playground: Story = {
1084
+ parameters: {
1085
+ ...storyParameters,
1086
+ docs: {
1087
+ description: {
1088
+ story:
1089
+ "Interactive playground to experiment with different VideoPlaylistIcon configurations.",
1090
+ },
1091
+ },
1092
+ },
1093
+ args: {
1094
+ width: 32,
1095
+ height: 32,
1096
+ className: "text-purple-400",
1097
+ },
1098
+ render: (args) => (
1099
+ <div className="flex h-64 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
1100
+ <div className="rounded-lg border border-white/10 bg-white/5 p-8">
1101
+ <VideoPlaylistIcon {...args} />
1102
+ </div>
1103
+ </div>
1104
+ ),
1105
+ }