aural-ui 2.1.0 → 2.1.1

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 (88) hide show
  1. package/dist/icons/apple-logo-icon/AppleLogoIcon.stories.tsx +952 -0
  2. package/dist/icons/apple-logo-icon/index.tsx +26 -0
  3. package/dist/icons/apple-logo-icon/meta.ts +8 -0
  4. package/dist/icons/arrow-left-icon/ArrowLeftIcon.stories.tsx +1008 -0
  5. package/dist/icons/arrow-left-icon/index.tsx +24 -0
  6. package/dist/icons/arrow-left-icon/meta.ts +8 -0
  7. package/dist/icons/backward-ten-seconds-icon/BackwardTenSecondsIcon.stories.tsx +1050 -0
  8. package/dist/icons/backward-ten-seconds-icon/index.tsx +35 -0
  9. package/dist/icons/backward-ten-seconds-icon/meta.ts +8 -0
  10. package/dist/icons/camera-icon/CameraIcon.stories.tsx +1271 -0
  11. package/dist/icons/camera-icon/index.tsx +22 -0
  12. package/dist/icons/camera-icon/meta.ts +8 -0
  13. package/dist/icons/coin-icon/CoinIcon.stories.tsx +1382 -0
  14. package/dist/icons/coin-icon/index.tsx +36 -0
  15. package/dist/icons/coin-icon/meta.ts +8 -0
  16. package/dist/icons/email-icon/EmailIcon.stories.tsx +995 -0
  17. package/dist/icons/email-icon/index.tsx +22 -0
  18. package/dist/icons/email-icon/meta.ts +8 -0
  19. package/dist/icons/expand-icon/ExpandIcon.stories.tsx +1167 -0
  20. package/dist/icons/expand-icon/index.tsx +22 -0
  21. package/dist/icons/expand-icon/meta.ts +8 -0
  22. package/dist/icons/forward-ten-seconds-icon/ForwardTenSecondsIcon.stories.tsx +1054 -0
  23. package/dist/icons/forward-ten-seconds-icon/index.tsx +33 -0
  24. package/dist/icons/forward-ten-seconds-icon/meta.ts +8 -0
  25. package/dist/icons/google-logo-icon/GoogleLogoIcon.stories.tsx +1004 -0
  26. package/dist/icons/google-logo-icon/index.tsx +34 -0
  27. package/dist/icons/google-logo-icon/meta.ts +8 -0
  28. package/dist/icons/heart-icon/HeartIcon.stories.tsx +1080 -0
  29. package/dist/icons/heart-icon/index.tsx +21 -0
  30. package/dist/icons/heart-icon/meta.ts +8 -0
  31. package/dist/icons/index.ts +32 -4
  32. package/dist/icons/indian-flag-icon/IndianFlagIcon.stories.tsx +1020 -0
  33. package/dist/icons/indian-flag-icon/index.tsx +46 -0
  34. package/dist/icons/indian-flag-icon/meta.ts +8 -0
  35. package/dist/icons/instagram-icon/InstagramIcon.stories.tsx +1449 -0
  36. package/dist/icons/instagram-icon/index.tsx +17 -0
  37. package/dist/icons/instagram-icon/meta.ts +8 -0
  38. package/dist/icons/linked-in-icon/LinkedInIcon.stories.tsx +1582 -0
  39. package/dist/icons/linked-in-icon/index.tsx +17 -0
  40. package/dist/icons/linked-in-icon/meta.ts +8 -0
  41. package/dist/icons/minimize-icon/MinimizeIcon.stories.tsx +1214 -0
  42. package/dist/icons/minimize-icon/index.tsx +22 -0
  43. package/dist/icons/minimize-icon/meta.ts +8 -0
  44. package/dist/icons/pause-icon/PauseIcon.stories.tsx +1060 -0
  45. package/dist/icons/pause-icon/index.tsx +30 -0
  46. package/dist/icons/pause-icon/meta.ts +8 -0
  47. package/dist/icons/share-icon/ShareIcon.stories.tsx +1081 -0
  48. package/dist/icons/share-icon/index.tsx +22 -0
  49. package/dist/icons/share-icon/meta.ts +8 -0
  50. package/dist/icons/skip-backward-icon/SkipBackwardIcon.stories.tsx +1047 -0
  51. package/dist/icons/skip-backward-icon/index.tsx +29 -0
  52. package/dist/icons/skip-backward-icon/meta.ts +8 -0
  53. package/dist/icons/skip-forward-icon/SkipForwardIcon.stories.tsx +1049 -0
  54. package/dist/icons/skip-forward-icon/index.tsx +29 -0
  55. package/dist/icons/skip-forward-icon/meta.ts +8 -0
  56. package/dist/icons/store-coin-icon/StoreCoinIcon.stories.tsx +1020 -0
  57. package/dist/icons/store-coin-icon/index.tsx +35 -0
  58. package/dist/icons/store-coin-icon/meta.ts +8 -0
  59. package/dist/icons/threads-icon/ThreadsIcon.stories.tsx +1489 -0
  60. package/dist/icons/threads-icon/index.tsx +17 -0
  61. package/dist/icons/threads-icon/meta.ts +8 -0
  62. package/dist/icons/twitter-x-icon/TwitterXIcon.stories.tsx +1463 -0
  63. package/dist/icons/twitter-x-icon/index.tsx +17 -0
  64. package/dist/icons/twitter-x-icon/meta.ts +8 -0
  65. package/dist/icons/video-play-list-icon/VideoPlaylistIcon.stories.tsx +1105 -0
  66. package/dist/icons/video-play-list-icon/index.tsx +22 -0
  67. package/dist/icons/video-play-list-icon/meta.ts +8 -0
  68. package/dist/icons/voice-playing-icon/VoicePlayingIcon.stories.tsx +1416 -0
  69. package/dist/icons/voice-playing-icon/index.tsx +24 -0
  70. package/dist/icons/voice-playing-icon/meta.ts +8 -0
  71. package/dist/icons/volume-full-icon/VolumeFullIcon.stories.tsx +1230 -0
  72. package/dist/icons/volume-full-icon/index.tsx +25 -0
  73. package/dist/icons/volume-full-icon/meta.ts +8 -0
  74. package/dist/icons/volume-half-icon/VolumeHalfIcon.stories.tsx +1153 -0
  75. package/dist/icons/volume-half-icon/index.tsx +25 -0
  76. package/dist/icons/volume-half-icon/meta.ts +8 -0
  77. package/dist/icons/volume-off-icon/VolumeOffIcon.stories.tsx +1144 -0
  78. package/dist/icons/volume-off-icon/index.tsx +26 -0
  79. package/dist/icons/volume-off-icon/meta.ts +8 -0
  80. package/dist/icons/warning-icon/WarningIcon.stories.tsx +1106 -0
  81. package/dist/icons/warning-icon/index.tsx +27 -0
  82. package/dist/icons/warning-icon/meta.ts +8 -0
  83. package/dist/icons/youtube-icon/YoutubeIcon.stories.tsx +996 -0
  84. package/dist/icons/youtube-icon/index.tsx +24 -0
  85. package/dist/icons/youtube-icon/meta.ts +8 -0
  86. package/dist/index.js +1 -1
  87. package/dist/styles/aural-theme.css +9 -0
  88. package/package.json +1 -1
