aural-ui 4.0.1 → 4.2.0

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 (175) hide show
  1. package/README.md +8 -1
  2. package/dist/components/aspect-ratio/AspectRatio.stories.tsx +290 -1228
  3. package/dist/components/avatar/Avatar.stories.tsx +219 -235
  4. package/dist/components/badge/Badge.stories.tsx +379 -116
  5. package/dist/components/banner/Banner.stories.tsx +445 -391
  6. package/dist/components/breadcrumb/Breadcrumb.stories.tsx +453 -199
  7. package/dist/components/button/Button.stories.tsx +585 -230
  8. package/dist/components/card/Card.stories.tsx +619 -301
  9. package/dist/components/char-count/CharCount.stories.tsx +350 -248
  10. package/dist/components/checkbox/Checkbox.stories.tsx +309 -167
  11. package/dist/components/chip/Chip.stories.tsx +362 -168
  12. package/dist/components/circular-loader/CircularLoader.stories.tsx +221 -636
  13. package/dist/components/clamp-lines/ClampLines.stories.tsx +246 -117
  14. package/dist/components/collapsible/Collapsible.stories.tsx +391 -252
  15. package/dist/components/command/Command.stories.tsx +530 -867
  16. package/dist/components/dialog/Dialog.stories.tsx +501 -950
  17. package/dist/components/divider/Divider.stories.tsx +264 -527
  18. package/dist/components/dot-loader/DotLoader.stories.tsx +256 -257
  19. package/dist/components/drawer/Drawer.stories.tsx +659 -1023
  20. package/dist/components/dropdown/Dropdown.stories.tsx +643 -1028
  21. package/dist/components/form/Form.stories.tsx +560 -274
  22. package/dist/components/helper-text/HelperText.stories.tsx +199 -200
  23. package/dist/components/hover-card/HoverCard.stories.tsx +318 -1254
  24. package/dist/components/icon-button/IconButton.stories.tsx +837 -194
  25. package/dist/components/if-else/if-else.stories.tsx +370 -83
  26. package/dist/components/input/Input.stories.tsx +436 -368
  27. package/dist/components/label/Label.stories.tsx +156 -154
  28. package/dist/components/list/List.stories.tsx +484 -835
  29. package/dist/components/marquee/Marquee.stories.tsx +356 -712
  30. package/dist/components/otp-inputs/OtpInputs.stories.tsx +352 -422
  31. package/dist/components/overlay/Overlay.stories.tsx +452 -824
  32. package/dist/components/pagination/Pagination.stories.tsx +721 -210
  33. package/dist/components/popover/Popover.stories.tsx +481 -896
  34. package/dist/components/radio/Radio.stories.tsx +432 -124
  35. package/dist/components/resizable/Resizable.stories.tsx +495 -799
  36. package/dist/components/scroll-area/ScrollArea.stories.tsx +383 -1059
  37. package/dist/components/search/Search.stories.tsx +312 -595
  38. package/dist/components/select/Select.stories.tsx +684 -789
  39. package/dist/components/sheet/Sheet.stories.tsx +671 -950
  40. package/dist/components/skelton/Skelton.stories.tsx +230 -764
  41. package/dist/components/slider/Slider.stories.tsx +383 -760
  42. package/dist/components/stepper/Stepper.stories.tsx +371 -514
  43. package/dist/components/switch/Switch.stories.tsx +461 -208
  44. package/dist/components/switch-case/SwitchCase.stories.tsx +367 -188
  45. package/dist/components/table/Table.stories.tsx +770 -916
  46. package/dist/components/tabs/Tabs.stories.tsx +458 -1455
  47. package/dist/components/tag/Tag.stories.tsx +714 -542
  48. package/dist/components/textarea/TextArea.stories.tsx +621 -562
  49. package/dist/components/thumbnail-tags/ThumbnailTags.stories.tsx +228 -154
  50. package/dist/components/toast/Toast.stories.tsx +452 -1339
  51. package/dist/components/toggle/Toggle.stories.tsx +488 -931
  52. package/dist/components/tooltip/Tooltip.stories.tsx +344 -1388
  53. package/dist/components/typography/Typography.stories.tsx +406 -89
  54. package/dist/hooks/use-change-state/UseChangeState.stories.tsx +309 -606
  55. package/dist/hooks/use-previous/UsePrevious.stories.tsx +367 -917
  56. package/dist/hooks/use-standalone-pagination/UseStandalonePagination.stories.tsx +639 -867
  57. package/dist/icons/Icons.stories.tsx +0 -12
  58. package/dist/icons/ai-avatar-icon/AiAvatarIcon.stories.tsx +223 -1060
  59. package/dist/icons/alert-icon/AlertIcon.stories.tsx +106 -968
  60. package/dist/icons/all-icons.tsx +37 -16
  61. package/dist/icons/angle-down-icon/AngleDownIcon.stories.tsx +137 -1010
  62. package/dist/icons/apple-logo-icon/AppleLogoIcon.stories.tsx +145 -935
  63. package/dist/icons/arrow-box-left-icon/ArrowBoxLeftIcon.stories.tsx +132 -1046
  64. package/dist/icons/arrow-corner-up-left-icon/ArrowCornerUpLeftIcon.stories.tsx +134 -986
  65. package/dist/icons/arrow-corner-up-right-icon/ArrowCornerUpRightIcon.stories.tsx +135 -1028
  66. package/dist/icons/arrow-left-icon/ArrowLeftIcon.stories.tsx +133 -971
  67. package/dist/icons/arrow-right-icon/ArrowRightIcon.stories.tsx +145 -1123
  68. package/dist/icons/arrow-right-up-icon/ArrowRightUpIcon.stories.tsx +143 -1252
  69. package/dist/icons/art-board-icon/ArtBoardIcon.stories.tsx +123 -632
  70. package/dist/icons/audio-bar-icon/AudioBarIcon.stories.tsx +141 -1223
  71. package/dist/icons/backward-ten-seconds-icon/BackwardTenSecondsIcon.stories.tsx +164 -1018
  72. package/dist/icons/bubble-check-icon/BubbleCheckIcon.stories.tsx +121 -1236
  73. package/dist/icons/bubble-crossed-icon/BubbleCrossedIcon.stories.tsx +121 -1213
  74. package/dist/icons/bubble-sparkle-icon/BubbleSparkleIcon.stories.tsx +116 -893
  75. package/dist/icons/camera-icon/CameraIcon.stories.tsx +109 -1254
  76. package/dist/icons/capital-a-letter-icon/CapitalALetterIcon.stories.tsx +114 -975
  77. package/dist/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.stories.tsx +157 -994
  78. package/dist/icons/chevron-double-right-icon/ChevronDoubleRightIcon.stories.tsx +160 -992
  79. package/dist/icons/chevron-down-icon/ChevronDownIcon.stories.tsx +140 -970
  80. package/dist/icons/chevron-left-icon/ChevronLeftIcon.stories.tsx +126 -993
  81. package/dist/icons/chevron-right-icon/ChevronRightIcon.stories.tsx +144 -987
  82. package/dist/icons/chevron-up-icon/ChevronUpIcon.stories.tsx +141 -1007
  83. package/dist/icons/circle-tick-icon/CircleTickIcon.stories.tsx +147 -1187
  84. package/dist/icons/circular-play-icon/CircularPlayIcon.stories.tsx +110 -476
  85. package/dist/icons/coin-icon/CoinIcon.stories.tsx +120 -1364
  86. package/dist/icons/coin-toons-icon/CoinToonsIcon.stories.tsx +113 -1360
  87. package/dist/icons/column-wide-add-icon/ColumnWideAddIcon.stories.tsx +111 -942
  88. package/dist/icons/command-icon/CommandIcon.stories.tsx +124 -1087
  89. package/dist/icons/copy-icon/CopyIcon.stories.tsx +119 -996
  90. package/dist/icons/cross-circle-icon/CrossCircleIcon.stories.tsx +144 -1046
  91. package/dist/icons/cross-icon/CrossIcon.stories.tsx +136 -999
  92. package/dist/icons/download-icon/DownloadIcon.stories.tsx +123 -857
  93. package/dist/icons/edit-big-icon/EditBigIcon.stories.tsx +121 -1080
  94. package/dist/icons/email-icon/EmailIcon.stories.tsx +112 -979
  95. package/dist/icons/expand-icon/ExpandIcon.stories.tsx +109 -1146
  96. package/dist/icons/eye-close-icon/EyeCloseIcon.stories.tsx +141 -1068
  97. package/dist/icons/eye-open-icon/EyeOpenIcon.stories.tsx +140 -1081
  98. package/dist/icons/feature-shine-icon/FeatureShineIcon.stories.tsx +124 -1050
  99. package/dist/icons/file-chart-icon/FileChartIcon.stories.tsx +123 -1091
  100. package/dist/icons/file-text-icon/FileTextIcon.stories.tsx +122 -633
  101. package/dist/icons/filter-bar-row-icon/FilterBarRowIcon.stories.tsx +116 -1087
  102. package/dist/icons/forward-ten-seconds-icon/ForwardTenSecondsIcon.stories.tsx +166 -1020
  103. package/dist/icons/git-branch-icon/GitBranchIcon.stories.tsx +112 -1182
  104. package/dist/icons/git-fork-icon/GitForkIcon.stories.tsx +112 -1155
  105. package/dist/icons/globe-icon/GlobeIcon.stories.tsx +127 -325
  106. package/dist/icons/google-logo-icon/GoogleLogoIcon.stories.tsx +142 -985
  107. package/dist/icons/grip-vertical-icon/GripVerticalIcon.stories.tsx +116 -1217
  108. package/dist/icons/head-icon/HeadIcon.stories.tsx +108 -953
  109. package/dist/icons/heart-icon/HeartIcon.stories.tsx +117 -1060
  110. package/dist/icons/image-avatar-sparkle-icon/ImageAvatarSparkleIcon.stories.tsx +116 -716
  111. package/dist/icons/image-icon/ImageIcon.stories.tsx +102 -1164
  112. package/dist/icons/import-folder-icon/ImportFolderIcon.stories.tsx +108 -1233
  113. package/dist/icons/import-left-arrow-folder-icon/ImportLeftArrowFolderIcon.stories.tsx +133 -1289
  114. package/dist/icons/indian-flag-icon/IndianFlagIcon.stories.tsx +155 -1012
  115. package/dist/icons/instagram-icon/InstagramIcon.stories.tsx +158 -1438
  116. package/dist/icons/layout-column-icon/LayoutColumnIcon.stories.tsx +121 -1011
  117. package/dist/icons/layout-left-icon/LayoutLeftIcon.stories.tsx +116 -981
  118. package/dist/icons/layout-right-icon/LayoutRightIcon.stories.tsx +116 -979
  119. package/dist/icons/light-bulb-simple-icon/LightBulbSimpleIcon.stories.tsx +105 -1252
  120. package/dist/icons/linked-in-icon/LinkedInIcon.stories.tsx +151 -1554
  121. package/dist/icons/magic-book-icon/MagicBookIcon.stories.tsx +107 -1227
  122. package/dist/icons/magic-edit-icon/MagicEditIcon.stories.tsx +116 -707
  123. package/dist/icons/maintenance-icon/MaintenanceIcon.stories.tsx +119 -1226
  124. package/dist/icons/message-icon/MessageIcon.stories.tsx +111 -557
  125. package/dist/icons/minimize-icon/MinimizeIcon.stories.tsx +112 -1198
  126. package/dist/icons/moon-icon/MoonIcon.stories.tsx +117 -557
  127. package/dist/icons/move-horizontal-icon/MoveHorizontalIcon.stories.tsx +106 -1235
  128. package/dist/icons/move-vertical-icon/MoveVerticalIcon.stories.tsx +112 -1185
  129. package/dist/icons/musical-note-icon/MusicalNoteIcon.stories.tsx +116 -1012
  130. package/dist/icons/notepad-icon/NotepadIcon.stories.tsx +108 -1137
  131. package/dist/icons/notes-icon/NotesIcon.stories.tsx +116 -1138
  132. package/dist/icons/page-search-icon/PageSearchIcon.stories.tsx +106 -1146
  133. package/dist/icons/page-text-icon/PageTextIcon.stories.tsx +119 -719
  134. package/dist/icons/paint-roll-icon/PaintRollIcon.stories.tsx +110 -999
  135. package/dist/icons/paper-plane-icon/PaperPlaneIcon.stories.tsx +109 -912
  136. package/dist/icons/pause-icon/PauseIcon.stories.tsx +110 -1041
  137. package/dist/icons/pencil-icon/PencilIcon.stories.tsx +112 -1109
  138. package/dist/icons/phone-icon/PhoneIcon.stories.tsx +112 -1023
  139. package/dist/icons/plus-icon/PlusIcon.stories.tsx +103 -1132
  140. package/dist/icons/pocket-studio-icon/PocketStudioIcon.stories.tsx +104 -870
  141. package/dist/icons/scroll-down-icon/ScrollDownIcon.stories.tsx +99 -476
  142. package/dist/icons/search-icon/SearchIcon.stories.tsx +108 -1161
  143. package/dist/icons/setting-icon/SettingIcon.stories.tsx +104 -1009
  144. package/dist/icons/share-icon/ShareIcon.stories.tsx +117 -1064
  145. package/dist/icons/shield-icon/ShieldIcon.stories.tsx +114 -974
  146. package/dist/icons/site-logo-icon/SiteLogoIcon.stories.tsx +134 -1160
  147. package/dist/icons/skip-backward-icon/SkipBackwardIcon.stories.tsx +169 -1017
  148. package/dist/icons/skip-forward-icon/SkipForwardIcon.stories.tsx +161 -1016
  149. package/dist/icons/sparkles-soft-icon/SparklesSoftIcon.stories.tsx +102 -1001
  150. package/dist/icons/spinner-gradient-icon/SpinnerGradientIcon.stories.tsx +155 -593
  151. package/dist/icons/spinner-solid-icon/SpinnerSolidIcon.stories.tsx +155 -608
  152. package/dist/icons/spinner-solid-neutral-icon/SpinnerSolidINeutralcon.stories.tsx +142 -712
  153. package/dist/icons/star-icon/StarIcon.stories.tsx +120 -946
  154. package/dist/icons/store-coin-icon/StoreCoinIcon.stories.tsx +109 -1013
  155. package/dist/icons/suggestion-icon/SuggestionIcon.stories.tsx +113 -891
  156. package/dist/icons/sun-icon/SunIcon.stories.tsx +117 -864
  157. package/dist/icons/text-color-icon/TextColorIcon.stories.tsx +113 -989
  158. package/dist/icons/text-indicator-icon/TextIndicatorIcon.stories.tsx +120 -1027
  159. package/dist/icons/threads-icon/ThreadsIcon.stories.tsx +153 -1476
  160. package/dist/icons/tick-circle-icon/TickCircleIcon.stories.tsx +143 -1187
  161. package/dist/icons/tick-icon/TickIcon.stories.tsx +142 -1322
  162. package/dist/icons/trash-icon/TrashIcon.stories.tsx +105 -970
  163. package/dist/icons/twitter-x-icon/TwitterXIcon.stories.tsx +154 -1457
  164. package/dist/icons/upload-icon/UploadIcon.stories.tsx +112 -930
  165. package/dist/icons/vertical-menu-icon/VerticalMenuIcon.stories.tsx +115 -1019
  166. package/dist/icons/video-play-list-icon/VideoPlaylistIcon.stories.tsx +122 -1092
  167. package/dist/icons/voice-playing-icon/VoicePlayingIcon.stories.tsx +120 -1401
  168. package/dist/icons/volume-full-icon/VolumeFullIcon.stories.tsx +107 -1212
  169. package/dist/icons/volume-half-icon/VolumeHalfIcon.stories.tsx +109 -1122
  170. package/dist/icons/volume-off-icon/VolumeOffIcon.stories.tsx +112 -1124
  171. package/dist/icons/warning-icon/WarningIcon.stories.tsx +119 -1083
  172. package/dist/icons/youtube-icon/YoutubeIcon.stories.tsx +158 -983
  173. package/dist/index.cjs +90 -90
  174. package/dist/index.js +90 -90
  175. package/package.json +8 -3
