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,1144 @@
1
+ import React from "react"
2
+ import type { Meta, StoryObj } from "@storybook/react"
3
+
4
+ import { VolumeOffIcon } from "."
5
+
6
+ const meta: Meta<typeof VolumeOffIcon> = {
7
+ title: "Icons/VolumeOffIcon",
8
+ component: VolumeOffIcon,
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
+ `}
81
+ </style>
82
+
83
+ <div className="min-h-screen bg-gradient-to-br from-gray-900 via-slate-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-slate-500/10 via-transparent to-gray-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-slate-500/30 bg-gradient-to-br from-slate-500/20 to-gray-500/20">
90
+ <VolumeOffIcon className="h-12 w-12 text-slate-400" />
91
+ </div>
92
+ <h1 className="text-5xl font-bold !text-white">
93
+ VolumeOffIcon
94
+ </h1>
95
+ <p className="!mx-auto max-w-3xl text-xl leading-relaxed !text-white/70">
96
+ A muted audio control icon for media interfaces. Features
97
+ the classic speaker with crossed-out sound waves design,
98
+ essential for music players, video platforms, conference
99
+ calls, and any audio interface where users need to mute or
100
+ indicate disabled sound.
101
+ </p>
102
+
103
+ {/* Stats */}
104
+ <div className="flex items-center justify-center gap-8 pt-8">
105
+ <div className="text-center">
106
+ <div className="text-3xl font-bold text-slate-300">
107
+ Mute Audio
108
+ </div>
109
+ <div className="text-sm text-white/60">Silent mode</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-gray-300">
114
+ Accessible
115
+ </div>
116
+ <div className="text-sm text-white/60">
117
+ Screen reader friendly
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-zinc-300">
123
+ Universal
124
+ </div>
125
+ <div className="text-sm text-white/60">
126
+ Standard mute symbol
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-slate-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 { VolumeOffIcon } from "@icons/volume-off-icon"
149
+
150
+ function AudioControls() {
151
+ return (
152
+ <button
153
+ onClick={muteAudio}
154
+ className="p-2 hover:bg-white/10 rounded-lg"
155
+ aria-label="Mute audio"
156
+ >
157
+ <VolumeOffIcon className="h-6 w-6 text-slate-400" />
158
+ </button>
159
+ )
160
+ }`}
161
+ </pre>
162
+ </div>
163
+ </div>
164
+
165
+ <div className="!space-y-4">
166
+ <h3 className="text-xl font-semibold !text-slate-300">
167
+ Live Preview
168
+ </h3>
169
+ <div className="flex h-32 items-center justify-center rounded-lg border border-white/10 bg-white/5">
170
+ <button className="rounded-lg border border-slate-500/20 bg-slate-500/10 p-3 transition-colors hover:bg-slate-500/20">
171
+ <VolumeOffIcon className="h-6 w-6 text-slate-400" />
172
+ </button>
173
+ </div>
174
+ </div>
175
+ </div>
176
+ </div>
177
+
178
+ {/* Props Documentation */}
179
+ <div className="!space-y-8">
180
+ <h2 className="text-center text-3xl font-bold !text-white">
181
+ Props & Configuration
182
+ </h2>
183
+
184
+ <div className="overflow-hidden rounded-lg border border-white/10 bg-white/5">
185
+ <div className="bg-white/5 p-4">
186
+ <h3 className="text-xl font-semibold !text-white">Props</h3>
187
+ </div>
188
+ <table className="!my-0 w-full">
189
+ <thead className="bg-white/5">
190
+ <tr className="border-b border-white/10">
191
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
192
+ Prop
193
+ </th>
194
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
195
+ Type
196
+ </th>
197
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
198
+ Default
199
+ </th>
200
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
201
+ Description
202
+ </th>
203
+ </tr>
204
+ </thead>
205
+ <tbody>
206
+ <tr className="border-b border-white/5">
207
+ <td className="px-6 py-4 font-mono text-sm !text-slate-300">
208
+ width
209
+ </td>
210
+ <td className="px-6 py-4 text-sm !text-white/70">
211
+ number | string
212
+ </td>
213
+ <td className="px-6 py-4 text-sm !text-white/50">24</td>
214
+ <td className="px-6 py-4 text-sm !text-white/70">
215
+ Width of the icon in pixels
216
+ </td>
217
+ </tr>
218
+ <tr className="border-b border-white/5 !bg-black/10">
219
+ <td className="px-6 py-4 font-mono text-sm !text-slate-300">
220
+ height
221
+ </td>
222
+ <td className="px-6 py-4 text-sm !text-white/70">
223
+ number | string
224
+ </td>
225
+ <td className="px-6 py-4 text-sm !text-white/50">24</td>
226
+ <td className="px-6 py-4 text-sm !text-white/70">
227
+ Height of the icon in pixels
228
+ </td>
229
+ </tr>
230
+ <tr className="border-b border-white/5">
231
+ <td className="px-6 py-4 font-mono text-sm !text-slate-300">
232
+ stroke
233
+ </td>
234
+ <td className="px-6 py-4 text-sm !text-white/70">
235
+ string
236
+ </td>
237
+ <td className="px-6 py-4 text-sm !text-white/50">
238
+ currentColor
239
+ </td>
240
+ <td className="px-6 py-4 text-sm !text-white/70">
241
+ Stroke color of the icon
242
+ </td>
243
+ </tr>
244
+ <tr className="border-b border-white/5 !bg-black/10">
245
+ <td className="px-6 py-4 font-mono text-sm !text-slate-300">
246
+ strokeWidth
247
+ </td>
248
+ <td className="px-6 py-4 text-sm !text-white/70">
249
+ string | number
250
+ </td>
251
+ <td className="px-6 py-4 text-sm !text-white/50">
252
+ 1.5
253
+ </td>
254
+ <td className="px-6 py-4 text-sm !text-white/70">
255
+ Width of the stroke
256
+ </td>
257
+ </tr>
258
+ <tr className="border-b border-white/5">
259
+ <td className="px-6 py-4 font-mono text-sm !text-slate-300">
260
+ className
261
+ </td>
262
+ <td className="px-6 py-4 text-sm !text-white/70">
263
+ string
264
+ </td>
265
+ <td className="px-6 py-4 text-sm !text-white/50">-</td>
266
+ <td className="px-6 py-4 text-sm !text-white/70">
267
+ CSS classes for styling (use for overrides)
268
+ </td>
269
+ </tr>
270
+ <tr className="!bg-black/10">
271
+ <td className="px-6 py-4 font-mono text-sm !text-slate-300">
272
+ ...svgProps
273
+ </td>
274
+ <td className="px-6 py-4 text-sm !text-white/70">
275
+ SVGProps
276
+ </td>
277
+ <td className="px-6 py-4 text-sm !text-white/50">-</td>
278
+ <td className="px-6 py-4 text-sm !text-white/70">
279
+ All standard SVG element props
280
+ </td>
281
+ </tr>
282
+ </tbody>
283
+ </table>
284
+ </div>
285
+ </div>
286
+
287
+ {/* Size Variations */}
288
+ <div className="!space-y-8">
289
+ <h2 className="text-center text-3xl font-bold !text-white">
290
+ Size Variations
291
+ </h2>
292
+ <div className="rounded-lg border border-white/10 bg-white/5 p-8">
293
+ <div className="!space-y-6">
294
+ <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
295
+ <div className="!space-y-4">
296
+ <h3 className="text-lg font-semibold !text-slate-300">
297
+ Standard Sizes
298
+ </h3>
299
+ <div className="flex items-end gap-6 rounded-lg bg-black/20 p-6">
300
+ <div className="text-center">
301
+ <VolumeOffIcon className="!mx-auto mb-2 h-3 w-3 text-slate-400" />
302
+ <span className="text-xs text-white/60">12px</span>
303
+ </div>
304
+ <div className="text-center">
305
+ <VolumeOffIcon className="!mx-auto mb-2 h-4 w-4 text-slate-400" />
306
+ <span className="text-xs text-white/60">16px</span>
307
+ </div>
308
+ <div className="text-center">
309
+ <VolumeOffIcon className="!mx-auto mb-2 h-5 w-5 text-slate-400" />
310
+ <span className="text-xs text-white/60">20px</span>
311
+ </div>
312
+ <div className="text-center">
313
+ <VolumeOffIcon className="!mx-auto mb-2 h-6 w-6 text-slate-400" />
314
+ <span className="text-xs text-white/60">24px</span>
315
+ </div>
316
+ <div className="text-center">
317
+ <VolumeOffIcon className="!mx-auto mb-2 h-8 w-8 text-slate-400" />
318
+ <span className="text-xs text-white/60">32px</span>
319
+ </div>
320
+ <div className="text-center">
321
+ <VolumeOffIcon className="!mx-auto mb-2 h-12 w-12 text-slate-400" />
322
+ <span className="text-xs text-white/60">48px</span>
323
+ </div>
324
+ </div>
325
+ </div>
326
+
327
+ <div className="!space-y-4">
328
+ <h3 className="text-lg font-semibold !text-slate-300">
329
+ Code Example
330
+ </h3>
331
+ <div className="rounded-lg bg-black/40 p-4">
332
+ <pre className="overflow-x-auto text-sm !text-cyan-300">
333
+ {`// Small (16px) - compact interfaces
334
+ <VolumeOffIcon className="h-4 w-4" />
335
+
336
+ // Medium (24px) - standard controls
337
+ <VolumeOffIcon className="h-6 w-6" />
338
+
339
+ // Large (32px) - prominent displays
340
+ <VolumeOffIcon className="h-8 w-8" />
341
+
342
+ // Custom size
343
+ <VolumeOffIcon width={40} height={40} />`}
344
+ </pre>
345
+ </div>
346
+ </div>
347
+ </div>
348
+ </div>
349
+ </div>
350
+ </div>
351
+
352
+ {/* Color Variations */}
353
+ <div className="!space-y-8">
354
+ <h2 className="text-center text-3xl font-bold !text-white">
355
+ Color Variations
356
+ </h2>
357
+ <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
358
+ <div className="!space-y-4">
359
+ <h3 className="text-lg font-semibold !text-slate-300">
360
+ Semantic Colors
361
+ </h3>
362
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
363
+ <div className="flex items-center gap-4">
364
+ <VolumeOffIcon className="h-6 w-6 text-slate-400" />
365
+ <div>
366
+ <div className="text-sm font-medium text-white">
367
+ Muted
368
+ </div>
369
+ <div className="text-xs text-white/60">
370
+ text-slate-400
371
+ </div>
372
+ </div>
373
+ </div>
374
+ <div className="flex items-center gap-4">
375
+ <VolumeOffIcon className="h-6 w-6 text-gray-400" />
376
+ <div>
377
+ <div className="text-sm font-medium text-white">
378
+ Inactive
379
+ </div>
380
+ <div className="text-xs text-white/60">
381
+ text-gray-400
382
+ </div>
383
+ </div>
384
+ </div>
385
+ <div className="flex items-center gap-4">
386
+ <VolumeOffIcon className="h-6 w-6 text-zinc-400" />
387
+ <div>
388
+ <div className="text-sm font-medium text-white">
389
+ Neutral
390
+ </div>
391
+ <div className="text-xs text-white/60">
392
+ text-zinc-400
393
+ </div>
394
+ </div>
395
+ </div>
396
+ <div className="flex items-center gap-4">
397
+ <VolumeOffIcon className="h-6 w-6 text-red-400" />
398
+ <div>
399
+ <div className="text-sm font-medium text-white">
400
+ Disabled
401
+ </div>
402
+ <div className="text-xs text-white/60">
403
+ text-red-400
404
+ </div>
405
+ </div>
406
+ </div>
407
+ </div>
408
+ </div>
409
+
410
+ <div className="!space-y-4">
411
+ <h3 className="text-lg font-semibold !text-slate-300">
412
+ Custom Colors
413
+ </h3>
414
+ <div className="rounded-lg bg-black/40 p-4">
415
+ <pre className="overflow-x-auto text-sm !text-green-300">
416
+ {`// Using Tailwind classes
417
+ <VolumeOffIcon className="h-6 w-6 text-slate-400" />
418
+ <VolumeOffIcon className="h-6 w-6 text-gray-500" />
419
+
420
+ // Using CSS custom properties
421
+ <VolumeOffIcon
422
+ className="h-6 w-6"
423
+ style={{ color: 'var(--color-muted)' }}
424
+ />
425
+
426
+ // Direct stroke prop
427
+ <VolumeOffIcon
428
+ width={24}
429
+ height={24}
430
+ stroke="#64748b"
431
+ />`}
432
+ </pre>
433
+ </div>
434
+ </div>
435
+ </div>
436
+ </div>
437
+
438
+ {/* Usage Examples */}
439
+ <div className="!space-y-8">
440
+ <h2 className="text-center text-3xl font-bold !text-white">
441
+ Usage Examples
442
+ </h2>
443
+
444
+ <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
445
+ {/* Video Player */}
446
+ <div className="!space-y-4">
447
+ <h3 className="text-lg font-semibold !text-slate-300">
448
+ Video Player
449
+ </h3>
450
+ <div className="!space-y-4">
451
+ <div className="rounded-lg border border-white/10 bg-white/5 p-6">
452
+ <div className="mb-4 flex h-32 items-center justify-center rounded bg-gradient-to-r from-slate-500/20 to-gray-500/20">
453
+ <div className="text-sm text-white/40">
454
+ Video Content
455
+ </div>
456
+ </div>
457
+ <div className="flex items-center justify-between">
458
+ <div className="flex items-center gap-4">
459
+ <button className="rounded-lg p-2 transition-colors hover:bg-white/10">
460
+ <div className="h-6 w-6 rounded-full border border-white/60 bg-white/20" />
461
+ </button>
462
+ <button className="rounded-lg p-2 transition-colors hover:bg-white/10">
463
+ <div className="h-6 w-6 rounded-full border border-white/60 bg-white/20" />
464
+ </button>
465
+ <div className="text-sm text-white/60">
466
+ 00:42 / 03:28
467
+ </div>
468
+ </div>
469
+ <div className="flex items-center gap-2">
470
+ <button className="rounded-lg p-2 hover:bg-white/10">
471
+ <VolumeOffIcon className="h-5 w-5 text-slate-400" />
472
+ </button>
473
+ <button className="rounded p-1.5 hover:bg-white/10">
474
+ <div className="h-4 w-4 rounded-full border border-white/60 bg-white/20" />
475
+ </button>
476
+ </div>
477
+ </div>
478
+ </div>
479
+ <div className="rounded-lg bg-black/40 p-4">
480
+ <pre className="overflow-x-auto text-sm !text-green-300">
481
+ {`// Video player with mute control
482
+ <div className="video-controls">
483
+ <div className="playback-controls">
484
+ <PlayButton />
485
+ <SkipButton />
486
+ <TimeDisplay />
487
+ </div>
488
+ <div className="audio-controls">
489
+ <button
490
+ onClick={toggleMute}
491
+ aria-label={isMuted ? "Unmute" : "Mute"}
492
+ >
493
+ {isMuted ? (
494
+ <VolumeOffIcon className="h-5 w-5 text-slate-400" />
495
+ ) : (
496
+ <VolumeOnIcon className="h-5 w-5" />
497
+ )}
498
+ </button>
499
+ <VolumeSlider />
500
+ </div>
501
+ </div>`}
502
+ </pre>
503
+ </div>
504
+ </div>
505
+ </div>
506
+
507
+ {/* Conference Call */}
508
+ <div className="!space-y-4">
509
+ <h3 className="text-lg font-semibold !text-slate-300">
510
+ Conference Call
511
+ </h3>
512
+ <div className="!space-y-4">
513
+ <div className="rounded-lg border border-white/10 bg-white/5 p-6">
514
+ <div className="mb-4">
515
+ <div className="text-sm font-medium !text-white">
516
+ Team Meeting
517
+ </div>
518
+ <div className="text-xs !text-white/60">
519
+ 4 participants
520
+ </div>
521
+ </div>
522
+ <div className="mb-4 grid grid-cols-2 gap-3">
523
+ {[...Array(4)].map((_, i) => (
524
+ <div
525
+ key={i}
526
+ className="flex items-center gap-2 rounded bg-white/5 p-2"
527
+ >
528
+ <div className="h-8 w-8 rounded-full bg-gradient-to-br from-slate-400/20 to-gray-400/20" />
529
+ <div className="flex-1">
530
+ <div className="text-xs font-medium text-white">
531
+ User {i + 1}
532
+ </div>
533
+ <div className="text-xs text-white/50">
534
+ {i === 1 ? "Speaking..." : "Muted"}
535
+ </div>
536
+ </div>
537
+ {i === 1 ? (
538
+ <VolumeOffIcon className="h-4 w-4 text-slate-400" />
539
+ ) : (
540
+ <div className="h-4 w-4 rounded-full bg-slate-400/20" />
541
+ )}
542
+ </div>
543
+ ))}
544
+ </div>
545
+ <div className="flex justify-center gap-4">
546
+ <button className="rounded-lg border border-red-500/30 bg-red-500/20 p-3 hover:bg-red-500/30">
547
+ <VolumeOffIcon className="h-6 w-6 text-red-400" />
548
+ </button>
549
+ <button className="rounded-lg border border-white/20 bg-white/10 p-3 hover:bg-white/20">
550
+ <div className="h-6 w-6 rounded-full border border-white/60 bg-white/20" />
551
+ </button>
552
+ <button className="rounded-lg bg-red-500 p-3 hover:bg-red-600">
553
+ <div className="h-6 w-6 rounded-full border border-white bg-red-600" />
554
+ </button>
555
+ </div>
556
+ </div>
557
+ <div className="rounded-lg bg-black/40 p-4">
558
+ <pre className="overflow-x-auto text-sm !text-green-300">
559
+ {`// Conference call interface
560
+ <div className="call-controls">
561
+ <button
562
+ onClick={toggleMicrophone}
563
+ className={isMicMuted ? "muted" : "active"}
564
+ aria-label={isMicMuted ? "Unmute microphone" : "Mute microphone"}
565
+ >
566
+ {isMicMuted ? (
567
+ <VolumeOffIcon className="h-6 w-6 text-red-400" />
568
+ ) : (
569
+ <MicrophoneIcon className="h-6 w-6" />
570
+ )}
571
+ </button>
572
+ <CameraButton />
573
+ <HangUpButton />
574
+ </div>`}
575
+ </pre>
576
+ </div>
577
+ </div>
578
+ </div>
579
+
580
+ {/* Music Player */}
581
+ <div className="!space-y-4">
582
+ <h3 className="text-lg font-semibold !text-slate-300">
583
+ Music Player
584
+ </h3>
585
+ <div className="!space-y-4">
586
+ <div className="rounded-lg border border-white/10 bg-white/5 p-6">
587
+ <div className="mb-4 flex items-center gap-3">
588
+ <div className="h-12 w-12 rounded-lg bg-gradient-to-br from-slate-500/20 to-gray-500/20" />
589
+ <div>
590
+ <div className="text-sm font-medium !text-white">
591
+ Silent Night
592
+ </div>
593
+ <div className="text-xs !text-white/60">
594
+ Relaxing Sounds
595
+ </div>
596
+ </div>
597
+ </div>
598
+ <div className="mb-4 flex items-center justify-center gap-4">
599
+ <button className="rounded-lg p-2 transition-colors hover:bg-white/10">
600
+ <div className="h-6 w-6 rounded-full border border-white/60 bg-white/20" />
601
+ </button>
602
+ <button className="rounded-lg p-3 transition-colors hover:bg-white/10">
603
+ <div className="h-8 w-8 rounded-full border-2 border-white/60 bg-white/20" />
604
+ </button>
605
+ <button className="rounded-lg p-2 transition-colors hover:bg-white/10">
606
+ <div className="h-6 w-6 rounded-full border border-white/60 bg-white/20" />
607
+ </button>
608
+ </div>
609
+ <div className="flex items-center justify-between">
610
+ <div className="text-xs text-white/60">2:34</div>
611
+ <div className="flex items-center gap-2">
612
+ <VolumeOffIcon className="h-4 w-4 text-slate-400" />
613
+ <div className="h-1 w-20 rounded-full bg-white/20">
614
+ <div className="h-full w-0 rounded-full bg-slate-400" />
615
+ </div>
616
+ </div>
617
+ <div className="text-xs text-white/60">4:12</div>
618
+ </div>
619
+ </div>
620
+ <div className="rounded-lg bg-black/40 p-4">
621
+ <pre className="overflow-x-auto text-sm !text-green-300">
622
+ {`// Music player with volume control
623
+ <div className="player-interface">
624
+ <div className="track-controls">
625
+ <SkipBackwardIcon />
626
+ <PlayPauseButton />
627
+ <SkipForwardIcon />
628
+ </div>
629
+ <div className="volume-section">
630
+ <button onClick={toggleMute}>
631
+ {volume === 0 ? (
632
+ <VolumeOffIcon className="h-4 w-4 text-slate-400" />
633
+ ) : (
634
+ <VolumeOnIcon className="h-4 w-4" />
635
+ )}
636
+ </button>
637
+ <VolumeSlider value={volume} onChange={setVolume} />
638
+ </div>
639
+ </div>`}
640
+ </pre>
641
+ </div>
642
+ </div>
643
+ </div>
644
+
645
+ {/* System Settings */}
646
+ <div className="!space-y-4">
647
+ <h3 className="text-lg font-semibold !text-slate-300">
648
+ System Settings
649
+ </h3>
650
+ <div className="!space-y-4">
651
+ <div className="rounded-lg border border-white/10 bg-white/5 p-6">
652
+ <div className="!space-y-4">
653
+ <div>
654
+ <h4 className="mb-2 text-sm font-medium text-white">
655
+ Audio Settings
656
+ </h4>
657
+ <div className="space-y-3">
658
+ <div className="flex items-center justify-between">
659
+ <div className="flex items-center gap-3">
660
+ <VolumeOffIcon className="h-5 w-5 text-slate-400" />
661
+ <div>
662
+ <div className="text-sm text-white">
663
+ System Sounds
664
+ </div>
665
+ <div className="text-xs text-white/60">
666
+ Muted
667
+ </div>
668
+ </div>
669
+ </div>
670
+ <button className="relative h-6 w-10 rounded-full bg-slate-600">
671
+ <div className="absolute top-1 left-1 h-4 w-4 rounded-full bg-white transition-transform" />
672
+ </button>
673
+ </div>
674
+ <div className="flex items-center justify-between">
675
+ <div className="flex items-center gap-3">
676
+ <div className="h-5 w-5 rounded-full border border-white/60 bg-white/20" />
677
+ <div>
678
+ <div className="text-sm text-white">
679
+ Notifications
680
+ </div>
681
+ <div className="text-xs text-white/60">
682
+ Enabled
683
+ </div>
684
+ </div>
685
+ </div>
686
+ <button className="relative h-6 w-10 rounded-full bg-blue-500">
687
+ <div className="absolute top-1 right-1 h-4 w-4 rounded-full bg-white transition-transform" />
688
+ </button>
689
+ </div>
690
+ <div className="flex items-center justify-between">
691
+ <div className="flex items-center gap-3">
692
+ <VolumeOffIcon className="h-5 w-5 text-red-400" />
693
+ <div>
694
+ <div className="text-sm text-white">
695
+ Microphone
696
+ </div>
697
+ <div className="text-xs text-white/60">
698
+ Disabled
699
+ </div>
700
+ </div>
701
+ </div>
702
+ <button className="relative h-6 w-10 rounded-full bg-red-600">
703
+ <div className="absolute top-1 left-1 h-4 w-4 rounded-full bg-white transition-transform" />
704
+ </button>
705
+ </div>
706
+ </div>
707
+ </div>
708
+ </div>
709
+ </div>
710
+ <div className="rounded-lg bg-black/40 p-4">
711
+ <pre className="overflow-x-auto text-sm !text-green-300">
712
+ {`// System settings with audio controls
713
+ <div className="settings-section">
714
+ <h3>Audio Settings</h3>
715
+ <div className="setting-item">
716
+ <div className="setting-info">
717
+ <VolumeOffIcon className="h-5 w-5 text-slate-400" />
718
+ <div>
719
+ <div>System Sounds</div>
720
+ <div className="subtitle">Muted</div>
721
+ </div>
722
+ </div>
723
+ <Toggle
724
+ checked={!systemSoundsMuted}
725
+ onChange={toggleSystemSounds}
726
+ />
727
+ </div>
728
+ </div>`}
729
+ </pre>
730
+ </div>
731
+ </div>
732
+ </div>
733
+ </div>
734
+ </div>
735
+
736
+ {/* Accessibility */}
737
+ <div className="!space-y-8">
738
+ <h2 className="text-center text-3xl font-bold !text-white">
739
+ Accessibility Features
740
+ </h2>
741
+ <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
742
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
743
+ <h3 className="text-lg font-semibold !text-green-300">
744
+ ✅ Built-in Features
745
+ </h3>
746
+ <ul className="!space-y-2 text-sm !text-white/70">
747
+ <li className="!text-white/70">
748
+ Uses Radix UI AccessibleIcon wrapper
749
+ </li>
750
+ <li className="!text-white/70">
751
+ Provides screen reader label "Volume off icon"
752
+ </li>
753
+ <li className="!text-white/70">
754
+ Supports keyboard navigation when interactive
755
+ </li>
756
+ <li className="!text-white/70">
757
+ Maintains proper color contrast ratios
758
+ </li>
759
+ <li className="!text-white/70">
760
+ Scales with user's font size preferences
761
+ </li>
762
+ </ul>
763
+ </div>
764
+
765
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
766
+ <h3 className="text-lg font-semibold !text-slate-300">
767
+ 💡 Best Practices
768
+ </h3>
769
+ <ul className="!space-y-2 text-sm text-white/70">
770
+ <li className="!text-white/70">
771
+ Always provide descriptive aria-labels for mute buttons
772
+ </li>
773
+ <li className="!text-white/70">
774
+ Use consistent placement in audio control groups
775
+ </li>
776
+ <li className="!text-white/70">
777
+ Ensure sufficient touch target size (44px minimum)
778
+ </li>
779
+ <li className="!text-white/70">
780
+ Provide visible focus states for keyboard users
781
+ </li>
782
+ <li className="!text-white/70">
783
+ Consider keyboard shortcuts (e.g., M key for mute)
784
+ </li>
785
+ </ul>
786
+ </div>
787
+ </div>
788
+
789
+ <div className="rounded-lg border border-white/10 bg-white/5 p-6">
790
+ <h3 className="mb-4 text-lg font-semibold !text-gray-300">
791
+ Proper ARIA Implementation
792
+ </h3>
793
+ <div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
794
+ <div className="rounded-lg bg-black/40 p-4">
795
+ <pre className="overflow-x-auto text-sm !text-cyan-300">
796
+ {`// Mute button with proper ARIA
797
+ <button
798
+ aria-label={isMuted ? "Unmute audio" : "Mute audio"}
799
+ aria-pressed={isMuted}
800
+ className="p-2 hover:bg-white/10 rounded-lg"
801
+ onClick={toggleMute}
802
+ >
803
+ {isMuted ? (
804
+ <VolumeOffIcon className="h-6 w-6 text-slate-400" />
805
+ ) : (
806
+ <VolumeOnIcon className="h-6 w-6" />
807
+ )}
808
+ </button>
809
+
810
+ // Conference call microphone control
811
+ <button
812
+ aria-label={isMicMuted ? "Unmute microphone" : "Mute microphone"}
813
+ aria-describedby="mic-status"
814
+ onClick={toggleMicrophone}
815
+ >
816
+ <VolumeOffIcon className="h-6 w-6" />
817
+ </button>
818
+ <div id="mic-status" className="sr-only">
819
+ Microphone is {isMicMuted ? "muted" : "active"}
820
+ </div>
821
+
822
+ // Volume control with live region
823
+ <div className="volume-controls">
824
+ <button onClick={toggleMute}>
825
+ <VolumeOffIcon className="h-5 w-5" />
826
+ </button>
827
+ <div
828
+ role="slider"
829
+ aria-label="Volume"
830
+ aria-valuemin="0"
831
+ aria-valuemax="100"
832
+ aria-valuenow={volume}
833
+ />
834
+ <div aria-live="polite" className="sr-only">
835
+ Volume {volume === 0 ? "muted" : \`\${volume}%\`}
836
+ </div>
837
+ </div>`}
838
+ </pre>
839
+ </div>
840
+ <div className="!space-y-4">
841
+ <p className="text-sm !text-white/70">
842
+ When using VolumeOffIcon for audio controls, always
843
+ provide clear context about the current mute state and
844
+ what the action will do.
845
+ </p>
846
+ <div className="rounded-lg border border-slate-500/20 bg-slate-500/10 p-4">
847
+ <div className="flex items-center gap-2 text-sm text-slate-200">
848
+ <VolumeOffIcon className="h-4 w-4" />
849
+ <span>
850
+ Screen readers need context about mute vs unmute
851
+ state
852
+ </span>
853
+ </div>
854
+ </div>
855
+ </div>
856
+ </div>
857
+ </div>
858
+ </div>
859
+
860
+ {/* Related Icons */}
861
+ <div className="!space-y-8">
862
+ <h2 className="text-center text-3xl font-bold !text-white">
863
+ Related Icons
864
+ </h2>
865
+ <div className="grid grid-cols-2 gap-6 md:grid-cols-4">
866
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
867
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-green-500/20">
868
+ <span className="!text-2xl !text-white">🔊</span>
869
+ </div>
870
+ <div>
871
+ <div className="font-medium text-white">VolumeOnIcon</div>
872
+ <div className="text-xs text-white/60">Audio enabled</div>
873
+ </div>
874
+ </div>
875
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
876
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-blue-500/20">
877
+ <span className="!text-2xl !text-white">🎵</span>
878
+ </div>
879
+ <div>
880
+ <div className="font-medium text-white">MusicIcon</div>
881
+ <div className="text-xs text-white/60">Audio content</div>
882
+ </div>
883
+ </div>
884
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
885
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-purple-500/20">
886
+ <span className="!text-2xl !text-white">🎙️</span>
887
+ </div>
888
+ <div>
889
+ <div className="font-medium text-white">
890
+ MicrophoneIcon
891
+ </div>
892
+ <div className="text-xs text-white/60">Input audio</div>
893
+ </div>
894
+ </div>
895
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
896
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-orange-500/20">
897
+ <span className="!text-2xl !text-white">🎧</span>
898
+ </div>
899
+ <div>
900
+ <div className="font-medium text-white">
901
+ HeadphonesIcon
902
+ </div>
903
+ <div className="text-xs text-white/60">Audio output</div>
904
+ </div>
905
+ </div>
906
+ </div>
907
+ </div>
908
+ </div>
909
+
910
+ {/* Footer */}
911
+ <div className="border-t border-white/10 bg-black/20 backdrop-blur-xl">
912
+ <div className="!mx-auto max-w-7xl px-6 py-8">
913
+ <div className="!space-y-4 text-center">
914
+ <p className="!text-white/60">
915
+ VolumeOffIcon is part of the Aural UI icon library, built
916
+ with accessibility and audio control best practices in mind.
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 media controls.
921
+ </p>
922
+ </div>
923
+ </div>
924
+ </div>
925
+ </div>
926
+ </>
927
+ ),
928
+ },
929
+ },
930
+ tags: ["autodocs"],
931
+ argTypes: {
932
+ width: {
933
+ control: { type: "range", min: 8, max: 96, step: 2 },
934
+ description: "Width of the icon in pixels",
935
+ },
936
+ height: {
937
+ control: { type: "range", min: 8, max: 96, step: 2 },
938
+ description: "Height of the icon in pixels",
939
+ },
940
+ stroke: {
941
+ control: "color",
942
+ description: "Stroke color of the icon",
943
+ },
944
+ strokeWidth: {
945
+ control: { type: "range", min: 0.5, max: 4, step: 0.5 },
946
+ description: "Width of the stroke",
947
+ },
948
+ className: {
949
+ control: "text",
950
+ description: "CSS classes for styling (use for overrides)",
951
+ },
952
+ onClick: {
953
+ action: "clicked",
954
+ description: "Click handler for interactive use",
955
+ },
956
+ },
957
+ }
958
+
959
+ export default meta
960
+ type Story = StoryObj<typeof VolumeOffIcon>
961
+
962
+ // Story parameters for consistent dark theme
963
+ const storyParameters = {
964
+ backgrounds: {
965
+ default: "dark",
966
+ values: [
967
+ { name: "dark", value: "#0a0a0a" },
968
+ { name: "darker", value: "#000000" },
969
+ ],
970
+ },
971
+ }
972
+
973
+ export const Default: Story = {
974
+ args: {
975
+ className: "h-8 w-8 text-slate-400",
976
+ },
977
+ parameters: storyParameters,
978
+ render: (args) => (
979
+ <div className="flex h-32 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
980
+ <VolumeOffIcon {...args} />
981
+ </div>
982
+ ),
983
+ }
984
+
985
+ export const SizeVariations: Story = {
986
+ parameters: {
987
+ ...storyParameters,
988
+ docs: {
989
+ description: {
990
+ story:
991
+ "VolumeOffIcon in different sizes, from small interface elements to large audio displays.",
992
+ },
993
+ },
994
+ },
995
+ render: () => (
996
+ <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">
997
+ <div className="text-center">
998
+ <VolumeOffIcon className="!mx-auto mb-2 h-3 w-3 text-slate-400" />
999
+ <span className="text-xs text-white/60">12px</span>
1000
+ </div>
1001
+ <div className="text-center">
1002
+ <VolumeOffIcon className="!mx-auto mb-2 h-4 w-4 text-slate-400" />
1003
+ <span className="text-xs text-white/60">16px</span>
1004
+ </div>
1005
+ <div className="text-center">
1006
+ <VolumeOffIcon className="!mx-auto mb-2 h-5 w-5 text-slate-400" />
1007
+ <span className="text-xs text-white/60">20px</span>
1008
+ </div>
1009
+ <div className="text-center">
1010
+ <VolumeOffIcon className="!mx-auto mb-2 h-6 w-6 text-slate-400" />
1011
+ <span className="text-xs text-white/60">24px</span>
1012
+ </div>
1013
+ <div className="text-center">
1014
+ <VolumeOffIcon className="!mx-auto mb-2 h-8 w-8 text-slate-400" />
1015
+ <span className="text-xs text-white/60">32px</span>
1016
+ </div>
1017
+ <div className="text-center">
1018
+ <VolumeOffIcon className="!mx-auto mb-2 h-12 w-12 text-slate-400" />
1019
+ <span className="text-xs text-white/60">48px</span>
1020
+ </div>
1021
+ </div>
1022
+ ),
1023
+ }
1024
+
1025
+ export const ColorVariations: Story = {
1026
+ parameters: {
1027
+ ...storyParameters,
1028
+ docs: {
1029
+ description: {
1030
+ story:
1031
+ "VolumeOffIcon in different semantic colors for various mute states.",
1032
+ },
1033
+ },
1034
+ },
1035
+ render: () => (
1036
+ <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">
1037
+ <div className="text-center">
1038
+ <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-slate-500/30 bg-slate-500/20">
1039
+ <VolumeOffIcon className="h-8 w-8 text-slate-400" />
1040
+ </div>
1041
+ <div className="text-sm font-medium text-white">Muted</div>
1042
+ <div className="text-xs text-slate-400">text-slate-400</div>
1043
+ </div>
1044
+ <div className="text-center">
1045
+ <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">
1046
+ <VolumeOffIcon className="h-8 w-8 text-gray-400" />
1047
+ </div>
1048
+ <div className="text-sm font-medium text-white">Inactive</div>
1049
+ <div className="text-xs text-gray-400">text-gray-400</div>
1050
+ </div>
1051
+ <div className="text-center">
1052
+ <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-zinc-500/30 bg-zinc-500/20">
1053
+ <VolumeOffIcon className="h-8 w-8 text-zinc-400" />
1054
+ </div>
1055
+ <div className="text-sm font-medium text-white">Neutral</div>
1056
+ <div className="text-xs text-zinc-400">text-zinc-400</div>
1057
+ </div>
1058
+ <div className="text-center">
1059
+ <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-red-500/30 bg-red-500/20">
1060
+ <VolumeOffIcon className="h-8 w-8 text-red-400" />
1061
+ </div>
1062
+ <div className="text-sm font-medium text-white">Disabled</div>
1063
+ <div className="text-xs text-red-400">text-red-400</div>
1064
+ </div>
1065
+ </div>
1066
+ ),
1067
+ }
1068
+
1069
+ export const UsageExamples: Story = {
1070
+ parameters: {
1071
+ ...storyParameters,
1072
+ docs: {
1073
+ description: {
1074
+ story:
1075
+ "Real-world usage examples showing VolumeOffIcon in different audio control contexts.",
1076
+ },
1077
+ },
1078
+ },
1079
+ render: () => (
1080
+ <div className="min-h-dvh !space-y-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
1081
+ {/* Video Player */}
1082
+ <div className="!space-y-2">
1083
+ <h3 className="text-sm font-medium text-white">Video Player</h3>
1084
+ <div className="rounded-lg border border-white/10 bg-white/5 p-6">
1085
+ <div className="mb-4 flex h-32 items-center justify-center rounded bg-gradient-to-r from-slate-500/20 to-gray-500/20">
1086
+ <div className="text-sm text-white/40">Video Content</div>
1087
+ </div>
1088
+ <div className="flex items-center justify-between">
1089
+ <div className="flex items-center gap-4">
1090
+ <button className="rounded-lg p-2 transition-colors hover:bg-white/10">
1091
+ <div className="h-6 w-6 rounded-full border border-white/60 bg-white/20" />
1092
+ </button>
1093
+ <div className="text-sm text-white/60">00:42 / 03:28</div>
1094
+ </div>
1095
+ <div className="flex items-center gap-2">
1096
+ <button className="rounded-lg p-2 hover:bg-white/10">
1097
+ <VolumeOffIcon className="h-5 w-5 text-slate-400" />
1098
+ </button>
1099
+ </div>
1100
+ </div>
1101
+ </div>
1102
+ </div>
1103
+
1104
+ {/* Conference Call */}
1105
+ <div className="!space-y-2">
1106
+ <h3 className="text-sm font-medium text-white">Conference Call</h3>
1107
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
1108
+ <div className="flex justify-center gap-4">
1109
+ <button className="rounded-lg border border-red-500/30 bg-red-500/20 p-3 hover:bg-red-500/30">
1110
+ <VolumeOffIcon className="h-6 w-6 text-red-400" />
1111
+ </button>
1112
+ <button className="rounded-lg border border-white/20 bg-white/10 p-3 hover:bg-white/20">
1113
+ <div className="h-6 w-6 rounded-full border border-white/60 bg-white/20" />
1114
+ </button>
1115
+ </div>
1116
+ </div>
1117
+ </div>
1118
+ </div>
1119
+ ),
1120
+ }
1121
+
1122
+ export const Playground: Story = {
1123
+ parameters: {
1124
+ ...storyParameters,
1125
+ docs: {
1126
+ description: {
1127
+ story:
1128
+ "Interactive playground to experiment with different VolumeOffIcon configurations.",
1129
+ },
1130
+ },
1131
+ },
1132
+ args: {
1133
+ width: 24,
1134
+ height: 24,
1135
+ className: "text-slate-400",
1136
+ },
1137
+ render: (args) => (
1138
+ <div className="flex h-64 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
1139
+ <div className="rounded-lg border border-white/10 bg-white/5 p-8">
1140
+ <VolumeOffIcon {...args} />
1141
+ </div>
1142
+ </div>
1143
+ ),
1144
+ }