@@ -0,0 +1,1080 @@
1
+ import React from "react"
2
+ import type { Meta, StoryObj } from "@storybook/react"
3
+
4
+ import { HeartIcon } from "."
5
+
6
+ const meta: Meta<typeof HeartIcon> = {
7
+ title: "Icons/HeartIcon",
8
+ component: HeartIcon,
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-red-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-red-500/10 via-transparent to-pink-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-red-500/30 bg-gradient-to-br from-red-500/20 to-pink-500/20">
90
+ <HeartIcon className="h-12 w-12 text-red-400" />
91
+ </div>
92
+ <h1 className="!text-fm-primary text-5xl font-bold">
93
+ HeartIcon
94
+ </h1>
95
+ <p className="!mx-auto max-w-3xl text-xl leading-relaxed !text-white/70">
96
+ A versatile heart icon for like buttons, favorites, and
97
+ expressing positive emotions. 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-red-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-pink-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-rose-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-red-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 { HeartIcon } from "@icons/heart-icon"
149
+
150
+ function MyComponent() {
151
+ return (
152
+ <HeartIcon className="h-6 w-6 text-red-500" />
153
+ )
154
+ }`}
155
+ </pre>
156
+ </div>
157
+ </div>
158
+
159
+ <div className="!space-y-4">
160
+ <h3 className="text-xl font-semibold !text-red-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
+ <HeartIcon className="h-12 w-12 text-red-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-red-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-red-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-red-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 heart outline
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-red-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-red-300">
252
+ fill
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
+ none
259
+ </td>
260
+ <td className="px-6 py-4 text-sm !text-white/70">
261
+ Fill color for solid hearts
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-red-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-red-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-red-300">
296
+ Fill vs Stroke States
297
+ </h3>
298
+ <div className="!space-y-4">
299
+ <div className="flex gap-4">
300
+ <div className="flex items-center gap-2">
301
+ <HeartIcon className="h-6 w-6 text-red-400" />
302
+ <span className="text-sm text-white">Outline</span>
303
+ </div>
304
+ <div className="flex items-center gap-2">
305
+ <HeartIcon
306
+ className="h-6 w-6 text-red-400"
307
+ fill="currentColor"
308
+ />
309
+ <span className="text-sm text-white">Filled</span>
310
+ </div>
311
+ </div>
312
+ <div className="rounded-lg bg-black/40 p-4">
313
+ <pre className="overflow-x-auto text-sm !text-green-300">
314
+ {`// Outline heart (default)
315
+ <HeartIcon className="h-6 w-6 text-red-400" />
316
+
317
+ // Filled heart
318
+ <HeartIcon
319
+ className="h-6 w-6 text-red-400"
320
+ fill="currentColor"
321
+ />`}
322
+ </pre>
323
+ </div>
324
+ </div>
325
+ </div>
326
+
327
+ <div className="!space-y-4">
328
+ <h3 className="text-lg font-semibold !text-red-300">
329
+ Color Customization
330
+ </h3>
331
+ <div className="!space-y-4">
332
+ <div className="flex gap-4">
333
+ <HeartIcon className="h-6 w-6 text-red-400" />
334
+ <HeartIcon className="h-6 w-6 text-pink-400" />
335
+ <HeartIcon className="h-6 w-6 text-rose-400" />
336
+ </div>
337
+ <div className="rounded-lg bg-black/40 p-4">
338
+ <pre className="overflow-x-auto text-sm !text-green-300">
339
+ {`// Using Tailwind classes
340
+ <HeartIcon className="h-6 w-6 text-red-400" />
341
+ <HeartIcon className="h-6 w-6 text-pink-400" />
342
+
343
+ // Using CSS custom properties
344
+ <HeartIcon
345
+ className="h-6 w-6"
346
+ style={{ color: 'var(--color-love)' }}
347
+ />
348
+
349
+ // Direct stroke prop
350
+ <HeartIcon
351
+ width={24}
352
+ height={24}
353
+ stroke="#ec4899"
354
+ />`}
355
+ </pre>
356
+ </div>
357
+ </div>
358
+ </div>
359
+ </div>
360
+ </div>
361
+
362
+ {/* Size Variations */}
363
+ <div className="!space-y-8">
364
+ <h2 className="text-center text-3xl font-bold !text-white">
365
+ Size Variations
366
+ </h2>
367
+ <div className="rounded-lg border border-white/10 bg-white/5 p-8">
368
+ <div className="!space-y-6">
369
+ <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
370
+ <div className="!space-y-4">
371
+ <h3 className="text-lg font-semibold !text-red-300">
372
+ Standard Sizes
373
+ </h3>
374
+ <div className="flex items-end gap-6 rounded-lg bg-black/20 p-6">
375
+ <div className="text-center">
376
+ <HeartIcon className="!mx-auto mb-2 h-3 w-3 text-red-400" />
377
+ <span className="text-xs text-white/60">12px</span>
378
+ </div>
379
+ <div className="text-center">
380
+ <HeartIcon className="!mx-auto mb-2 h-4 w-4 text-red-400" />
381
+ <span className="text-xs text-white/60">16px</span>
382
+ </div>
383
+ <div className="text-center">
384
+ <HeartIcon className="!mx-auto mb-2 h-5 w-5 text-red-400" />
385
+ <span className="text-xs text-white/60">20px</span>
386
+ </div>
387
+ <div className="text-center">
388
+ <HeartIcon className="!mx-auto mb-2 h-6 w-6 text-red-400" />
389
+ <span className="text-xs text-white/60">24px</span>
390
+ </div>
391
+ <div className="text-center">
392
+ <HeartIcon className="!mx-auto mb-2 h-8 w-8 text-red-400" />
393
+ <span className="text-xs text-white/60">32px</span>
394
+ </div>
395
+ <div className="text-center">
396
+ <HeartIcon className="!mx-auto mb-2 h-12 w-12 text-red-400" />
397
+ <span className="text-xs text-white/60">48px</span>
398
+ </div>
399
+ </div>
400
+ </div>
401
+
402
+ <div className="!space-y-4">
403
+ <h3 className="text-lg font-semibold !text-red-300">
404
+ Code Example
405
+ </h3>
406
+ <div className="rounded-lg bg-black/40 p-4">
407
+ <pre className="overflow-x-auto text-sm !text-blue-300">
408
+ {`// Small (16px)
409
+ <HeartIcon className="h-4 w-4" />
410
+
411
+ // Medium (24px)
412
+ <HeartIcon className="h-6 w-6" />
413
+
414
+ // Large (32px)
415
+ <HeartIcon className="h-8 w-8" />
416
+
417
+ // Custom size
418
+ <HeartIcon width={40} height={40} />`}
419
+ </pre>
420
+ </div>
421
+ </div>
422
+ </div>
423
+ </div>
424
+ </div>
425
+ </div>
426
+
427
+ {/* Color Variations */}
428
+ <div className="!space-y-8">
429
+ <h2 className="text-center text-3xl font-bold !text-white">
430
+ Color Variations
431
+ </h2>
432
+ <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
433
+ <div className="!space-y-4">
434
+ <h3 className="text-lg font-semibold !text-red-300">
435
+ Semantic Colors
436
+ </h3>
437
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
438
+ <div className="flex items-center gap-4">
439
+ <HeartIcon className="h-6 w-6 text-red-400" />
440
+ <div>
441
+ <div className="text-sm font-medium text-white">
442
+ Love
443
+ </div>
444
+ <div className="text-xs text-white/60">
445
+ text-red-400
446
+ </div>
447
+ </div>
448
+ </div>
449
+ <div className="flex items-center gap-4">
450
+ <HeartIcon className="h-6 w-6 text-pink-400" />
451
+ <div>
452
+ <div className="text-sm font-medium text-white">
453
+ Affection
454
+ </div>
455
+ <div className="text-xs text-white/60">
456
+ text-pink-400
457
+ </div>
458
+ </div>
459
+ </div>
460
+ <div className="flex items-center gap-4">
461
+ <HeartIcon className="h-6 w-6 text-rose-400" />
462
+ <div>
463
+ <div className="text-sm font-medium text-white">
464
+ Romance
465
+ </div>
466
+ <div className="text-xs text-white/60">
467
+ text-rose-400
468
+ </div>
469
+ </div>
470
+ </div>
471
+ <div className="flex items-center gap-4">
472
+ <HeartIcon className="h-6 w-6 text-white/40" />
473
+ <div>
474
+ <div className="text-sm font-medium text-white">
475
+ Inactive
476
+ </div>
477
+ <div className="text-xs text-white/60">
478
+ text-white/40
479
+ </div>
480
+ </div>
481
+ </div>
482
+ </div>
483
+ </div>
484
+
485
+ <div className="!space-y-4">
486
+ <h3 className="text-lg font-semibold !text-red-300">
487
+ Custom Colors
488
+ </h3>
489
+ <div className="rounded-lg bg-black/40 p-4">
490
+ <pre className="overflow-x-auto text-sm !text-green-300">
491
+ {`// Using Tailwind classes
492
+ <HeartIcon className="h-6 w-6 text-red-400" />
493
+ <HeartIcon className="h-6 w-6 text-pink-500" />
494
+
495
+ // Using CSS custom properties
496
+ <HeartIcon
497
+ className="h-6 w-6"
498
+ style={{ color: 'var(--color-love)' }}
499
+ />
500
+
501
+ // Direct stroke prop
502
+ <HeartIcon
503
+ width={20}
504
+ height={20}
505
+ stroke="#ec4899"
506
+ />`}
507
+ </pre>
508
+ </div>
509
+ </div>
510
+ </div>
511
+ </div>
512
+
513
+ {/* Usage Examples */}
514
+ <div className="!space-y-8">
515
+ <h2 className="text-center text-3xl font-bold !text-white">
516
+ Usage Examples
517
+ </h2>
518
+
519
+ <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
520
+ {/* Like Button */}
521
+ <div className="!space-y-4">
522
+ <h3 className="text-lg font-semibold !text-red-300">
523
+ Like Button
524
+ </h3>
525
+ <div className="!space-y-4">
526
+ <div className="flex gap-4">
527
+ <button className="flex items-center gap-2 rounded-lg border border-red-500/30 bg-red-500/20 px-4 py-2 text-red-200 transition-colors hover:bg-red-500/30">
528
+ <HeartIcon className="h-4 w-4" fill="currentColor" />
529
+ Liked
530
+ </button>
531
+ <button className="flex items-center gap-2 rounded-lg border border-gray-500/30 bg-gray-500/20 px-3 py-2 text-gray-200 transition-colors hover:bg-gray-500/30">
532
+ <HeartIcon className="h-4 w-4" />
533
+ Like
534
+ </button>
535
+ </div>
536
+ <div className="rounded-lg bg-black/40 p-4">
537
+ <pre className="overflow-x-auto text-sm !text-green-300">
538
+ {`// Liked state
539
+ <button className="flex items-center gap-2 bg-red-500/20 border border-red-500/30 px-4 py-2 rounded-lg">
540
+ <HeartIcon className="h-4 w-4" fill="currentColor" />
541
+ Liked
542
+ </button>
543
+
544
+ // Default state
545
+ <button className="flex items-center gap-2 bg-gray-500/20 border border-gray-500/30 px-3 py-2 rounded-lg">
546
+ <HeartIcon className="h-4 w-4" />
547
+ Like
548
+ </button>`}
549
+ </pre>
550
+ </div>
551
+ </div>
552
+ </div>
553
+
554
+ {/* Wishlist Item */}
555
+ <div className="!space-y-4">
556
+ <h3 className="text-lg font-semibold !text-red-300">
557
+ Wishlist Actions
558
+ </h3>
559
+ <div className="!space-y-4">
560
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
561
+ <div className="flex items-center justify-between">
562
+ <div className="flex items-center gap-3">
563
+ <div className="h-10 w-10 rounded-lg bg-blue-500/20"></div>
564
+ <div>
565
+ <div className="text-sm font-medium text-white">
566
+ Premium Headphones
567
+ </div>
568
+ <div className="text-xs text-white/60">
569
+ $299 • In Stock
570
+ </div>
571
+ </div>
572
+ </div>
573
+ <button className="rounded-lg bg-red-500/20 p-2 text-red-400 transition-colors hover:bg-red-500/30">
574
+ <HeartIcon
575
+ className="h-4 w-4"
576
+ fill="currentColor"
577
+ />
578
+ </button>
579
+ </div>
580
+ </div>
581
+ <div className="rounded-lg bg-black/40 p-4">
582
+ <pre className="overflow-x-auto text-sm !text-green-300">
583
+ {`<div className="flex items-center justify-between">
584
+ <div className="flex items-center gap-3">
585
+ {/* Product info */}
586
+ </div>
587
+ <button className="p-2 rounded-lg text-red-400 bg-red-500/20 hover:bg-red-500/30 transition-colors">
588
+ <HeartIcon className="h-4 w-4" fill="currentColor" />
589
+ </button>
590
+ </div>`}
591
+ </pre>
592
+ </div>
593
+ </div>
594
+ </div>
595
+
596
+ {/* Social Media */}
597
+ <div className="!space-y-4">
598
+ <h3 className="text-lg font-semibold !text-red-300">
599
+ Social Media Post
600
+ </h3>
601
+ <div className="!space-y-4">
602
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
603
+ <div className="mb-3 text-sm text-white">
604
+ Just launched our new design system! 🎨✨
605
+ </div>
606
+ <div className="flex items-center gap-6">
607
+ <button className="flex items-center gap-2 text-red-400 transition-colors hover:text-red-300">
608
+ <HeartIcon
609
+ className="h-4 w-4"
610
+ fill="currentColor"
611
+ />
612
+ <span className="text-sm">247</span>
613
+ </button>
614
+ <button className="flex items-center gap-2 text-gray-400 transition-colors hover:text-blue-400">
615
+ <span className="text-sm">💬</span>
616
+ <span className="text-sm">32</span>
617
+ </button>
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
+ {`// Social media interactions
623
+ <button className="flex items-center gap-2 text-red-400 hover:text-red-300 transition-colors">
624
+ <HeartIcon className="h-4 w-4" fill="currentColor" />
625
+ <span className="text-sm">247</span>
626
+ </button>`}
627
+ </pre>
628
+ </div>
629
+ </div>
630
+ </div>
631
+
632
+ {/* Rating System */}
633
+ <div className="!space-y-4">
634
+ <h3 className="text-lg font-semibold !text-red-300">
635
+ Heart Rating
636
+ </h3>
637
+ <div className="!space-y-4">
638
+ <div className="rounded-lg border border-pink-500/20 bg-pink-500/5 p-6">
639
+ <div className="text-center">
640
+ <div className="mb-4 text-sm text-white">
641
+ Rate this experience
642
+ </div>
643
+ <div className="mb-3 flex justify-center gap-1">
644
+ <HeartIcon
645
+ className="h-6 w-6 cursor-pointer text-red-400"
646
+ fill="currentColor"
647
+ />
648
+ <HeartIcon
649
+ className="h-6 w-6 cursor-pointer text-red-400"
650
+ fill="currentColor"
651
+ />
652
+ <HeartIcon
653
+ className="h-6 w-6 cursor-pointer text-red-400"
654
+ fill="currentColor"
655
+ />
656
+ <HeartIcon
657
+ className="h-6 w-6 cursor-pointer text-red-400"
658
+ fill="currentColor"
659
+ />
660
+ <HeartIcon className="h-6 w-6 cursor-pointer text-gray-400" />
661
+ </div>
662
+ <div className="text-xs text-white/60">
663
+ 4 out of 5 hearts
664
+ </div>
665
+ </div>
666
+ </div>
667
+ <div className="rounded-lg bg-black/40 p-4">
668
+ <pre className="overflow-x-auto text-sm !text-green-300">
669
+ {`// Heart rating system
670
+ <div className="flex justify-center gap-1">
671
+ <HeartIcon className="h-6 w-6 text-red-400 cursor-pointer" fill="currentColor" />
672
+ <HeartIcon className="h-6 w-6 text-red-400 cursor-pointer" fill="currentColor" />
673
+ <HeartIcon className="h-6 w-6 text-red-400 cursor-pointer" fill="currentColor" />
674
+ <HeartIcon className="h-6 w-6 text-red-400 cursor-pointer" fill="currentColor" />
675
+ <HeartIcon className="h-6 w-6 text-gray-400 cursor-pointer" />
676
+ </div>`}
677
+ </pre>
678
+ </div>
679
+ </div>
680
+ </div>
681
+ </div>
682
+ </div>
683
+
684
+ {/* Accessibility */}
685
+ <div className="!space-y-8">
686
+ <h2 className="text-center text-3xl font-bold !text-white">
687
+ Accessibility Features
688
+ </h2>
689
+ <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
690
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
691
+ <h3 className="text-lg font-semibold !text-green-300">
692
+ ✅ Built-in Features
693
+ </h3>
694
+ <ul className="!space-y-2 text-sm !text-white/70">
695
+ <li className="!text-white/70">
696
+ Uses Radix UI AccessibleIcon wrapper
697
+ </li>
698
+ <li className="!text-white/70">
699
+ Provides screen reader label "Heart icon"
700
+ </li>
701
+ <li className="!text-white/70">
702
+ Supports keyboard navigation when interactive
703
+ </li>
704
+ <li className="!text-white/70">
705
+ Maintains proper color contrast ratios
706
+ </li>
707
+ <li className="!text-white/70">
708
+ Scales with user's font size preferences
709
+ </li>
710
+ </ul>
711
+ </div>
712
+
713
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
714
+ <h3 className="text-lg font-semibold !text-red-300">
715
+ 💡 Best Practices
716
+ </h3>
717
+ <ul className="!space-y-2 text-sm text-white/70">
718
+ <li className="!text-white/70">
719
+ Always pair with descriptive labels
720
+ </li>
721
+ <li className="!text-white/70">
722
+ Use appropriate color states (filled/outline)
723
+ </li>
724
+ <li className="!text-white/70">
725
+ Ensure sufficient color contrast
726
+ </li>
727
+ <li className="!text-white/70">
728
+ Add focus states for interactive elements
729
+ </li>
730
+ <li className="!text-white/70">
731
+ Consider animation feedback for state changes
732
+ </li>
733
+ </ul>
734
+ </div>
735
+ </div>
736
+
737
+ <div className="rounded-lg border border-white/10 bg-white/5 p-6">
738
+ <h3 className="mb-4 text-lg font-semibold !text-purple-300">
739
+ Custom Accessibility Label
740
+ </h3>
741
+ <div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
742
+ <div className="rounded-lg bg-black/40 p-4">
743
+ <pre className="overflow-x-auto text-sm !text-blue-300">
744
+ {`// Custom implementation with specific label
745
+ import { AccessibleIcon } from "@radix-ui/react-accessible-icon"
746
+
747
+ function CustomHeartIcon({ label = "Like", ...props }) {
748
+ return (
749
+ <AccessibleIcon label={label}>
750
+ <HeartIcon {...props} />
751
+ </AccessibleIcon>
752
+ )
753
+ }
754
+
755
+ // Usage with specific context
756
+ <CustomHeartIcon
757
+ label="Add to favorites"
758
+ className="h-4 w-4 text-red-400"
759
+ />`}
760
+ </pre>
761
+ </div>
762
+ <div className="!space-y-4">
763
+ <p className="text-sm !text-white/70">
764
+ For specific contexts, you can wrap the HeartIcon with a
765
+ custom AccessibleIcon component that provides more
766
+ descriptive labels.
767
+ </p>
768
+ <div className="rounded-lg border border-red-500/20 bg-red-500/10 p-4">
769
+ <div className="flex items-center gap-2 text-sm text-red-200">
770
+ <HeartIcon className="h-4 w-4" />
771
+ <span>
772
+ This approach gives screen readers more context
773
+ </span>
774
+ </div>
775
+ </div>
776
+ </div>
777
+ </div>
778
+ </div>
779
+ </div>
780
+
781
+ {/* Related Icons */}
782
+ <div className="!space-y-8">
783
+ <h2 className="text-center text-3xl font-bold !text-white">
784
+ Related Icons
785
+ </h2>
786
+ <div className="grid grid-cols-2 gap-6 md:grid-cols-4">
787
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
788
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-yellow-500/20">
789
+ <span className="text-2xl">⭐</span>
790
+ </div>
791
+ <div>
792
+ <div className="font-medium text-white">StarIcon</div>
793
+ <div className="text-xs text-white/60">
794
+ Rating & favorites
795
+ </div>
796
+ </div>
797
+ </div>
798
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
799
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-blue-500/20">
800
+ <span className="!text-2xl !text-white">👍</span>
801
+ </div>
802
+ <div>
803
+ <div className="font-medium text-white">ThumbsUpIcon</div>
804
+ <div className="text-xs text-white/60">
805
+ Positive reactions
806
+ </div>
807
+ </div>
808
+ </div>
809
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
810
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-purple-500/20">
811
+ <span className="text-2xl">🔖</span>
812
+ </div>
813
+ <div>
814
+ <div className="font-medium text-white">BookmarkIcon</div>
815
+ <div className="text-xs text-white/60">
816
+ Save for later
817
+ </div>
818
+ </div>
819
+ </div>
820
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
821
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-orange-500/20">
822
+ <span className="text-2xl">📤</span>
823
+ </div>
824
+ <div>
825
+ <div className="font-medium text-white">ShareIcon</div>
826
+ <div className="text-xs text-white/60">
827
+ Social sharing
828
+ </div>
829
+ </div>
830
+ </div>
831
+ </div>
832
+ </div>
833
+ </div>
834
+
835
+ {/* Footer */}
836
+ <div className="border-t border-white/10 bg-black/20 backdrop-blur-xl">
837
+ <div className="!mx-auto max-w-7xl px-6 py-8">
838
+ <div className="!space-y-4 text-center">
839
+ <p className="!text-white/60">
840
+ HeartIcon is part of the Aural UI icon library, built with
841
+ accessibility and consistency in mind.
842
+ </p>
843
+ <p className="text-sm !text-white/40">
844
+ All icons use Radix UI's AccessibleIcon for screen reader
845
+ compatibility and follow WCAG guidelines.
846
+ </p>
847
+ </div>
848
+ </div>
849
+ </div>
850
+ </div>
851
+ </>
852
+ ),
853
+ },
854
+ },
855
+ tags: ["autodocs"],
856
+ argTypes: {
857
+ width: {
858
+ control: { type: "range", min: 8, max: 96, step: 2 },
859
+ description: "Width of the icon in pixels",
860
+ },
861
+ height: {
862
+ control: { type: "range", min: 8, max: 96, step: 2 },
863
+ description: "Height of the icon in pixels",
864
+ },
865
+ stroke: {
866
+ control: "color",
867
+ description: "Stroke color of the icon",
868
+ },
869
+ className: {
870
+ control: "text",
871
+ description: "CSS classes for styling",
872
+ },
873
+ },
874
+ }
875
+
876
+ export default meta
877
+ type Story = StoryObj<typeof HeartIcon>
878
+
879
+ // Story parameters for consistent dark theme
880
+ const storyParameters = {
881
+ backgrounds: {
882
+ default: "dark",
883
+ values: [
884
+ { name: "dark", value: "#0a0a0a" },
885
+ { name: "darker", value: "#000000" },
886
+ ],
887
+ },
888
+ }
889
+
890
+ export const Default: Story = {
891
+ args: {
892
+ width: 24,
893
+ height: 24,
894
+ className: "text-red-400",
895
+ },
896
+ parameters: storyParameters,
897
+ render: (args) => (
898
+ <div className="flex h-32 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
899
+ <HeartIcon {...args} />
900
+ </div>
901
+ ),
902
+ }
903
+
904
+ export const SizeVariations: Story = {
905
+ parameters: {
906
+ ...storyParameters,
907
+ docs: {
908
+ description: {
909
+ story:
910
+ "HeartIcon in different sizes, from small UI elements to large displays.",
911
+ },
912
+ },
913
+ },
914
+ render: () => (
915
+ <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">
916
+ <div className="text-center">
917
+ <HeartIcon className="!mx-auto mb-2 h-3 w-3 text-red-400" />
918
+ <span className="text-xs text-white/60">12px</span>
919
+ </div>
920
+ <div className="text-center">
921
+ <HeartIcon className="!mx-auto mb-2 h-4 w-4 text-red-400" />
922
+ <span className="text-xs text-white/60">16px</span>
923
+ </div>
924
+ <div className="text-center">
925
+ <HeartIcon className="!mx-auto mb-2 h-5 w-5 text-red-400" />
926
+ <span className="text-xs text-white/60">20px</span>
927
+ </div>
928
+ <div className="text-center">
929
+ <HeartIcon className="!mx-auto mb-2 h-6 w-6 text-red-400" />
930
+ <span className="text-xs text-white/60">24px</span>
931
+ </div>
932
+ <div className="text-center">
933
+ <HeartIcon className="!mx-auto mb-2 h-8 w-8 text-red-400" />
934
+ <span className="text-xs text-white/60">32px</span>
935
+ </div>
936
+ <div className="text-center">
937
+ <HeartIcon className="!mx-auto mb-2 h-12 w-12 text-red-400" />
938
+ <span className="text-xs text-white/60">48px</span>
939
+ </div>
940
+ </div>
941
+ ),
942
+ }
943
+
944
+ export const ColorVariations: Story = {
945
+ parameters: {
946
+ ...storyParameters,
947
+ docs: {
948
+ description: {
949
+ story: "HeartIcon in different emotional colors for various contexts.",
950
+ },
951
+ },
952
+ },
953
+ render: () => (
954
+ <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">
955
+ <div className="text-center">
956
+ <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">
957
+ <HeartIcon className="h-8 w-8 text-red-400" />
958
+ </div>
959
+ <div className="text-sm font-medium text-white">Love</div>
960
+ <div className="text-xs text-red-400">text-red-400</div>
961
+ </div>
962
+ <div className="text-center">
963
+ <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-pink-500/30 bg-pink-500/20">
964
+ <HeartIcon className="h-8 w-8 text-pink-400" />
965
+ </div>
966
+ <div className="text-sm font-medium text-white">Affection</div>
967
+ <div className="text-xs text-pink-400">text-pink-400</div>
968
+ </div>
969
+ <div className="text-center">
970
+ <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-rose-500/30 bg-rose-500/20">
971
+ <HeartIcon className="h-8 w-8 text-rose-400" />
972
+ </div>
973
+ <div className="text-sm font-medium text-white">Romance</div>
974
+ <div className="text-xs text-rose-400">text-rose-400</div>
975
+ </div>
976
+ <div className="text-center">
977
+ <div className="!mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border border-white/20 bg-white/5">
978
+ <HeartIcon className="h-8 w-8 text-white/40" />
979
+ </div>
980
+ <div className="text-sm font-medium text-white">Inactive</div>
981
+ <div className="text-xs text-white/40">text-white/40</div>
982
+ </div>
983
+ </div>
984
+ ),
985
+ }
986
+
987
+ export const UsageExamples: Story = {
988
+ parameters: {
989
+ ...storyParameters,
990
+ docs: {
991
+ description: {
992
+ story:
993
+ "Real-world usage examples showing HeartIcon in different UI contexts.",
994
+ },
995
+ },
996
+ },
997
+ render: () => (
998
+ <div className="min-h-dvh !space-y-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
999
+ {/* Like Button */}
1000
+ <div className="!space-y-2">
1001
+ <h3 className="text-sm font-medium text-white">Like Buttons</h3>
1002
+ <div className="flex gap-4">
1003
+ <button className="flex items-center gap-2 rounded-lg border border-red-500/30 bg-red-500/20 px-4 py-2 text-red-200 transition-colors hover:bg-red-500/30">
1004
+ <HeartIcon className="h-4 w-4" fill="currentColor" />
1005
+ Liked
1006
+ </button>
1007
+ <button className="flex items-center gap-2 rounded-lg border border-gray-500/30 bg-gray-500/20 px-3 py-2 text-gray-200 transition-colors hover:bg-gray-500/30">
1008
+ <HeartIcon className="h-4 w-4" />
1009
+ Like
1010
+ </button>
1011
+ </div>
1012
+ </div>
1013
+
1014
+ {/* Wishlist Item */}
1015
+ <div className="!space-y-2">
1016
+ <h3 className="text-sm font-medium text-white">Wishlist Actions</h3>
1017
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
1018
+ <div className="flex items-center justify-between">
1019
+ <div className="flex items-center gap-3">
1020
+ <div className="h-10 w-10 rounded-lg bg-blue-500/20"></div>
1021
+ <div>
1022
+ <div className="text-sm font-medium text-white">
1023
+ Premium Headphones
1024
+ </div>
1025
+ <div className="text-xs text-white/60">$299 • In Stock</div>
1026
+ </div>
1027
+ </div>
1028
+ <button className="rounded-lg bg-red-500/20 p-2 text-red-400 transition-colors hover:bg-red-500/30">
1029
+ <HeartIcon className="h-4 w-4" fill="currentColor" />
1030
+ </button>
1031
+ </div>
1032
+ </div>
1033
+ </div>
1034
+
1035
+ {/* Social Media */}
1036
+ <div className="!space-y-2">
1037
+ <h3 className="text-sm font-medium text-white">Social Media Post</h3>
1038
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
1039
+ <div className="mb-3 text-sm text-white">
1040
+ Just launched our new design system! 🎨✨
1041
+ </div>
1042
+ <div className="flex items-center gap-6">
1043
+ <button className="flex items-center gap-2 text-red-400 transition-colors hover:text-red-300">
1044
+ <HeartIcon className="h-4 w-4" fill="currentColor" />
1045
+ <span className="text-sm">247</span>
1046
+ </button>
1047
+ <button className="flex items-center gap-2 text-gray-400 transition-colors hover:text-blue-400">
1048
+ <span className="text-sm">💬</span>
1049
+ <span className="text-sm">32</span>
1050
+ </button>
1051
+ </div>
1052
+ </div>
1053
+ </div>
1054
+ </div>
1055
+ ),
1056
+ }
1057
+
1058
+ export const Playground: Story = {
1059
+ parameters: {
1060
+ ...storyParameters,
1061
+ docs: {
1062
+ description: {
1063
+ story:
1064
+ "Interactive playground to experiment with different HeartIcon configurations.",
1065
+ },
1066
+ },
1067
+ },
1068
+ args: {
1069
+ width: 32,
1070
+ height: 32,
1071
+ className: "text-red-400",
1072
+ },
1073
+ render: (args) => (
1074
+ <div className="flex h-64 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
1075
+ <div className="rounded-lg border border-white/10 bg-white/5 p-8">
1076
+ <HeartIcon {...args} />
1077
+ </div>
1078
+ </div>
1079
+ ),
1080
+ }