@@ -1,6 +1,20 @@
1
1
  import React from "react"
2
2
  import type { Meta, StoryObj } from "@storybook/react-vite"
3
3
 
4
+ import { CircularPlayIcon } from "src/ui/icons/circular-play-icon"
5
+ import { EditBigIcon } from "src/ui/icons/edit-big-icon"
6
+ import { ImageIcon } from "src/ui/icons/image-icon"
7
+ import { VideoPlaylistIcon } from "src/ui/icons/video-play-list-icon"
8
+ import {
9
+ IconColorVariations,
10
+ IconDefaultCanvas,
11
+ IconPlaygroundCanvas,
12
+ IconSizeVariations,
13
+ IconUsageCanvas,
14
+ IconUsageSection,
15
+ } from "src/ui/story-spec/icons/icon-story-canvas"
16
+ import { AuralIconDocsPage } from "src/ui/story-spec/icons/icon-story-docs-page"
17
+
4
18
  import { CameraIcon } from "."
5
19
 
6
20
  const meta: Meta<typeof CameraIcon> = {
@@ -18,1096 +32,72 @@ const meta: Meta<typeof CameraIcon> = {
18
32
  },
19
33
  docs: {
20
34
  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: var(--color-fm-surface-primary) ;
44
- }
45
- #storybook-docs {
46
- background: var(--color-fm-surface-primary) ;
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: var(--color-fm-icon-active) ;
54
- }
55
- .sbdocs-p, .sbdocs-li {
56
- color: var(--color-fm-secondary) ;
57
- }
58
- .sbdocs-code {
59
- background: var(--color-fm-surface-secondary) ;
60
- color: var(--color-fm-secondary-500) ;
61
- border: 1px solid var(--color-fm-divider-secondary) ;
62
- }
63
- .sbdocs-pre {
64
- background: var(--color-fm-surface-secondary) ;
65
- border: 1px solid var(--color-fm-divider-secondary) ;
66
- }
67
- .sbdocs-table {
68
- background: var(--color-fm-surface-secondary) ;
69
- border: 1px solid var(--color-fm-divider-secondary) ;
70
- }
71
- .sbdocs-table th {
72
- background: var(--color-fm-surface-secondary) ;
73
- color: var(--color-fm-icon-active) ;
74
- border-bottom: 1px solid var(--color-fm-divider-secondary) ;
75
- }
76
- .sbdocs-table td {
77
- color: var(--color-fm-secondary) ;
78
- border-bottom: 1px solid var(--color-fm-divider-tertiary) ;
79
- }
80
- `}
81
- </style>
82
-
83
- <div className="from-fm-surface-primary via-fm-icon-info/5 to-fm-surface-primary min-h-screen bg-linear-to-br">
84
- {/* Header */}
85
- <div className="border-fm-divider-secondary bg-fm-surface-secondary relative overflow-hidden border-b backdrop-blur-xl">
86
- <div className="from-fm-icon-info/10 to-fm-icon-info/10 absolute inset-0 bg-linear-to-r via-transparent" />
87
- <div className="relative !mx-auto max-w-7xl px-6 py-16">
88
- <div className="!space-y-6 text-center">
89
- <div className="border-fm-icon-info/30 from-fm-icon-info/20 to-fm-icon-info/20 !mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border bg-linear-to-br">
90
- <CameraIcon className="text-fm-icon-info h-12 w-12" />
91
- </div>
92
- <h1 className="text-fm-icon-active! text-5xl font-bold">
93
- CameraIcon
94
- </h1>
95
- <p className="text-fm-secondary! !mx-auto max-w-3xl text-xl leading-relaxed">
96
- A versatile video camera icon featuring a sleek recording
97
- device design. Essential for video conferencing
98
- applications, streaming platforms, content creation tools,
99
- and any interface where video recording, livestreaming, or
100
- camera controls are needed.
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-fm-icon-info text-3xl font-bold">
107
- Video Recording
108
- </div>
109
- <div className="text-fm-tertiary text-sm">
110
- Content creation
111
- </div>
112
- </div>
113
- <div className="bg-fm-divider-primary h-8 w-px" />
114
- <div className="text-center">
115
- <div className="text-fm-icon-info text-3xl font-bold">
116
- Live Streaming
117
- </div>
118
- <div className="text-fm-tertiary text-sm">
119
- Broadcasting ready
120
- </div>
121
- </div>
122
- <div className="bg-fm-divider-primary h-8 w-px" />
123
- <div className="text-center">
124
- <div className="text-fm-icon-info text-3xl font-bold">
125
- Professional
126
- </div>
127
- <div className="text-fm-tertiary text-sm">
128
- Studio quality design
129
- </div>
130
- </div>
131
- </div>
132
- </div>
133
- </div>
134
- </div>
135
-
136
- {/* Content */}
137
- <div className="!mx-auto max-w-7xl !space-y-16 px-6 py-12">
138
- {/* Quick Usage */}
139
- <div className="!space-y-8">
140
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
141
- Quick Start
142
- </h2>
143
- <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
144
- <div className="!space-y-4">
145
- <h3 className="text-fm-icon-info! text-xl font-semibold">
146
- Basic Usage
147
- </h3>
148
- <div className="bg-fm-surface-secondary rounded-lg p-4">
149
- <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
150
- {`import { CameraIcon } from "@icons/camera-icon"
151
-
152
- function VideoCall() {
35
+ <AuralIconDocsPage
36
+ accentToken="info"
37
+ features={[
38
+ {
39
+ title: "Media Capture",
40
+ description: "Camera / photo input icon",
41
+ },
42
+ { title: "Profile Photo", description: "Avatar upload trigger" },
43
+ { title: "Accessible", description: "ARIA-ready by default" },
44
+ ]}
45
+ quickStart={{
46
+ codeExample: `import { CameraIcon } from "src/ui/icons/camera-icon"
47
+
48
+ function UploadPhoto() {
153
49
  return (
154
- <button
155
- onClick={toggleCamera}
156
- className="p-3 hover:bg-white/10 rounded-lg"
157
- aria-label="Toggle camera"
158
- >
159
- <CameraIcon className="h-6 w-6 text-indigo-400" />
50
+ <button className="flex items-center gap-2">
51
+ <CameraIcon className="h-5 w-5 text-fm-icon-active" />
52
+ <span>Upload photo</span>
160
53
  </button>
161
54
  )
162
- }`}
163
- </pre>
164
- </div>
165
- </div>
166
-
167
- <div className="!space-y-4">
168
- <h3 className="text-fm-icon-info! text-xl font-semibold">
169
- Live Preview
170
- </h3>
171
- <div className="border-fm-divider-secondary bg-fm-surface-secondary flex h-32 items-center justify-center rounded-lg border">
172
- <button className="border-fm-icon-info/20 bg-fm-icon-info/10 hover:bg-fm-icon-info/20 rounded-lg border p-3 transition-colors">
173
- <CameraIcon className="text-fm-icon-info h-6 w-6" />
174
- </button>
175
- </div>
176
- </div>
177
- </div>
178
- </div>
179
-
180
- {/* Props Documentation */}
181
- <div className="!space-y-8">
182
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
183
- Props & Configuration
184
- </h2>
185
-
186
- <div className="border-fm-divider-secondary bg-fm-surface-secondary overflow-hidden rounded-lg border">
187
- <div className="bg-fm-surface-secondary p-4">
188
- <h3 className="text-fm-icon-active! text-xl font-semibold">
189
- Props
190
- </h3>
191
- </div>
192
- <table className="!my-0 w-full">
193
- <thead className="bg-fm-surface-secondary">
194
- <tr className="border-fm-divider-secondary border-b">
195
- <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
196
- Prop
197
- </th>
198
- <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
199
- Type
200
- </th>
201
- <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
202
- Default
203
- </th>
204
- <th className="text-fm-icon-active! px-6 py-4 text-left text-sm font-semibold">
205
- Description
206
- </th>
207
- </tr>
208
- </thead>
209
- <tbody>
210
- {" "}
211
- <tr className="bg-fm-surface-secondary!">
212
- <td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
213
- withAccessibility
214
- </td>
215
- <td className="text-fm-secondary! px-6 py-4 text-sm">
216
- boolean
217
- </td>
218
- <td className="text-fm-placeholder! px-6 py-4 text-sm">
219
- true
220
- </td>
221
- <td className="text-fm-secondary! px-6 py-4 text-sm">
222
- Whether to wrap the icon with accessibility feature
223
- </td>
224
- </tr>
225
- <tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
226
- <td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
227
- height
228
- </td>
229
- <td className="text-fm-secondary! px-6 py-4 text-sm">
230
- number | string
231
- </td>
232
- <td className="text-fm-placeholder! px-6 py-4 text-sm">
233
- 24
234
- </td>
235
- <td className="text-fm-secondary! px-6 py-4 text-sm">
236
- Height of the icon in pixels
237
- </td>
238
- </tr>
239
- <tr className="border-fm-divider-tertiary border-b">
240
- <td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
241
- stroke
242
- </td>
243
- <td className="text-fm-secondary! px-6 py-4 text-sm">
244
- string
245
- </td>
246
- <td className="text-fm-placeholder! px-6 py-4 text-sm">
247
- currentColor
248
- </td>
249
- <td className="text-fm-secondary! px-6 py-4 text-sm">
250
- Stroke color of the icon
251
- </td>
252
- </tr>
253
- <tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
254
- <td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
255
- strokeWidth
256
- </td>
257
- <td className="text-fm-secondary! px-6 py-4 text-sm">
258
- string | number
259
- </td>
260
- <td className="text-fm-placeholder! px-6 py-4 text-sm">
261
- 1.5
262
- </td>
263
- <td className="text-fm-secondary! px-6 py-4 text-sm">
264
- Width of the stroke
265
- </td>
266
- </tr>
267
- <tr className="border-fm-divider-tertiary border-b">
268
- <td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
269
- strokeLinecap
270
- </td>
271
- <td className="text-fm-secondary! px-6 py-4 text-sm">
272
- string
273
- </td>
274
- <td className="text-fm-placeholder! px-6 py-4 text-sm">
275
- round
276
- </td>
277
- <td className="text-fm-secondary! px-6 py-4 text-sm">
278
- Style of line endings (round for smooth appearance)
279
- </td>
280
- </tr>
281
- <tr className="border-fm-divider-tertiary bg-fm-surface-secondary! border-b">
282
- <td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
283
- className
284
- </td>
285
- <td className="text-fm-secondary! px-6 py-4 text-sm">
286
- string
287
- </td>
288
- <td className="text-fm-placeholder! px-6 py-4 text-sm">
289
- -
290
- </td>
291
- <td className="text-fm-secondary! px-6 py-4 text-sm">
292
- CSS classes for styling (use for overrides)
293
- </td>
294
- </tr>
295
- <tr className="bg-fm-surface-secondary!">
296
- <td className="text-fm-icon-info! px-6 py-4 font-mono text-sm">
297
- ...svgProps
298
- </td>
299
- <td className="text-fm-secondary! px-6 py-4 text-sm">
300
- SVGProps
301
- </td>
302
- <td className="text-fm-placeholder! px-6 py-4 text-sm">
303
- -
304
- </td>
305
- <td className="text-fm-secondary! px-6 py-4 text-sm">
306
- All standard SVG element props
307
- </td>
308
- </tr>
309
- </tbody>
310
- </table>
311
- </div>
312
- </div>
313
-
314
- {/* Size Variations */}
315
- <div className="!space-y-8">
316
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
317
- Size Variations
318
- </h2>
319
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
320
- <div className="!space-y-6">
321
- <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
322
- <div className="!space-y-4">
323
- <h3 className="text-fm-icon-info! text-lg font-semibold">
324
- Standard Sizes
325
- </h3>
326
- <div className="bg-fm-surface-secondary flex items-end gap-6 rounded-lg p-6">
327
- <div className="text-center">
328
- <CameraIcon className="text-fm-icon-info !mx-auto mb-2 h-3 w-3" />
329
- <span className="text-fm-tertiary text-xs">
330
- 12px
331
- </span>
332
- </div>
333
- <div className="text-center">
334
- <CameraIcon className="text-fm-icon-info !mx-auto mb-2 h-4 w-4" />
335
- <span className="text-fm-tertiary text-xs">
336
- 16px
337
- </span>
338
- </div>
339
- <div className="text-center">
340
- <CameraIcon className="text-fm-icon-info !mx-auto mb-2 h-5 w-5" />
341
- <span className="text-fm-tertiary text-xs">
342
- 20px
343
- </span>
344
- </div>
345
- <div className="text-center">
346
- <CameraIcon className="text-fm-icon-info !mx-auto mb-2 h-6 w-6" />
347
- <span className="text-fm-tertiary text-xs">
348
- 24px
349
- </span>
350
- </div>
351
- <div className="text-center">
352
- <CameraIcon className="text-fm-icon-info !mx-auto mb-2 h-8 w-8" />
353
- <span className="text-fm-tertiary text-xs">
354
- 32px
355
- </span>
356
- </div>
357
- <div className="text-center">
358
- <CameraIcon className="text-fm-icon-info !mx-auto mb-2 h-12 w-12" />
359
- <span className="text-fm-tertiary text-xs">
360
- 48px
361
- </span>
362
- </div>
363
- </div>
364
- </div>
365
-
366
- <div className="!space-y-4">
367
- <h3 className="text-fm-icon-info! text-lg font-semibold">
368
- Code Example
369
- </h3>
370
- <div className="bg-fm-surface-secondary rounded-lg p-4">
371
- <pre className="text-fm-icon-info! overflow-x-auto text-sm">
372
- {`// Small (16px) - compact controls
373
- <CameraIcon className="h-4 w-4" />
374
-
375
- // Medium (24px) - standard interface
376
- <CameraIcon className="h-6 w-6" />
377
-
378
- // Large (32px) - prominent displays
379
- <CameraIcon className="h-8 w-8" />
380
-
381
- // Custom size
382
- <CameraIcon width={40} height={40} />`}
383
- </pre>
384
- </div>
385
- </div>
386
- </div>
387
- </div>
388
- </div>
389
- </div>
390
-
391
- {/* Color Variations */}
392
- <div className="!space-y-8">
393
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
394
- Color Variations
395
- </h2>
396
- <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
397
- <div className="!space-y-4">
398
- <h3 className="text-fm-icon-info! text-lg font-semibold">
399
- Semantic Colors
400
- </h3>
401
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
402
- <div className="flex items-center gap-4">
403
- <CameraIcon className="text-fm-icon-info h-6 w-6" />
404
- <div>
405
- <div className="text-fm-icon-active text-sm font-medium">
406
- Video Call
407
- </div>
408
- <div className="text-fm-tertiary text-xs">
409
- text-fm-icon-info
410
- </div>
411
- </div>
412
- </div>
413
- <div className="flex items-center gap-4">
414
- <CameraIcon className="text-fm-icon-info h-6 w-6" />
415
- <div>
416
- <div className="text-fm-icon-active text-sm font-medium">
417
- Live Stream
418
- </div>
419
- <div className="text-fm-tertiary text-xs">
420
- text-fm-icon-info
421
- </div>
422
- </div>
423
- </div>
424
- <div className="flex items-center gap-4">
425
- <CameraIcon className="text-fm-icon-positive h-6 w-6" />
426
- <div>
427
- <div className="text-fm-icon-active text-sm font-medium">
428
- Recording Active
429
- </div>
430
- <div className="text-fm-tertiary text-xs">
431
- text-fm-icon-positive
432
- </div>
433
- </div>
434
- </div>
435
- <div className="flex items-center gap-4">
436
- <CameraIcon className="text-fm-icon-negative h-6 w-6" />
437
- <div>
438
- <div className="text-fm-icon-active text-sm font-medium">
439
- Camera Off
440
- </div>
441
- <div className="text-fm-tertiary text-xs">
442
- text-fm-icon-negative
443
- </div>
444
- </div>
445
- </div>
446
- </div>
447
- </div>
448
-
449
- <div className="!space-y-4">
450
- <h3 className="text-fm-icon-info! text-lg font-semibold">
451
- Custom Colors
452
- </h3>
453
- <div className="bg-fm-surface-secondary rounded-lg p-4">
454
- <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
455
- {`// Using Tailwind classes
456
- <CameraIcon className="h-6 w-6 text-indigo-400" />
457
- <CameraIcon className="h-6 w-6 text-blue-500" />
458
-
459
- // Using CSS custom properties
460
- <CameraIcon
461
- className="h-6 w-6"
462
- style={{ color: 'var(--color-camera)' }}
463
- />
464
-
465
- // Direct stroke prop
466
- <CameraIcon
467
- width={24}
468
- height={24}
469
- stroke="#6366f1"
470
- />`}
471
- </pre>
472
- </div>
473
- </div>
474
- </div>
475
- </div>
476
-
477
- {/* Usage Examples */}
478
- <div className="!space-y-8">
479
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
480
- Usage Examples
481
- </h2>
482
-
483
- <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
484
- {/* Video Call Interface */}
485
- <div className="!space-y-4">
486
- <h3 className="text-fm-icon-info! text-lg font-semibold">
487
- Video Call Interface
488
- </h3>
489
- <div className="!space-y-4">
490
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
491
- <div className="from-fm-surface-primary to-fm-surface-secondary relative mb-4 aspect-video overflow-hidden rounded-lg bg-linear-to-br">
492
- <div className="border-fm-divider-secondary bg-fm-surface-secondary absolute inset-4 rounded-lg border">
493
- <div className="absolute top-4 left-4 flex items-center gap-2">
494
- <div className="bg-fm-icon-positive h-3 w-3 animate-pulse rounded-full"></div>
495
- <span className="text-fm-tertiary text-xs">
496
- Live
497
- </span>
498
- </div>
499
- <div className="absolute inset-0 flex items-center justify-center">
500
- <div className="bg-fm-surface-secondary flex h-16 w-16 items-center justify-center rounded-full">
501
- <span className="text-2xl">👤</span>
502
- </div>
503
- </div>
504
- </div>
505
- <div className="absolute bottom-4 left-1/2 -translate-x-1/2">
506
- <div className="bg-fm-surface-secondary flex items-center gap-3 rounded-lg p-3">
507
- <button className="border-fm-icon-info/30 bg-fm-icon-info/20 hover:bg-fm-icon-info/30 rounded-lg border p-2 transition-colors">
508
- <CameraIcon className="text-fm-icon-info h-5 w-5" />
509
- </button>
510
- <button className="border-fm-divider-primary bg-fm-surface-secondary hover:bg-fm-divider-primary rounded-lg border p-2 transition-colors">
511
- <div className="relative h-5 w-5">
512
- <div className="bg-fm-surface-contrast absolute inset-0 rounded-full"></div>
513
- <div className="bg-fm-surface-secondary absolute top-1 left-1 h-3 w-3 rounded-full"></div>
514
- </div>
515
- </button>
516
- <button className="border-fm-icon-negative/30 bg-fm-icon-negative/20 hover:bg-fm-icon-negative/30 rounded-lg border p-2 transition-colors">
517
- <div className="relative h-5 w-5">
518
- <div className="border-fm-icon-negative absolute inset-0 rotate-45 border-2"></div>
519
- <div className="border-fm-icon-negative absolute inset-0 -rotate-45 border-2"></div>
520
- </div>
521
- </button>
522
- </div>
523
- </div>
524
- </div>
525
- <div className="text-center">
526
- <div className="text-fm-icon-active text-sm font-medium">
527
- "Team Standup Meeting"
528
- </div>
529
- <div className="text-fm-tertiary text-xs">
530
- Camera enabled for video call
531
- </div>
532
- </div>
533
- </div>
534
- <div className="bg-fm-surface-secondary rounded-lg p-4">
535
- <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
536
- {`// Video call interface with camera controls
537
- <div className="video-call-interface">
538
- <div className="video-container">
539
- <VideoStream />
540
- <div className="call-status">
541
- <LiveIndicator />
542
- <span>Live</span>
543
- </div>
544
- </div>
545
- <div className="call-controls">
546
- <button
547
- onClick={toggleCamera}
548
- className={cameraEnabled ? 'camera-on' : 'camera-off'}
549
- aria-label={cameraEnabled ? 'Turn off camera' : 'Turn on camera'}
550
- >
551
- <CameraIcon className="h-5 w-5 text-indigo-400" />
552
- </button>
553
- <MicrophoneButton />
554
- <EndCallButton />
555
- </div>
556
- </div>`}
557
- </pre>
558
- </div>
559
- </div>
560
- </div>
561
-
562
- {/* Streaming Dashboard */}
563
- <div className="!space-y-4">
564
- <h3 className="text-fm-icon-info! text-lg font-semibold">
565
- Live Streaming Dashboard
566
- </h3>
567
- <div className="!space-y-4">
568
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
569
- <div className="border-fm-divider-primary bg-fm-surface-secondary overflow-hidden rounded-lg border">
570
- <div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center justify-between border-b p-4">
571
- <div className="flex items-center gap-3">
572
- <div className="flex items-center gap-2">
573
- <div className="bg-fm-icon-negative h-3 w-3 animate-pulse rounded-full"></div>
574
- <span className="text-fm-icon-active text-sm">
575
- LIVE
576
- </span>
577
- </div>
578
- <span className="text-fm-tertiary text-sm">
579
-
580
- </span>
581
- <span className="text-fm-tertiary text-sm">
582
- 1,247 viewers
583
- </span>
584
- </div>
585
- <div className="flex items-center gap-2">
586
- <button className="border-fm-icon-info/30 bg-fm-icon-info/20 hover:bg-fm-icon-info/30 rounded border p-2 transition-colors">
587
- <CameraIcon className="text-fm-icon-info h-4 w-4" />
588
- </button>
589
- <button className="border-fm-divider-primary bg-fm-surface-secondary hover:bg-fm-divider-primary rounded border p-2 transition-colors">
590
- <span className="text-xs">⚙️</span>
591
- </button>
592
- </div>
593
- </div>
594
- <div className="p-6">
595
- <div className="mb-4 grid grid-cols-2 gap-4">
596
- <div className="bg-fm-surface-secondary rounded-lg p-4 text-center">
597
- <div className="text-fm-icon-positive text-lg font-bold">
598
- 1080p
599
- </div>
600
- <div className="text-fm-tertiary text-xs">
601
- Video Quality
602
- </div>
603
- </div>
604
- <div className="bg-fm-surface-secondary rounded-lg p-4 text-center">
605
- <div className="text-fm-icon-info text-lg font-bold">
606
- 60fps
607
- </div>
608
- <div className="text-fm-tertiary text-xs">
609
- Frame Rate
610
- </div>
611
- </div>
612
- </div>
613
- <div className="text-center">
614
- <div className="text-fm-icon-active text-sm font-medium">
615
- Stream Status: Active
616
- </div>
617
- <div className="text-fm-tertiary text-xs">
618
- Camera feed broadcasting
619
- </div>
620
- </div>
621
- </div>
622
- </div>
623
- </div>
624
- <div className="bg-fm-surface-secondary rounded-lg p-4">
625
- <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
626
- {`// Live streaming dashboard
627
- <div className="streaming-dashboard">
628
- <div className="stream-header">
629
- <div className="live-status">
630
- <LiveIndicator />
631
- <span>LIVE</span>
632
- <ViewerCount count={1247} />
633
- </div>
634
- <div className="stream-controls">
635
- <button
636
- onClick={toggleStreamCamera}
637
- className="camera-control"
638
- aria-label="Toggle stream camera"
639
- >
640
- <CameraIcon className="h-4 w-4 text-indigo-400" />
641
- </button>
642
- <StreamSettingsButton />
643
- </div>
644
- </div>
645
- <div className="stream-metrics">
646
- <QualityIndicator quality="1080p" />
647
- <FrameRateIndicator fps={60} />
648
- </div>
649
- </div>`}
650
- </pre>
651
- </div>
652
- </div>
653
- </div>
654
-
655
- {/* Content Creation Studio */}
656
- <div className="!space-y-4">
657
- <h3 className="text-fm-icon-info! text-lg font-semibold">
658
- Content Creation Studio
659
- </h3>
660
- <div className="!space-y-4">
661
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
662
- <div className="border-fm-divider-primary bg-fm-surface-secondary rounded-lg border p-6">
663
- <div className="mb-6 flex items-start justify-between">
664
- <div>
665
- <h4 className="text-fm-icon-active text-lg font-semibold">
666
- Recording Studio
667
- </h4>
668
- <p className="text-fm-tertiary text-sm">
669
- Professional video production
670
- </p>
671
- </div>
672
- <div className="flex items-center gap-2">
673
- <span className="border-fm-icon-negative/30 bg-fm-icon-negative/20 text-fm-icon-negative rounded border px-2 py-1 text-xs">
674
- REC
675
- </span>
676
- </div>
677
- </div>
678
- <div className="mb-6 grid grid-cols-3 gap-4">
679
- <div className="bg-fm-surface-secondary rounded-lg p-4 text-center">
680
- <CameraIcon className="text-fm-icon-info mx-auto mb-2 h-8 w-8" />
681
- <div className="text-fm-icon-active text-sm font-medium">
682
- Main Camera
683
- </div>
684
- <div className="text-fm-icon-positive text-xs">
685
- Active
686
- </div>
687
- </div>
688
- <div className="bg-fm-surface-secondary rounded-lg p-4 text-center">
689
- <CameraIcon className="text-fm-placeholder mx-auto mb-2 h-8 w-8" />
690
- <div className="text-fm-icon-active text-sm font-medium">
691
- Side Angle
692
- </div>
693
- <div className="text-fm-placeholder text-xs">
694
- Standby
695
- </div>
696
- </div>
697
- <div className="bg-fm-surface-secondary rounded-lg p-4 text-center">
698
- <CameraIcon className="text-fm-placeholder mx-auto mb-2 h-8 w-8" />
699
- <div className="text-fm-icon-active text-sm font-medium">
700
- Overhead
701
- </div>
702
- <div className="text-fm-placeholder text-xs">
703
- Standby
704
- </div>
705
- </div>
706
- </div>
707
- <div className="flex items-center justify-between">
708
- <div className="flex items-center gap-3">
709
- <button className="border-fm-icon-negative/30 bg-fm-icon-negative/20 text-fm-icon-negative hover:bg-fm-icon-negative/30 rounded border px-4 py-2 transition-colors">
710
- Stop Recording
711
- </button>
712
- <button className="border-fm-divider-primary bg-fm-surface-secondary text-fm-icon-active hover:bg-fm-divider-primary rounded border px-4 py-2 transition-colors">
713
- Pause
714
- </button>
715
- </div>
716
- <div className="text-fm-tertiary text-sm">
717
- Recording: 12:34
718
- </div>
719
- </div>
720
- </div>
721
- </div>
722
- <div className="bg-fm-surface-secondary rounded-lg p-4">
723
- <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
724
- {`// Multi-camera content creation studio
725
- <div className="recording-studio">
726
- <div className="studio-header">
727
- <div className="studio-info">
728
- <h3>Recording Studio</h3>
729
- <p>Professional video production</p>
730
- </div>
731
- <RecordingIndicator isRecording={true} />
732
- </div>
733
- <div className="camera-grid">
734
- {cameras.map((camera, index) => (
735
- <div key={camera.id} className="camera-feed">
736
- <CameraIcon
737
- className={camera.active ? 'h-8 w-8 text-indigo-400' : 'h-8 w-8 text-white/40'}
738
- />
739
- <div className="camera-label">{camera.name}</div>
740
- <div className="camera-status">{camera.status}</div>
741
- </div>
742
- ))}
743
- </div>
744
- <div className="recording-controls">
745
- <RecordingControls />
746
- <TimerDisplay duration={recordingDuration} />
747
- </div>
748
- </div>`}
749
- </pre>
750
- </div>
751
- </div>
752
- </div>
753
-
754
- {/* Security Camera System */}
755
- <div className="!space-y-4">
756
- <h3 className="text-fm-icon-info! text-lg font-semibold">
757
- Security Camera System
758
- </h3>
759
- <div className="!space-y-4">
760
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
761
- <div className="bg-fm-surface-secondary rounded-lg p-4">
762
- <div className="mb-4 flex items-center justify-between">
763
- <h4 className="text-fm-icon-active text-sm font-semibold">
764
- Security Monitor
765
- </h4>
766
- <div className="flex items-center gap-2">
767
- <div className="bg-fm-icon-positive h-2 w-2 animate-pulse rounded-full"></div>
768
- <span className="text-fm-tertiary text-xs">
769
- All systems operational
770
- </span>
771
- </div>
772
- </div>
773
- <div className="grid grid-cols-2 gap-3">
774
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded border p-3">
775
- <div className="mb-2 flex items-center justify-between">
776
- <span className="text-fm-tertiary text-xs">
777
- Camera 01
778
- </span>
779
- <CameraIcon className="text-fm-icon-positive h-3 w-3" />
780
- </div>
781
- <div className="bg-fm-surface-secondary flex aspect-video items-center justify-center rounded-sm">
782
- <span className="text-fm-placeholder text-xs">
783
- Front Entrance
784
- </span>
785
- </div>
786
- </div>
787
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded border p-3">
788
- <div className="mb-2 flex items-center justify-between">
789
- <span className="text-fm-tertiary text-xs">
790
- Camera 02
791
- </span>
792
- <CameraIcon className="text-fm-icon-positive h-3 w-3" />
793
- </div>
794
- <div className="bg-fm-surface-secondary flex aspect-video items-center justify-center rounded-sm">
795
- <span className="text-fm-placeholder text-xs">
796
- Parking Lot
797
- </span>
798
- </div>
799
- </div>
800
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded border p-3">
801
- <div className="mb-2 flex items-center justify-between">
802
- <span className="text-fm-tertiary text-xs">
803
- Camera 03
804
- </span>
805
- <CameraIcon className="text-fm-icon-negative h-3 w-3" />
806
- </div>
807
- <div className="bg-fm-surface-secondary flex aspect-video items-center justify-center rounded-sm">
808
- <span className="text-fm-icon-negative text-xs">
809
- Offline
810
- </span>
811
- </div>
812
- </div>
813
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded border p-3">
814
- <div className="mb-2 flex items-center justify-between">
815
- <span className="text-fm-tertiary text-xs">
816
- Camera 04
817
- </span>
818
- <CameraIcon className="text-fm-icon-positive h-3 w-3" />
819
- </div>
820
- <div className="bg-fm-surface-secondary flex aspect-video items-center justify-center rounded-sm">
821
- <span className="text-fm-placeholder text-xs">
822
- Back Exit
823
- </span>
824
- </div>
825
- </div>
826
- </div>
827
- </div>
828
- </div>
829
- <div className="bg-fm-surface-secondary rounded-lg p-4">
830
- <pre className="text-fm-icon-positive! overflow-x-auto text-sm">
831
- {`// Security camera monitoring system
832
- <div className="security-monitor">
833
- <div className="monitor-header">
834
- <h3>Security Monitor</h3>
835
- <SystemStatus status="operational" />
836
- </div>
837
- <div className="camera-grid">
838
- {securityCameras.map((camera) => (
839
- <div key={camera.id} className="camera-feed">
840
- <div className="camera-header">
841
- <span className="camera-label">{camera.name}</span>
842
- <CameraIcon
843
- className={
844
- camera.status === 'online'
845
- ? 'h-3 w-3 text-emerald-400'
846
- : 'h-3 w-3 text-red-400'
847
- }
848
- />
849
- </div>
850
- <VideoFeed
851
- src={camera.stream}
852
- status={camera.status}
55
+ }`,
56
+ livePreview: (
57
+ <button className="flex items-center gap-2">
58
+ <CameraIcon className="text-fm-icon-active h-6 w-6" />
59
+ </button>
60
+ ),
61
+ }}
62
+ relatedIcons={[
63
+ {
64
+ name: "ImageIcon",
65
+ description: "Image / media placeholder",
66
+ icon: ImageIcon,
67
+ accentToken: "info",
68
+ },
69
+ {
70
+ name: "EditBigIcon",
71
+ description: "Edit / modify action icon",
72
+ icon: EditBigIcon,
73
+ accentToken: "positive",
74
+ },
75
+ {
76
+ name: "VideoPlaylistIcon",
77
+ description: "Video playlist / queue icon",
78
+ icon: VideoPlaylistIcon,
79
+ accentToken: "warning",
80
+ },
81
+ {
82
+ name: "CircularPlayIcon",
83
+ description: "Circular play button icon",
84
+ icon: CircularPlayIcon,
85
+ accentToken: "negative",
86
+ },
87
+ ]}
853
88
  />
854
- </div>
855
- ))}
856
- </div>
857
- </div>`}
858
- </pre>
859
- </div>
860
- </div>
861
- </div>
862
- </div>
863
- </div>
864
-
865
- {/* Accessibility */}
866
- <div className="!space-y-8">
867
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
868
- Accessibility Features
869
- </h2>
870
- <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
871
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
872
- <h3 className="text-fm-icon-positive! text-lg font-semibold">
873
- ✅ Built-in Features
874
- </h3>
875
- <ul className="text-fm-secondary! !space-y-2 text-sm">
876
- <li className="text-fm-secondary!">
877
- Uses Radix UI AccessibleIcon wrapper
878
- </li>
879
- <li className="text-fm-secondary!">
880
- Provides screen reader label "Camera icon"
881
- </li>
882
- <li className="text-fm-secondary!">
883
- Supports keyboard navigation when interactive
884
- </li>
885
- <li className="text-fm-secondary!">
886
- Maintains proper color contrast ratios
887
- </li>
888
- <li className="text-fm-secondary!">
889
- Uses round strokeLinecap for smooth visual appearance
890
- </li>
891
- </ul>
892
- </div>
893
-
894
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-4 rounded-lg border p-6">
895
- <h3 className="text-fm-icon-info! text-lg font-semibold">
896
- 💡 Best Practices
897
- </h3>
898
- <ul className="text-fm-secondary !space-y-2 text-sm">
899
- <li className="text-fm-secondary!">
900
- Always provide descriptive aria-labels for camera
901
- controls
902
- </li>
903
- <li className="text-fm-secondary!">
904
- Use color coding to indicate camera status (green=on,
905
- red=off)
906
- </li>
907
- <li className="text-fm-secondary!">
908
- Ensure sufficient touch target size (44px minimum)
909
- </li>
910
- <li className="text-fm-secondary!">
911
- Provide visual feedback for camera state changes
912
- </li>
913
- <li className="text-fm-secondary!">
914
- Consider privacy notifications when camera is active
915
- </li>
916
- </ul>
917
- </div>
918
- </div>
919
-
920
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-6">
921
- <h3 className="text-fm-icon-info! mb-4 text-lg font-semibold">
922
- Proper ARIA Implementation
923
- </h3>
924
- <div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
925
- <div className="bg-fm-surface-secondary rounded-lg p-4">
926
- <pre className="text-fm-icon-info! overflow-x-auto text-sm">
927
- {`// Video call camera toggle
928
- <button
929
- aria-label={cameraEnabled ? 'Turn off camera' : 'Turn on camera'}
930
- aria-pressed={cameraEnabled}
931
- onClick={toggleCamera}
932
- className={cameraEnabled ? 'camera-on' : 'camera-off'}
933
- >
934
- <CameraIcon className="h-5 w-5 text-indigo-400" />
935
- </button>
936
-
937
- // Live streaming camera control
938
- <button
939
- aria-label="Toggle streaming camera"
940
- aria-describedby="stream-status"
941
- onClick={toggleStreamCamera}
942
- >
943
- <CameraIcon className="h-4 w-4 text-indigo-400" />
944
- </button>
945
- <div id="stream-status" className="sr-only">
946
- Camera is currently {isStreaming ? 'broadcasting' : 'offline'}
947
- </div>
948
-
949
- // Security camera feed
950
- <div
951
- role="img"
952
- aria-label={camera.name + ' security feed'}
953
- aria-describedby={camera.id + '-status'}
954
- >
955
- <CameraIcon
956
- className={camera.online ? 'text-emerald-400' : 'text-red-400'}
957
- />
958
- </div>
959
- <div id={camera.id + '-status'} className="sr-only">
960
- Camera status: {camera.online ? 'online' : 'offline'}
961
- </div>
962
-
963
- // Recording studio camera selection
964
- <button
965
- aria-label={camera.name + ' camera'}
966
- aria-pressed={camera.active}
967
- aria-describedby="camera-controls-hint"
968
- onClick={() => selectCamera(camera.id)}
969
- >
970
- <CameraIcon className="h-8 w-8 text-indigo-400" />
971
- </button>
972
- <div id="camera-controls-hint" className="sr-only">
973
- Press to activate this camera feed
974
- </div>`}
975
- </pre>
976
- </div>
977
- <div className="!space-y-4">
978
- <p className="text-fm-secondary! text-sm">
979
- When using CameraIcon for video controls, always provide
980
- clear context about the camera's current state and what
981
- action the control will perform.
982
- </p>
983
- <div className="border-fm-icon-info/20 bg-fm-icon-info/10 rounded-lg border p-4">
984
- <div className="text-fm-icon-info flex items-center gap-2 text-sm">
985
- <CameraIcon className="h-4 w-4" />
986
- <span>
987
- Consider privacy indicators when camera is active
988
- </span>
989
- </div>
990
- </div>
991
- </div>
992
- </div>
993
- </div>
994
- </div>
995
-
996
- {/* Related Icons */}
997
- <div className="!space-y-8">
998
- <h2 className="text-fm-icon-active! text-center text-3xl font-bold">
999
- Related Icons
1000
- </h2>
1001
- <div className="grid grid-cols-2 gap-6 md:grid-cols-4">
1002
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
1003
- <div className="bg-fm-secondary-500/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
1004
- <span className="text-fm-icon-active! !text-2xl">🎙️</span>
1005
- </div>
1006
- <div>
1007
- <div className="text-fm-icon-active font-medium">
1008
- MicrophoneIcon
1009
- </div>
1010
- <div className="text-fm-tertiary text-xs">
1011
- Audio recording
1012
- </div>
1013
- </div>
1014
- </div>
1015
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
1016
- <div className="bg-fm-icon-negative/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
1017
- <span className="text-fm-icon-active! !text-2xl">⏺️</span>
1018
- </div>
1019
- <div>
1020
- <div className="text-fm-icon-active font-medium">
1021
- RecordIcon
1022
- </div>
1023
- <div className="text-fm-tertiary text-xs">
1024
- Start recording
1025
- </div>
1026
- </div>
1027
- </div>
1028
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
1029
- <div className="bg-fm-icon-positive/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
1030
- <span className="text-fm-icon-active! !text-2xl">📹</span>
1031
- </div>
1032
- <div>
1033
- <div className="text-fm-icon-active font-medium">
1034
- VideoIcon
1035
- </div>
1036
- <div className="text-fm-tertiary text-xs">Video file</div>
1037
- </div>
1038
- </div>
1039
- <div className="border-fm-divider-secondary bg-fm-surface-secondary !space-y-3 rounded-lg border p-4 text-center">
1040
- <div className="bg-fm-icon-info/20 !mx-auto flex h-12 w-12 items-center justify-center rounded-lg">
1041
- <span className="text-fm-icon-active! !text-2xl">📡</span>
1042
- </div>
1043
- <div>
1044
- <div className="text-fm-icon-active font-medium">
1045
- BroadcastIcon
1046
- </div>
1047
- <div className="text-fm-tertiary text-xs">
1048
- Live streaming
1049
- </div>
1050
- </div>
1051
- </div>
1052
- </div>
1053
- </div>
1054
- </div>
1055
-
1056
- {/* Footer */}
1057
- <div className="border-fm-divider-secondary bg-fm-surface-secondary border-t backdrop-blur-xl">
1058
- <div className="!mx-auto max-w-7xl px-6 py-8">
1059
- <div className="!space-y-4 text-center">
1060
- <p className="text-fm-tertiary!">
1061
- CameraIcon is part of the Aural UI icon library, built with
1062
- accessibility and video production best practices in mind.
1063
- </p>
1064
- <p className="text-fm-placeholder! text-sm">
1065
- All icons use Radix UI's AccessibleIcon for screen reader
1066
- compatibility and follow WCAG guidelines for media controls
1067
- and privacy considerations.
1068
- </p>
1069
- </div>
1070
- </div>
1071
- </div>
1072
- </div>
1073
- </>
1074
89
  ),
1075
90
  },
1076
91
  },
1077
92
  tags: ["autodocs"],
1078
93
  argTypes: {
1079
- width: {
1080
- control: { type: "range", min: 8, max: 96, step: 2 },
1081
- description: "Width of the icon in pixels",
1082
- },
1083
- withAccessibility: {
1084
- control: "boolean",
1085
- description: "Whether to wrap the icon with accessibility features",
1086
- },
1087
- height: {
1088
- control: { type: "range", min: 8, max: 96, step: 2 },
1089
- description: "Height of the icon in pixels",
1090
- },
1091
- stroke: {
1092
- control: "color",
1093
- description: "Stroke color of the icon",
1094
- },
1095
- strokeWidth: {
1096
- control: { type: "range", min: 0.5, max: 4, step: 0.5 },
1097
- description: "Width of the stroke",
1098
- },
1099
- strokeLinecap: {
1100
- control: { type: "select" },
1101
- options: ["round", "square", "butt"],
1102
- description: "Style of line endings",
1103
- },
1104
94
  className: {
1105
95
  control: "text",
1106
- description: "CSS classes for styling (use for overrides)",
96
+ description: "CSS classes including color token",
1107
97
  },
1108
- onClick: {
1109
- action: "clicked",
1110
- description: "Click handler for interactive use",
98
+ withAccessibility: {
99
+ control: "boolean",
100
+ description: "Wrap with accessibility label",
1111
101
  },
1112
102
  },
1113
103
  }
@@ -1115,209 +105,74 @@ function VideoCall() {
1115
105
  export default meta
1116
106
  type Story = StoryObj<typeof CameraIcon>
1117
107
 
1118
- // Story parameters for consistent dark theme
1119
- const storyParameters = {
1120
- backgrounds: {
1121
- default: "dark",
1122
- values: [
1123
- { name: "dark", value: "var(--color-fm-surface-primary)" },
1124
- { name: "darker", value: "var(--color-fm-neutral-0)" },
1125
- ],
1126
- },
1127
- }
1128
-
1129
108
  export const Default: Story = {
1130
109
  args: {
1131
- className: "h-8 w-8 text-fm-icon-info",
110
+ className: "h-6 w-6 text-fm-icon-active",
1132
111
  withAccessibility: true,
1133
112
  },
1134
- parameters: storyParameters,
1135
113
  render: (args) => (
1136
- <div className="from-fm-surface-primary to-fm-surface-secondary flex h-32 min-h-dvh items-center justify-center rounded-lg bg-linear-to-br">
114
+ <IconDefaultCanvas>
1137
115
  <CameraIcon {...args} />
1138
- </div>
116
+ </IconDefaultCanvas>
1139
117
  ),
1140
118
  }
1141
119
 
1142
120
  export const SizeVariations: Story = {
1143
- parameters: {
1144
- ...storyParameters,
1145
- docs: {
1146
- description: {
1147
- story:
1148
- "CameraIcon in different sizes, from small video call controls to large content creation interfaces.",
1149
- },
1150
- },
1151
- },
1152
- render: () => (
1153
- <div className="from-fm-surface-primary to-fm-surface-secondary flex h-64 min-h-dvh items-center justify-center gap-8 rounded-lg bg-linear-to-br p-8">
1154
- <div className="text-center">
1155
- <CameraIcon className="text-fm-icon-info !mx-auto mb-2 h-3 w-3" />
1156
- <span className="text-fm-tertiary text-xs">12px</span>
1157
- </div>
1158
- <div className="text-center">
1159
- <CameraIcon className="text-fm-icon-info !mx-auto mb-2 h-4 w-4" />
1160
- <span className="text-fm-tertiary text-xs">16px</span>
1161
- </div>
1162
- <div className="text-center">
1163
- <CameraIcon className="text-fm-icon-info !mx-auto mb-2 h-5 w-5" />
1164
- <span className="text-fm-tertiary text-xs">20px</span>
1165
- </div>
1166
- <div className="text-center">
1167
- <CameraIcon className="text-fm-icon-info !mx-auto mb-2 h-6 w-6" />
1168
- <span className="text-fm-tertiary text-xs">24px</span>
1169
- </div>
1170
- <div className="text-center">
1171
- <CameraIcon className="text-fm-icon-info !mx-auto mb-2 h-8 w-8" />
1172
- <span className="text-fm-tertiary text-xs">32px</span>
1173
- </div>
1174
- <div className="text-center">
1175
- <CameraIcon className="text-fm-icon-info !mx-auto mb-2 h-12 w-12" />
1176
- <span className="text-fm-tertiary text-xs">48px</span>
1177
- </div>
1178
- </div>
1179
- ),
121
+ render: () => <IconSizeVariations icon={CameraIcon} />,
1180
122
  }
1181
123
 
1182
124
  export const ColorVariations: Story = {
1183
- parameters: {
1184
- ...storyParameters,
1185
- docs: {
1186
- description: {
1187
- story:
1188
- "CameraIcon in different semantic colors for various video and camera applications.",
1189
- },
1190
- },
1191
- },
1192
- render: () => (
1193
- <div className="from-fm-surface-primary to-fm-surface-secondary grid min-h-dvh grid-cols-2 items-center justify-center gap-6 rounded-lg bg-linear-to-br p-8 md:grid-cols-4">
1194
- <div className="text-center">
1195
- <div className="border-fm-icon-info/30 bg-fm-icon-info/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
1196
- <CameraIcon className="text-fm-icon-info h-8 w-8" />
1197
- </div>
1198
- <div className="text-fm-icon-active text-sm font-medium">
1199
- Video Call
1200
- </div>
1201
- <div className="text-fm-icon-info text-xs">text-fm-icon-info</div>
1202
- </div>
1203
- <div className="text-center">
1204
- <div className="border-fm-icon-info/30 bg-fm-icon-info/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
1205
- <CameraIcon className="text-fm-icon-info h-8 w-8" />
1206
- </div>
1207
- <div className="text-fm-icon-active text-sm font-medium">
1208
- Live Stream
1209
- </div>
1210
- <div className="text-fm-icon-info text-xs">text-fm-icon-info</div>
1211
- </div>
1212
- <div className="text-center">
1213
- <div className="border-fm-icon-positive/30 bg-fm-icon-positive/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
1214
- <CameraIcon className="text-fm-icon-positive h-8 w-8" />
1215
- </div>
1216
- <div className="text-fm-icon-active text-sm font-medium">
1217
- Recording Active
1218
- </div>
1219
- <div className="text-fm-icon-positive text-xs">
1220
- text-fm-icon-positive
1221
- </div>
1222
- </div>
1223
- <div className="text-center">
1224
- <div className="border-fm-icon-negative/30 bg-fm-icon-negative/20 !mx-auto mb-3 flex h-16 w-16 items-center justify-center rounded-lg border">
1225
- <CameraIcon className="text-fm-icon-negative h-8 w-8" />
1226
- </div>
1227
- <div className="text-fm-icon-active text-sm font-medium">
1228
- Camera Off
1229
- </div>
1230
- <div className="text-fm-icon-negative text-xs">
1231
- text-fm-icon-negative
1232
- </div>
1233
- </div>
1234
- </div>
1235
- ),
125
+ render: () => <IconColorVariations icon={CameraIcon} />,
1236
126
  }
1237
127
 
1238
128
  export const UsageExamples: Story = {
1239
- parameters: {
1240
- ...storyParameters,
1241
- docs: {
1242
- description: {
1243
- story:
1244
- "Real-world usage examples showing CameraIcon in different video and streaming contexts.",
1245
- },
1246
- },
1247
- },
1248
129
  render: () => (
1249
- <div className="from-fm-surface-primary to-fm-surface-secondary min-h-dvh !space-y-8 rounded-lg bg-linear-to-br p-8">
1250
- {/* Video Call */}
1251
- <div className="!space-y-2">
1252
- <h3 className="text-fm-icon-active text-sm font-medium">
1253
- Video Call Interface
1254
- </h3>
1255
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
1256
- <div className="bg-fm-surface-secondary flex items-center gap-3 rounded-lg p-3">
1257
- <button className="border-fm-icon-info/30 bg-fm-icon-info/20 hover:bg-fm-icon-info/30 rounded-lg border p-2 transition-colors">
1258
- <CameraIcon className="text-fm-icon-info h-5 w-5" />
1259
- </button>
1260
- <button className="border-fm-divider-primary bg-fm-surface-secondary hover:bg-fm-divider-primary rounded-lg border p-2 transition-colors">
1261
- <div className="relative h-5 w-5">
1262
- <div className="bg-fm-surface-contrast absolute inset-0 rounded-full"></div>
1263
- <div className="bg-fm-surface-secondary absolute top-1 left-1 h-3 w-3 rounded-full"></div>
1264
- </div>
1265
- </button>
1266
- <button className="border-fm-icon-negative/30 bg-fm-icon-negative/20 hover:bg-fm-icon-negative/30 rounded-lg border p-2 transition-colors">
1267
- <div className="relative h-5 w-5">
1268
- <div className="border-fm-icon-negative absolute inset-0 rotate-45 border-2"></div>
1269
- <div className="border-fm-icon-negative absolute inset-0 -rotate-45 border-2"></div>
1270
- </div>
130
+ <IconUsageCanvas>
131
+ <IconUsageSection title="Profile Photo Upload">
132
+ <div className="flex flex-col items-center gap-3">
133
+ <div className="bg-fm-divider-secondary relative h-20 w-20 rounded-full">
134
+ <button className="bg-fm-surface-primary border-fm-divider-secondary absolute right-0 bottom-0 flex h-7 w-7 items-center justify-center rounded-full border">
135
+ <CameraIcon className="text-fm-icon-active h-4 w-4" />
1271
136
  </button>
1272
137
  </div>
138
+ <span className="text-fm-secondary font-fm-text text-xs">
139
+ Tap to change photo
140
+ </span>
1273
141
  </div>
1274
- </div>
1275
-
1276
- {/* Streaming Dashboard */}
1277
- <div className="!space-y-2">
1278
- <h3 className="text-fm-icon-active text-sm font-medium">
1279
- Live Streaming Dashboard
1280
- </h3>
1281
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-4">
1282
- <div className="bg-fm-surface-secondary flex items-center justify-between rounded p-3">
1283
- <div className="flex items-center gap-3">
1284
- <div className="bg-fm-icon-negative h-3 w-3 animate-pulse rounded-full"></div>
1285
- <span className="text-fm-icon-active text-sm">LIVE</span>
1286
- <span className="text-fm-tertiary text-sm">1,247 viewers</span>
1287
- </div>
1288
- <div className="flex items-center gap-2">
1289
- <button className="border-fm-icon-info/30 bg-fm-icon-info/20 hover:bg-fm-icon-info/30 rounded border p-2 transition-colors">
1290
- <CameraIcon className="text-fm-icon-info h-4 w-4" />
1291
- </button>
1292
- </div>
1293
- </div>
142
+ </IconUsageSection>
143
+
144
+ <IconUsageSection title="Media Input Button">
145
+ <button className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center gap-2 rounded-xl border px-4 py-2">
146
+ <CameraIcon className="text-fm-icon-active h-4 w-4" />
147
+ <span className="text-fm-primary font-fm-text text-sm">
148
+ Add photo or video
149
+ </span>
150
+ </button>
151
+ </IconUsageSection>
152
+
153
+ <IconUsageSection title="Toolbar Icons">
154
+ <div className="border-fm-divider-secondary bg-fm-surface-secondary flex items-center gap-3 rounded-xl border px-4 py-2">
155
+ {[CameraIcon, ImageIcon, VideoPlaylistIcon].map((Icon, i) => (
156
+ <button key={i}>
157
+ <Icon
158
+ className={`h-5 w-5 ${i === 0 ? "text-fm-icon-active" : "text-fm-icon-inactive"}`}
159
+ />
160
+ </button>
161
+ ))}
1294
162
  </div>
1295
- </div>
1296
- </div>
163
+ </IconUsageSection>
164
+ </IconUsageCanvas>
1297
165
  ),
1298
166
  }
1299
167
 
1300
168
  export const Playground: Story = {
1301
- parameters: {
1302
- ...storyParameters,
1303
- docs: {
1304
- description: {
1305
- story:
1306
- "Interactive playground to experiment with different CameraIcon configurations.",
1307
- },
1308
- },
1309
- },
1310
169
  args: {
1311
- width: 24,
1312
- height: 24,
1313
- className: "text-fm-icon-info",
1314
- strokeLinecap: "round",
170
+ className: "h-8 w-8 text-fm-icon-active",
171
+ withAccessibility: true,
1315
172
  },
1316
173
  render: (args) => (
1317
- <div className="from-fm-surface-primary to-fm-surface-secondary flex h-64 min-h-dvh items-center justify-center rounded-lg bg-linear-to-br">
1318
- <div className="border-fm-divider-secondary bg-fm-surface-secondary rounded-lg border p-8">
1319
- <CameraIcon {...args} />
1320
- </div>
1321
- </div>
174
+ <IconPlaygroundCanvas>
175
+ <CameraIcon {...args} />
176
+ </IconPlaygroundCanvas>
1322
177
  ),
1323
178
  }