aural-ui 2.0.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 (308) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +456 -0
  3. package/dist/components/aspect-ratio/AspectRatio.stories.tsx +1327 -0
  4. package/dist/components/aspect-ratio/index.tsx +10 -0
  5. package/dist/components/aspect-ratio/meta.ts +8 -0
  6. package/dist/components/avatar/Avatar.stories.tsx +645 -0
  7. package/dist/components/avatar/index.tsx +50 -0
  8. package/dist/components/avatar/meta.ts +8 -0
  9. package/dist/components/badge/Badge.stories.tsx +169 -0
  10. package/dist/components/badge/index.tsx +28 -0
  11. package/dist/components/badge/meta.ts +6 -0
  12. package/dist/components/banner/Banner.stories.tsx +475 -0
  13. package/dist/components/banner/index.tsx +256 -0
  14. package/dist/components/banner/meta.ts +36 -0
  15. package/dist/components/button/Button.stories.tsx +74 -0
  16. package/dist/components/button/index.tsx +158 -0
  17. package/dist/components/button/meta.ts +33 -0
  18. package/dist/components/card/Card.stories.tsx +377 -0
  19. package/dist/components/card/index.tsx +85 -0
  20. package/dist/components/card/meta.ts +14 -0
  21. package/dist/components/char-count/CharCount.stories.tsx +334 -0
  22. package/dist/components/char-count/index.tsx +51 -0
  23. package/dist/components/char-count/meta.ts +13 -0
  24. package/dist/components/checkbox/Checkbox.stories.tsx +209 -0
  25. package/dist/components/checkbox/index.tsx +34 -0
  26. package/dist/components/checkbox/meta.ts +19 -0
  27. package/dist/components/chip/Chip.stories.tsx +207 -0
  28. package/dist/components/chip/index.tsx +92 -0
  29. package/dist/components/chip/meta.ts +17 -0
  30. package/dist/components/circular-loader/CircularLoader.stories.tsx +741 -0
  31. package/dist/components/circular-loader/index.tsx +138 -0
  32. package/dist/components/circular-loader/meta.ts +11 -0
  33. package/dist/components/collapsible/Collapsible.stories.tsx +319 -0
  34. package/dist/components/collapsible/index.tsx +158 -0
  35. package/dist/components/collapsible/meta.ts +22 -0
  36. package/dist/components/command/Command.stories.tsx +996 -0
  37. package/dist/components/command/index.tsx +324 -0
  38. package/dist/components/command/meta.ts +18 -0
  39. package/dist/components/dialog/Dialog.stories.tsx +963 -0
  40. package/dist/components/dialog/index.tsx +250 -0
  41. package/dist/components/dialog/meta.ts +28 -0
  42. package/dist/components/divider/Divider.stories.tsx +633 -0
  43. package/dist/components/divider/index.tsx +181 -0
  44. package/dist/components/divider/meta.ts +12 -0
  45. package/dist/components/dot-loader/DotLoader.stories.tsx +352 -0
  46. package/dist/components/dot-loader/index.tsx +78 -0
  47. package/dist/components/dot-loader/meta.ts +14 -0
  48. package/dist/components/dropdown/Dropdown.stories.tsx +1210 -0
  49. package/dist/components/dropdown/index.tsx +479 -0
  50. package/dist/components/dropdown/meta.ts +21 -0
  51. package/dist/components/form/Form.stories.tsx +320 -0
  52. package/dist/components/form/index.tsx +183 -0
  53. package/dist/components/form/meta.ts +11 -0
  54. package/dist/components/helper-text/HelperText.stories.tsx +254 -0
  55. package/dist/components/helper-text/index.tsx +102 -0
  56. package/dist/components/helper-text/meta.ts +18 -0
  57. package/dist/components/hover-card/HoverCard.stories.tsx +1328 -0
  58. package/dist/components/hover-card/index.tsx +42 -0
  59. package/dist/components/hover-card/meta.ts +12 -0
  60. package/dist/components/icon-button/IconButton.stories.tsx +252 -0
  61. package/dist/components/icon-button/index.tsx +130 -0
  62. package/dist/components/icon-button/meta.ts +20 -0
  63. package/dist/components/if-else/if-else.stories.tsx +100 -0
  64. package/dist/components/if-else/index.tsx +56 -0
  65. package/dist/components/if-else/meta.ts +6 -0
  66. package/dist/components/index.ts +70 -0
  67. package/dist/components/input/Input.stories.tsx +431 -0
  68. package/dist/components/input/index.tsx +487 -0
  69. package/dist/components/input/meta.ts +28 -0
  70. package/dist/components/label/Label.stories.tsx +200 -0
  71. package/dist/components/label/index.tsx +43 -0
  72. package/dist/components/label/meta.ts +14 -0
  73. package/dist/components/list/List.stories.tsx +963 -0
  74. package/dist/components/list/index.tsx +567 -0
  75. package/dist/components/list/meta.ts +24 -0
  76. package/dist/components/marquee/Marquee.stories.tsx +819 -0
  77. package/dist/components/marquee/index.tsx +107 -0
  78. package/dist/components/marquee/meta.ts +6 -0
  79. package/dist/components/overlay/Overlay.stories.tsx +954 -0
  80. package/dist/components/overlay/index.tsx +58 -0
  81. package/dist/components/overlay/meta.ts +10 -0
  82. package/dist/components/pagination/Pagination.stories.tsx +354 -0
  83. package/dist/components/pagination/index.tsx +455 -0
  84. package/dist/components/pagination/meta.ts +29 -0
  85. package/dist/components/popover/Popover.stories.tsx +1037 -0
  86. package/dist/components/popover/index.tsx +67 -0
  87. package/dist/components/popover/meta.ts +12 -0
  88. package/dist/components/radio/Radio.stories.tsx +146 -0
  89. package/dist/components/radio/index.tsx +41 -0
  90. package/dist/components/radio/meta.ts +19 -0
  91. package/dist/components/resizable/Resizable.stories.tsx +866 -0
  92. package/dist/components/resizable/index.tsx +55 -0
  93. package/dist/components/resizable/meta.ts +12 -0
  94. package/dist/components/scroll-area/ScrollArea.stories.tsx +1104 -0
  95. package/dist/components/scroll-area/index.tsx +55 -0
  96. package/dist/components/scroll-area/meta.ts +8 -0
  97. package/dist/components/search/Search.stories.tsx +678 -0
  98. package/dist/components/search/index.tsx +141 -0
  99. package/dist/components/search/meta.ts +6 -0
  100. package/dist/components/select/Select.stories.tsx +962 -0
  101. package/dist/components/select/index.tsx +512 -0
  102. package/dist/components/select/meta.ts +40 -0
  103. package/dist/components/sheet/Sheet.stories.tsx +1060 -0
  104. package/dist/components/sheet/index.tsx +440 -0
  105. package/dist/components/sheet/meta.ts +38 -0
  106. package/dist/components/skelton/Skelton.stories.tsx +859 -0
  107. package/dist/components/skelton/index.tsx +17 -0
  108. package/dist/components/skelton/meta.ts +6 -0
  109. package/dist/components/slider/Slider.stories.tsx +876 -0
  110. package/dist/components/slider/index.tsx +156 -0
  111. package/dist/components/slider/meta.ts +29 -0
  112. package/dist/components/stepper/Stepper.stories.tsx +639 -0
  113. package/dist/components/stepper/index.tsx +650 -0
  114. package/dist/components/stepper/meta.ts +19 -0
  115. package/dist/components/switch/Switch.stories.tsx +85 -0
  116. package/dist/components/switch/index.tsx +37 -0
  117. package/dist/components/switch/meta.ts +24 -0
  118. package/dist/components/switch-case/SwitchCase.stories.tsx +209 -0
  119. package/dist/components/switch-case/index.tsx +89 -0
  120. package/dist/components/switch-case/meta.ts +6 -0
  121. package/dist/components/table/Table.stories.tsx +1095 -0
  122. package/dist/components/table/index.tsx +113 -0
  123. package/dist/components/table/meta.ts +20 -0
  124. package/dist/components/tabs/Tabs.stories.tsx +1379 -0
  125. package/dist/components/tabs/index.tsx +186 -0
  126. package/dist/components/tabs/meta.ts +25 -0
  127. package/dist/components/tag/Tag.stories.tsx +625 -0
  128. package/dist/components/tag/index.tsx +320 -0
  129. package/dist/components/tag/meta.ts +52 -0
  130. package/dist/components/textarea/TextArea.stories.tsx +723 -0
  131. package/dist/components/textarea/index.tsx +480 -0
  132. package/dist/components/textarea/meta.ts +23 -0
  133. package/dist/components/toast/Toast.stories.tsx +1427 -0
  134. package/dist/components/toast/index.tsx +26 -0
  135. package/dist/components/toast/meta.ts +19 -0
  136. package/dist/components/toggle/Toggle.stories.tsx +1093 -0
  137. package/dist/components/toggle/index.tsx +44 -0
  138. package/dist/components/toggle/meta.ts +19 -0
  139. package/dist/components/tooltip/Tooltip.stories.tsx +1548 -0
  140. package/dist/components/tooltip/index.tsx +304 -0
  141. package/dist/components/tooltip/meta.ts +21 -0
  142. package/dist/components/typography/Typography.stories.tsx +197 -0
  143. package/dist/components/typography/index.tsx +184 -0
  144. package/dist/components/typography/meta.ts +38 -0
  145. package/dist/fonts/LabGrotesque-Regular.ttf +0 -0
  146. package/dist/fonts/LabGrotesqueTRIAL-Bold.otf +0 -0
  147. package/dist/fonts/LabGrotesqueTRIAL-Light.otf +0 -0
  148. package/dist/fonts/LabGrotesqueTRIAL-Medium.otf +0 -0
  149. package/dist/fonts/LabGrotesqueTRIAL-Regular.otf +0 -0
  150. package/dist/fonts/PPSupplySans-Regular (1).otf +0 -0
  151. package/dist/fonts/PPSupplySans-Regular.otf +0 -0
  152. package/dist/fonts/PPSupplySans-Ultralight.otf +0 -0
  153. package/dist/hooks/index.ts +3 -0
  154. package/dist/hooks/use-previous/UsePrevious.stories.tsx +997 -0
  155. package/dist/hooks/use-previous/index.ts +15 -0
  156. package/dist/hooks/use-previous/meta.ts +6 -0
  157. package/dist/hooks/use-standalone-pagination/UseStandalonePagination.stories.tsx +983 -0
  158. package/dist/hooks/use-standalone-pagination/index.ts +146 -0
  159. package/dist/hooks/use-standalone-pagination/meta.ts +6 -0
  160. package/dist/icons/Icons.stories.tsx +29 -0
  161. package/dist/icons/alert-icon/AlertIcon.stories.tsx +991 -0
  162. package/dist/icons/alert-icon/index.tsx +48 -0
  163. package/dist/icons/alert-icon/meta.ts +8 -0
  164. package/dist/icons/all-icons.tsx +738 -0
  165. package/dist/icons/angle-down-icon/AngleDownIcon.stories.tsx +1031 -0
  166. package/dist/icons/angle-down-icon/index.tsx +25 -0
  167. package/dist/icons/angle-down-icon/meta.ts +8 -0
  168. package/dist/icons/arrow-box-left-icon/ArrowBoxLeftIcon.stories.tsx +1080 -0
  169. package/dist/icons/arrow-box-left-icon/index.tsx +24 -0
  170. package/dist/icons/arrow-box-left-icon/meta.ts +8 -0
  171. package/dist/icons/arrow-right-icon/ArrowRightIcon.stories.tsx +1151 -0
  172. package/dist/icons/arrow-right-icon/index.tsx +26 -0
  173. package/dist/icons/arrow-right-icon/meta.ts +8 -0
  174. package/dist/icons/arrow-right-up-icon/ArrowRightUpIcon.stories.tsx +1273 -0
  175. package/dist/icons/arrow-right-up-icon/index.tsx +24 -0
  176. package/dist/icons/arrow-right-up-icon/meta.ts +8 -0
  177. package/dist/icons/art-board-icon/ArtBoardIcon.stories.tsx +670 -0
  178. package/dist/icons/art-board-icon/index.tsx +24 -0
  179. package/dist/icons/art-board-icon/meta.ts +7 -0
  180. package/dist/icons/audio-bar-icon/AudioBarIcon.stories.tsx +1244 -0
  181. package/dist/icons/audio-bar-icon/index.tsx +19 -0
  182. package/dist/icons/audio-bar-icon/meta.ts +8 -0
  183. package/dist/icons/bubble-check-icon/BubbleCheckIcon.stories.tsx +1239 -0
  184. package/dist/icons/bubble-check-icon/index.tsx +24 -0
  185. package/dist/icons/bubble-check-icon/meta.ts +8 -0
  186. package/dist/icons/bubble-crossed-icon/BubbleCrossedIcon.stories.tsx +1228 -0
  187. package/dist/icons/bubble-crossed-icon/index.tsx +24 -0
  188. package/dist/icons/bubble-crossed-icon/meta.ts +8 -0
  189. package/dist/icons/bubble-sparkle-icon/BubbleSparkleIcon.stories.tsx +912 -0
  190. package/dist/icons/bubble-sparkle-icon/index.tsx +26 -0
  191. package/dist/icons/bubble-sparkle-icon/meta.ts +8 -0
  192. package/dist/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.stories.tsx +1021 -0
  193. package/dist/icons/chevron-double-left-icon/index.tsx +34 -0
  194. package/dist/icons/chevron-double-left-icon/meta.ts +8 -0
  195. package/dist/icons/chevron-double-right-icon/ChevronDoubleRightIcon.stories.tsx +1021 -0
  196. package/dist/icons/chevron-double-right-icon/index.tsx +34 -0
  197. package/dist/icons/chevron-double-right-icon/meta.ts +8 -0
  198. package/dist/icons/chevron-down-icon/ChevronDownIcon.stories.tsx +1001 -0
  199. package/dist/icons/chevron-down-icon/index.tsx +27 -0
  200. package/dist/icons/chevron-down-icon/meta.ts +8 -0
  201. package/dist/icons/chevron-left-icon/ChevronLeftIcon.stories.tsx +1029 -0
  202. package/dist/icons/chevron-left-icon/index.tsx +27 -0
  203. package/dist/icons/chevron-left-icon/meta.ts +8 -0
  204. package/dist/icons/chevron-right-icon/ChevronRightIcon.stories.tsx +1021 -0
  205. package/dist/icons/chevron-right-icon/index.tsx +27 -0
  206. package/dist/icons/chevron-right-icon/meta.ts +8 -0
  207. package/dist/icons/chevron-up-icon/ChevronUpIcon.stories.tsx +1036 -0
  208. package/dist/icons/chevron-up-icon/index.tsx +27 -0
  209. package/dist/icons/chevron-up-icon/meta.ts +8 -0
  210. package/dist/icons/command-icon/CommandIcon.stories.tsx +1098 -0
  211. package/dist/icons/command-icon/index.tsx +24 -0
  212. package/dist/icons/command-icon/meta.ts +8 -0
  213. package/dist/icons/cross-circle-icon/CrossCircleIcon.stories.tsx +1061 -0
  214. package/dist/icons/cross-circle-icon/index.tsx +23 -0
  215. package/dist/icons/cross-circle-icon/meta.ts +8 -0
  216. package/dist/icons/cross-icon/CrossIcon.stories.tsx +1027 -0
  217. package/dist/icons/cross-icon/index.tsx +24 -0
  218. package/dist/icons/cross-icon/meta.ts +8 -0
  219. package/dist/icons/edit-big-icon/EditBigIcon.stories.tsx +1092 -0
  220. package/dist/icons/edit-big-icon/index.tsx +22 -0
  221. package/dist/icons/edit-big-icon/meta.ts +8 -0
  222. package/dist/icons/eye-close-icon/EyeCloseIcon.stories.tsx +1090 -0
  223. package/dist/icons/eye-close-icon/index.tsx +26 -0
  224. package/dist/icons/eye-close-icon/meta.ts +8 -0
  225. package/dist/icons/eye-open-icon/EyeOpenIcon.stories.tsx +1098 -0
  226. package/dist/icons/eye-open-icon/index.tsx +24 -0
  227. package/dist/icons/eye-open-icon/meta.ts +8 -0
  228. package/dist/icons/feature-shine-icon/FeatureShineIcon.stories.tsx +1071 -0
  229. package/dist/icons/feature-shine-icon/index.tsx +29 -0
  230. package/dist/icons/feature-shine-icon/meta.ts +8 -0
  231. package/dist/icons/file-chart-icon/FileChartIcon.stories.tsx +1115 -0
  232. package/dist/icons/file-chart-icon/index.tsx +24 -0
  233. package/dist/icons/file-chart-icon/meta.ts +8 -0
  234. package/dist/icons/file-text-icon/FileTextIcon.stories.tsx +668 -0
  235. package/dist/icons/file-text-icon/index.tsx +24 -0
  236. package/dist/icons/file-text-icon/meta.ts +8 -0
  237. package/dist/icons/grip-vertical-icon/GripVerticalIcon.stories.tsx +1239 -0
  238. package/dist/icons/grip-vertical-icon/index.tsx +28 -0
  239. package/dist/icons/grip-vertical-icon/meta.ts +8 -0
  240. package/dist/icons/image-icon/ImageIcon.stories.tsx +1181 -0
  241. package/dist/icons/image-icon/index.tsx +24 -0
  242. package/dist/icons/image-icon/meta.ts +8 -0
  243. package/dist/icons/import-folder-icon/ImportFolderIcon.stories.tsx +1248 -0
  244. package/dist/icons/import-folder-icon/index.tsx +22 -0
  245. package/dist/icons/import-folder-icon/meta.ts +8 -0
  246. package/dist/icons/index.ts +46 -0
  247. package/dist/icons/light-bulb-simple-icon/LightBulbSimpleIcon.stories.tsx +1272 -0
  248. package/dist/icons/light-bulb-simple-icon/index.tsx +24 -0
  249. package/dist/icons/light-bulb-simple-icon/meta.ts +8 -0
  250. package/dist/icons/magic-book-icon/MagicBookIcon.stories.tsx +1245 -0
  251. package/dist/icons/magic-book-icon/index.tsx +32 -0
  252. package/dist/icons/magic-book-icon/meta.ts +8 -0
  253. package/dist/icons/maintenance-icon/MaintenanceIcon.stories.tsx +1251 -0
  254. package/dist/icons/maintenance-icon/index.tsx +23 -0
  255. package/dist/icons/maintenance-icon/meta.ts +8 -0
  256. package/dist/icons/message-icon/MessageIcon.stories.tsx +595 -0
  257. package/dist/icons/message-icon/index.tsx +30 -0
  258. package/dist/icons/message-icon/meta.ts +8 -0
  259. package/dist/icons/move-horizontal-icon/MoveHorizontalIcon.stories.tsx +1245 -0
  260. package/dist/icons/move-horizontal-icon/index.tsx +23 -0
  261. package/dist/icons/move-horizontal-icon/meta.ts +8 -0
  262. package/dist/icons/move-vertical-icon/MoveVerticalIcon.stories.tsx +1196 -0
  263. package/dist/icons/move-vertical-icon/index.tsx +23 -0
  264. package/dist/icons/move-vertical-icon/meta.ts +8 -0
  265. package/dist/icons/page-search-icon/PageSearchIcon.stories.tsx +1167 -0
  266. package/dist/icons/page-search-icon/index.tsx +21 -0
  267. package/dist/icons/page-search-icon/meta.ts +8 -0
  268. package/dist/icons/pencil-icon/PencilIcon.stories.tsx +1131 -0
  269. package/dist/icons/pencil-icon/index.tsx +21 -0
  270. package/dist/icons/pencil-icon/meta.ts +8 -0
  271. package/dist/icons/plus-icon/PlusIcon.stories.tsx +1151 -0
  272. package/dist/icons/plus-icon/index.tsx +24 -0
  273. package/dist/icons/plus-icon/meta.ts +8 -0
  274. package/dist/icons/search-icon/SearchIcon.stories.tsx +1181 -0
  275. package/dist/icons/search-icon/index.tsx +24 -0
  276. package/dist/icons/search-icon/meta.ts +8 -0
  277. package/dist/icons/site-logo-icon/SiteLogoIcon.stories.tsx +1167 -0
  278. package/dist/icons/site-logo-icon/index.tsx +79 -0
  279. package/dist/icons/site-logo-icon/meta.ts +8 -0
  280. package/dist/icons/spinner-gradient-icon/SpinnerGradientIcon.stories.tsx +637 -0
  281. package/dist/icons/spinner-gradient-icon/index.tsx +53 -0
  282. package/dist/icons/spinner-gradient-icon/meta.ts +8 -0
  283. package/dist/icons/spinner-solid-icon/SpinnerSolidIcon.stories.tsx +644 -0
  284. package/dist/icons/spinner-solid-icon/index.tsx +59 -0
  285. package/dist/icons/spinner-solid-icon/meta.ts +8 -0
  286. package/dist/icons/spinner-solid-neutral-icon/SpinnerSolidINeutralcon.stories.tsx +736 -0
  287. package/dist/icons/spinner-solid-neutral-icon/index.tsx +53 -0
  288. package/dist/icons/spinner-solid-neutral-icon/meta.ts +8 -0
  289. package/dist/icons/tick-circle-icon/TickCircleIcon.stories.tsx +1204 -0
  290. package/dist/icons/tick-circle-icon/index.tsx +23 -0
  291. package/dist/icons/tick-circle-icon/meta.ts +8 -0
  292. package/dist/icons/tick-icon/TickIcon.stories.tsx +1340 -0
  293. package/dist/icons/tick-icon/index.tsx +24 -0
  294. package/dist/icons/tick-icon/meta.ts +8 -0
  295. package/dist/icons/trash-icon/TrashIcon.stories.tsx +996 -0
  296. package/dist/icons/trash-icon/index.tsx +24 -0
  297. package/dist/icons/trash-icon/meta.ts +8 -0
  298. package/dist/icons/upload-icon/UploadIcon.stories.tsx +947 -0
  299. package/dist/icons/upload-icon/index.tsx +24 -0
  300. package/dist/icons/upload-icon/meta.ts +8 -0
  301. package/dist/icons/vertical-menu-icon/VerticalMenuIcon.stories.tsx +1045 -0
  302. package/dist/icons/vertical-menu-icon/index.tsx +27 -0
  303. package/dist/icons/vertical-menu-icon/meta.ts +8 -0
  304. package/dist/index.d.ts +6 -0
  305. package/dist/index.js +206 -0
  306. package/dist/lib/utils.ts +6 -0
  307. package/dist/styles/aural-theme.css +1008 -0
  308. package/package.json +142 -0
@@ -0,0 +1,1167 @@
1
+ import React from "react"
2
+ import type { Meta, StoryObj } from "@storybook/react"
3
+
4
+ import { SiteLogoIcon } from "."
5
+
6
+ const meta: Meta<typeof SiteLogoIcon> = {
7
+ title: "Icons/SiteLogoIcon",
8
+ component: SiteLogoIcon,
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
+ @keyframes logo-pulse {
81
+ 0%, 100% { transform: scale(1); }
82
+ 50% { transform: scale(1.05); }
83
+ }
84
+ .animate-logo-pulse {
85
+ animation: logo-pulse 2s ease-in-out infinite;
86
+ }
87
+ @keyframes logo-glow {
88
+ 0%, 100% { filter: drop-shadow(0 0 4px #e51a4d); }
89
+ 50% { filter: drop-shadow(0 0 12px #e51a4d); }
90
+ }
91
+ .animate-logo-glow {
92
+ animation: logo-glow 3s ease-in-out infinite;
93
+ }
94
+ `}
95
+ </style>
96
+
97
+ <div className="min-h-screen bg-gradient-to-br from-gray-900 via-red-900/20 to-gray-900">
98
+ {/* Header */}
99
+ <div className="relative overflow-hidden border-b border-white/10 bg-black/20 backdrop-blur-xl">
100
+ <div className="absolute inset-0 bg-gradient-to-r from-red-500/10 via-transparent to-pink-500/10" />
101
+ <div className="relative !mx-auto max-w-7xl px-6 py-16">
102
+ <div className="!space-y-6 text-center">
103
+ <div className="!mx-auto flex h-24 w-24 items-center justify-center rounded-2xl border border-red-500/30 bg-gradient-to-br from-red-500/20 to-pink-500/20">
104
+ <SiteLogoIcon className="h-12 w-12" />
105
+ </div>
106
+ <h1 className="!text-fm-primary text-5xl font-bold">
107
+ SiteLogoIcon
108
+ </h1>
109
+ <p className="!mx-auto max-w-3xl text-xl leading-relaxed !text-white/70">
110
+ The official Aural UI site logo icon for brand identity,
111
+ navigation headers, and app branding. Features a distinctive
112
+ red gradient design with speech bubble elements. Built with
113
+ accessibility in mind using Radix UI's AccessibleIcon
114
+ wrapper.
115
+ </p>
116
+
117
+ {/* Stats */}
118
+ <div className="flex items-center justify-center gap-8 pt-8">
119
+ <div className="text-center">
120
+ <div className="text-3xl font-bold text-red-300">
121
+ Brand
122
+ </div>
123
+ <div className="text-sm text-white/60">
124
+ Identity focused
125
+ </div>
126
+ </div>
127
+ <div className="h-8 w-px bg-white/20" />
128
+ <div className="text-center">
129
+ <div className="text-3xl font-bold text-pink-300">
130
+ Scalable
131
+ </div>
132
+ <div className="text-sm text-white/60">
133
+ All sizes supported
134
+ </div>
135
+ </div>
136
+ <div className="h-8 w-px bg-white/20" />
137
+ <div className="text-center">
138
+ <div className="text-3xl font-bold text-rose-300">
139
+ Accessible
140
+ </div>
141
+ <div className="text-sm text-white/60">
142
+ Screen reader ready
143
+ </div>
144
+ </div>
145
+ </div>
146
+ </div>
147
+ </div>
148
+ </div>
149
+
150
+ {/* Content */}
151
+ <div className="!mx-auto max-w-7xl !space-y-16 px-6 py-12">
152
+ {/* Quick Usage */}
153
+ <div className="!space-y-8">
154
+ <h2 className="text-center text-3xl font-bold !text-white">
155
+ Quick Start
156
+ </h2>
157
+ <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
158
+ <div className="!space-y-4">
159
+ <h3 className="text-xl font-semibold !text-red-300">
160
+ Basic Usage
161
+ </h3>
162
+ <div className="rounded-lg bg-black/40 p-4">
163
+ <pre className="overflow-x-auto text-sm !text-green-300">
164
+ {`import { SiteLogoIcon } from "@icons/site-logo-icon"
165
+
166
+ function Header() {
167
+ return (
168
+ <div className="flex items-center gap-3">
169
+ <SiteLogoIcon className="h-8 w-8" />
170
+ <span className="text-xl font-bold">Aural UI</span>
171
+ </div>
172
+ )
173
+ }`}
174
+ </pre>
175
+ </div>
176
+ </div>
177
+
178
+ <div className="!space-y-4">
179
+ <h3 className="text-xl font-semibold !text-red-300">
180
+ Live Preview
181
+ </h3>
182
+ <div className="flex h-32 items-center justify-center rounded-lg border border-white/10 bg-white/5">
183
+ <div className="flex items-center gap-3 rounded-lg border border-red-500/20 bg-red-500/10 px-6 py-3">
184
+ <SiteLogoIcon className="h-8 w-8" />
185
+ <span className="text-xl font-bold text-white">
186
+ Aural UI
187
+ </span>
188
+ </div>
189
+ </div>
190
+ </div>
191
+ </div>
192
+ </div>
193
+
194
+ {/* Props Documentation */}
195
+ <div className="!space-y-8">
196
+ <h2 className="text-center text-3xl font-bold !text-white">
197
+ Props & Configuration
198
+ </h2>
199
+
200
+ <div className="overflow-hidden rounded-lg border border-white/10 bg-white/5">
201
+ <div className="bg-white/5 p-4">
202
+ <h3 className="text-xl font-semibold !text-white">Props</h3>
203
+ </div>
204
+ <table className="!my-0 w-full">
205
+ <thead className="bg-white/5">
206
+ <tr className="border-b border-white/10">
207
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
208
+ Prop
209
+ </th>
210
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
211
+ Type
212
+ </th>
213
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
214
+ Default
215
+ </th>
216
+ <th className="px-6 py-4 text-left text-sm font-semibold !text-white">
217
+ Description
218
+ </th>
219
+ </tr>
220
+ </thead>
221
+ <tbody>
222
+ <tr className="border-b border-white/5">
223
+ <td className="px-6 py-4 font-mono text-sm !text-red-300">
224
+ width
225
+ </td>
226
+ <td className="px-6 py-4 text-sm !text-white/70">
227
+ number | string
228
+ </td>
229
+ <td className="px-6 py-4 text-sm !text-white/50">28</td>
230
+ <td className="px-6 py-4 text-sm !text-white/70">
231
+ Width of the logo in pixels
232
+ </td>
233
+ </tr>
234
+ <tr className="border-b border-white/5 !bg-black/10">
235
+ <td className="px-6 py-4 font-mono text-sm !text-red-300">
236
+ height
237
+ </td>
238
+ <td className="px-6 py-4 text-sm !text-white/70">
239
+ number | string
240
+ </td>
241
+ <td className="px-6 py-4 text-sm !text-white/50">22</td>
242
+ <td className="px-6 py-4 text-sm !text-white/70">
243
+ Height of the logo in pixels
244
+ </td>
245
+ </tr>
246
+ <tr className="border-b border-white/5">
247
+ <td className="px-6 py-4 font-mono text-sm !text-red-300">
248
+ className
249
+ </td>
250
+ <td className="px-6 py-4 text-sm !text-white/70">
251
+ string
252
+ </td>
253
+ <td className="px-6 py-4 text-sm !text-white/50">-</td>
254
+ <td className="px-6 py-4 text-sm !text-white/70">
255
+ CSS classes for styling
256
+ </td>
257
+ </tr>
258
+ <tr className="border-b border-white/5 !bg-black/10">
259
+ <td className="px-6 py-4 font-mono text-sm !text-red-300">
260
+ viewBox
261
+ </td>
262
+ <td className="px-6 py-4 text-sm !text-white/70">
263
+ string
264
+ </td>
265
+ <td className="px-6 py-4 text-sm !text-white/50">
266
+ "0 0 128 128"
267
+ </td>
268
+ <td className="px-6 py-4 text-sm !text-white/70">
269
+ SVG viewBox for scaling
270
+ </td>
271
+ </tr>
272
+ <tr className="!bg-black/10">
273
+ <td className="px-6 py-4 font-mono text-sm !text-red-300">
274
+ ...svgProps
275
+ </td>
276
+ <td className="px-6 py-4 text-sm !text-white/70">
277
+ SVGProps
278
+ </td>
279
+ <td className="px-6 py-4 text-sm !text-white/50">-</td>
280
+ <td className="px-6 py-4 text-sm !text-white/70">
281
+ All standard SVG element props
282
+ </td>
283
+ </tr>
284
+ </tbody>
285
+ </table>
286
+ </div>
287
+ </div>
288
+
289
+ {/* Size Variations */}
290
+ <div className="!space-y-8">
291
+ <h2 className="text-center text-3xl font-bold !text-white">
292
+ Size Variations
293
+ </h2>
294
+ <div className="rounded-lg border border-white/10 bg-white/5 p-8">
295
+ <div className="!space-y-6">
296
+ <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
297
+ <div className="!space-y-4">
298
+ <h3 className="text-lg font-semibold !text-red-300">
299
+ Standard Sizes
300
+ </h3>
301
+ <div className="flex items-end gap-6 rounded-lg bg-black/20 p-6">
302
+ <div className="text-center">
303
+ <SiteLogoIcon className="!mx-auto mb-2 h-4 w-4" />
304
+ <span className="text-xs text-white/60">16px</span>
305
+ </div>
306
+ <div className="text-center">
307
+ <SiteLogoIcon className="!mx-auto mb-2 h-5 w-5" />
308
+ <span className="text-xs text-white/60">20px</span>
309
+ </div>
310
+ <div className="text-center">
311
+ <SiteLogoIcon className="!mx-auto mb-2 h-6 w-6" />
312
+ <span className="text-xs text-white/60">24px</span>
313
+ </div>
314
+ <div className="text-center">
315
+ <SiteLogoIcon className="!mx-auto mb-2 h-8 w-8" />
316
+ <span className="text-xs text-white/60">32px</span>
317
+ </div>
318
+ <div className="text-center">
319
+ <SiteLogoIcon className="!mx-auto mb-2 h-12 w-12" />
320
+ <span className="text-xs text-white/60">48px</span>
321
+ </div>
322
+ <div className="text-center">
323
+ <SiteLogoIcon className="!mx-auto mb-2 h-16 w-16" />
324
+ <span className="text-xs text-white/60">64px</span>
325
+ </div>
326
+ </div>
327
+ </div>
328
+
329
+ <div className="!space-y-4">
330
+ <h3 className="text-lg font-semibold !text-red-300">
331
+ Code Example
332
+ </h3>
333
+ <div className="rounded-lg bg-black/40 p-4">
334
+ <pre className="overflow-x-auto text-sm !text-blue-300">
335
+ {`// Small nav (24px)
336
+ <SiteLogoIcon className="h-6 w-6" />
337
+
338
+ // Standard header (32px)
339
+ <SiteLogoIcon className="h-8 w-8" />
340
+
341
+ // Large display (64px)
342
+ <SiteLogoIcon className="h-16 w-16" />
343
+
344
+ // Custom size with props
345
+ <SiteLogoIcon width={40} height={40} />
346
+
347
+ // Responsive sizing
348
+ <SiteLogoIcon className="h-6 w-6 md:h-8 md:w-8 lg:h-12 lg:w-12" />`}
349
+ </pre>
350
+ </div>
351
+ </div>
352
+ </div>
353
+ </div>
354
+ </div>
355
+ </div>
356
+
357
+ {/* Usage Examples */}
358
+ <div className="!space-y-8">
359
+ <h2 className="text-center text-3xl font-bold !text-white">
360
+ Usage Examples
361
+ </h2>
362
+
363
+ <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
364
+ {/* Navigation Header */}
365
+ <div className="!space-y-4">
366
+ <h3 className="text-lg font-semibold !text-red-300">
367
+ Navigation Header
368
+ </h3>
369
+ <div className="!space-y-4">
370
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
371
+ <div className="flex items-center justify-between">
372
+ <div className="flex items-center gap-3">
373
+ <SiteLogoIcon className="h-8 w-8" />
374
+ <span className="text-xl font-bold text-white">
375
+ Aural UI
376
+ </span>
377
+ </div>
378
+ <nav className="flex items-center gap-6">
379
+ <a
380
+ href="#"
381
+ className="text-white/70 hover:text-white"
382
+ >
383
+ Docs
384
+ </a>
385
+ <a
386
+ href="#"
387
+ className="text-white/70 hover:text-white"
388
+ >
389
+ Components
390
+ </a>
391
+ <a
392
+ href="#"
393
+ className="text-white/70 hover:text-white"
394
+ >
395
+ Examples
396
+ </a>
397
+ </nav>
398
+ </div>
399
+ </div>
400
+ <div className="rounded-lg bg-black/40 p-4">
401
+ <pre className="overflow-x-auto text-sm !text-green-300">
402
+ {`<div className="flex items-center justify-between">
403
+ <div className="flex items-center gap-3">
404
+ <SiteLogoIcon className="h-8 w-8" />
405
+ <span className="text-xl font-bold">Aural UI</span>
406
+ </div>
407
+ <nav className="flex items-center gap-6">
408
+ <a href="#" className="hover:text-white">Docs</a>
409
+ <a href="#" className="hover:text-white">Components</a>
410
+ <a href="#" className="hover:text-white">Examples</a>
411
+ </nav>
412
+ </div>`}
413
+ </pre>
414
+ </div>
415
+ </div>
416
+ </div>
417
+
418
+ {/* Footer Branding */}
419
+ <div className="!space-y-4">
420
+ <h3 className="text-lg font-semibold !text-red-300">
421
+ Footer Branding
422
+ </h3>
423
+ <div className="!space-y-4">
424
+ <div className="rounded-lg border border-white/10 bg-white/5 p-6">
425
+ <div className="!space-y-4 text-center">
426
+ <SiteLogoIcon className="!mx-auto h-12 w-12" />
427
+ <h3 className="text-lg font-bold !text-white">
428
+ Aural UI
429
+ </h3>
430
+ <p className="text-sm !text-white/60">
431
+ Beautiful, accessible components for modern web
432
+ applications.
433
+ </p>
434
+ <div className="flex justify-center gap-4 pt-4">
435
+ <a
436
+ href="#"
437
+ className="text-white/60 hover:text-white"
438
+ >
439
+ GitHub
440
+ </a>
441
+ <a
442
+ href="#"
443
+ className="text-white/60 hover:text-white"
444
+ >
445
+ Documentation
446
+ </a>
447
+ <a
448
+ href="#"
449
+ className="text-white/60 hover:text-white"
450
+ >
451
+ Support
452
+ </a>
453
+ </div>
454
+ </div>
455
+ </div>
456
+ <div className="rounded-lg bg-black/40 p-4">
457
+ <pre className="overflow-x-auto text-sm !text-green-300">
458
+ {`<div className="space-y-4 text-center">
459
+ <SiteLogoIcon className="mx-auto h-12 w-12" />
460
+ <h3 className="text-lg font-bold">Aural UI</h3>
461
+ <p className="text-sm text-white/60">
462
+ Beautiful, accessible components for modern web applications.
463
+ </p>
464
+ <div className="flex justify-center gap-4 pt-4">
465
+ <a href="#" className="text-white/60 hover:text-white">GitHub</a>
466
+ <a href="#" className="text-white/60 hover:text-white">Documentation</a>
467
+ <a href="#" className="text-white/60 hover:text-white">Support</a>
468
+ </div>
469
+ </div>`}
470
+ </pre>
471
+ </div>
472
+ </div>
473
+ </div>
474
+
475
+ {/* Loading/Splash Screen */}
476
+ <div className="!space-y-4">
477
+ <h3 className="text-lg font-semibold !text-red-300">
478
+ Loading & Splash Screen
479
+ </h3>
480
+ <div className="!space-y-4">
481
+ <div className="flex items-center justify-center rounded-lg border border-white/10 bg-gradient-to-br from-red-500/10 to-pink-500/10 p-6">
482
+ <div className="text-center">
483
+ <SiteLogoIcon className="animate-logo-pulse !mx-auto h-16 w-16" />
484
+ <p className="mt-4 text-sm !text-white/70">
485
+ Loading...
486
+ </p>
487
+ </div>
488
+ </div>
489
+ <div className="rounded-lg bg-black/40 p-4">
490
+ <pre className="overflow-x-auto text-sm !text-green-300">
491
+ {`// Loading with pulse animation
492
+ <div className="text-center">
493
+ <SiteLogoIcon className="mx-auto h-16 w-16 animate-pulse" />
494
+ <p className="mt-4 text-sm text-white/70">Loading...</p>
495
+ </div>
496
+
497
+ // Splash screen
498
+ <div className="flex min-h-screen items-center justify-center bg-gradient-to-br from-red-500/10 to-pink-500/10">
499
+ <div className="text-center">
500
+ <SiteLogoIcon className="mx-auto h-24 w-24 animate-pulse" />
501
+ <h1 className="mt-6 text-3xl font-bold">Aural UI</h1>
502
+ </div>
503
+ </div>`}
504
+ </pre>
505
+ </div>
506
+ </div>
507
+ </div>
508
+
509
+ {/* App Icon/Favicon */}
510
+ <div className="!space-y-4">
511
+ <h3 className="text-lg font-semibold !text-red-300">
512
+ App Icon Usage
513
+ </h3>
514
+ <div className="!space-y-4">
515
+ <div className="grid grid-cols-4 gap-4">
516
+ <div className="flex flex-col items-center justify-center !space-y-2 text-center">
517
+ <div className="flex h-12 w-12 items-center justify-center rounded-lg bg-white p-2 shadow-lg">
518
+ <SiteLogoIcon className="h-8 w-8" />
519
+ </div>
520
+ <span className="text-xs text-white/60">
521
+ App Icon
522
+ </span>
523
+ </div>
524
+ <div className="flex flex-col items-center justify-center !space-y-2 text-center">
525
+ <div className="flex h-12 w-12 items-center justify-center rounded-full bg-white p-2 shadow-lg">
526
+ <SiteLogoIcon className="h-8 w-8" />
527
+ </div>
528
+ <span className="text-xs text-white/60">Round</span>
529
+ </div>
530
+ <div className="flex flex-col items-center justify-center !space-y-2 text-center">
531
+ <div className="flex h-12 w-12 items-center justify-center rounded bg-gradient-to-br from-red-500 to-pink-500 p-2 shadow-lg">
532
+ <SiteLogoIcon className="h-8 w-8" />
533
+ </div>
534
+ <span className="text-xs text-white/60">Branded</span>
535
+ </div>
536
+ <div className="flex flex-col items-center justify-center !space-y-2 text-center">
537
+ <div className="flex h-12 w-12 items-center justify-center rounded-xl border border-red-500/20 bg-red-500/10 p-2">
538
+ <SiteLogoIcon className="h-8 w-8" />
539
+ </div>
540
+ <span className="text-xs text-white/60">
541
+ Outlined
542
+ </span>
543
+ </div>
544
+ </div>
545
+ <div className="rounded-lg bg-black/40 p-4">
546
+ <pre className="overflow-x-auto text-sm !text-green-300">
547
+ {`// Standard app icon
548
+ <div className="flex h-12 w-12 items-center justify-center rounded-lg bg-white p-2">
549
+ <SiteLogoIcon className="h-8 w-8" />
550
+ </div>
551
+
552
+ // Branded background
553
+ <div className="flex h-12 w-12 items-center justify-center rounded bg-gradient-to-br from-red-500 to-pink-500 p-2">
554
+ <SiteLogoIcon className="h-8 w-8" />
555
+ </div>
556
+
557
+ // For favicon/PWA icons
558
+ <link rel="icon" type="image/svg+xml" href="/logo.svg" />
559
+ <link rel="apple-touch-icon" href="/logo-192.png" />`}
560
+ </pre>
561
+ </div>
562
+ </div>
563
+ </div>
564
+ </div>
565
+ </div>
566
+
567
+ {/* Interactive States */}
568
+ <div className="!space-y-8">
569
+ <h2 className="text-center text-3xl font-bold !text-white">
570
+ Interactive States & Animations
571
+ </h2>
572
+ <div className="grid grid-cols-1 gap-8 lg:grid-cols-2">
573
+ <div className="!space-y-4">
574
+ <h3 className="text-lg font-semibold !text-red-300">
575
+ Animation Effects
576
+ </h3>
577
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
578
+ <div className="flex items-center gap-4">
579
+ <SiteLogoIcon className="h-8 w-8 transition-transform hover:scale-110" />
580
+ <div>
581
+ <div className="text-sm font-medium text-white">
582
+ Scale on Hover
583
+ </div>
584
+ <div className="text-xs text-white/60">
585
+ Subtle growth effect
586
+ </div>
587
+ </div>
588
+ </div>
589
+ <div className="flex items-center gap-4">
590
+ <SiteLogoIcon className="animate-logo-pulse h-8 w-8" />
591
+ <div>
592
+ <div className="text-sm font-medium text-white">
593
+ Pulse Animation
594
+ </div>
595
+ <div className="text-xs text-white/60">
596
+ Breathing effect
597
+ </div>
598
+ </div>
599
+ </div>
600
+ <div className="flex items-center gap-4">
601
+ <SiteLogoIcon className="animate-logo-glow h-8 w-8" />
602
+ <div>
603
+ <div className="text-sm font-medium text-white">
604
+ Glow Effect
605
+ </div>
606
+ <div className="text-xs text-white/60">
607
+ Brand color glow
608
+ </div>
609
+ </div>
610
+ </div>
611
+ <div className="flex items-center gap-4">
612
+ <SiteLogoIcon className="h-8 w-8 transition-opacity hover:opacity-80" />
613
+ <div>
614
+ <div className="text-sm font-medium text-white">
615
+ Opacity Change
616
+ </div>
617
+ <div className="text-xs text-white/60">
618
+ Fade on interaction
619
+ </div>
620
+ </div>
621
+ </div>
622
+ </div>
623
+ </div>
624
+
625
+ <div className="!space-y-4">
626
+ <h3 className="text-lg font-semibold !text-red-300">
627
+ Interactive Examples
628
+ </h3>
629
+ <div className="rounded-lg bg-black/40 p-4">
630
+ <pre className="overflow-x-auto text-sm !text-cyan-300">
631
+ {`// Hover scale effect
632
+ <SiteLogoIcon className="h-8 w-8 transition-transform hover:scale-110" />
633
+
634
+ // Pulse animation for loading
635
+ <SiteLogoIcon className="h-8 w-8 animate-pulse" />
636
+
637
+ // Click/active states
638
+ <button className="flex items-center gap-2 group">
639
+ <SiteLogoIcon className="h-6 w-6 transition-transform group-hover:scale-105" />
640
+ <span>Aural UI</span>
641
+ </button>
642
+
643
+ // Focus states for accessibility
644
+ <a
645
+ href="#"
646
+ className="inline-flex items-center gap-2 rounded focus:ring-2 focus:ring-red-500/50"
647
+ >
648
+ <SiteLogoIcon className="h-6 w-6" />
649
+ <span>Home</span>
650
+ </a>
651
+
652
+ // Loading spinner alternative
653
+ <SiteLogoIcon className="h-8 w-8 animate-spin" />`}
654
+ </pre>
655
+ </div>
656
+ </div>
657
+ </div>
658
+ </div>
659
+
660
+ {/* Brand Guidelines */}
661
+ <div className="!space-y-8">
662
+ <h2 className="text-center text-3xl font-bold !text-white">
663
+ Brand Guidelines
664
+ </h2>
665
+ <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
666
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
667
+ <h3 className="text-lg font-semibold !text-green-300">
668
+ ✅ Do's
669
+ </h3>
670
+ <ul className="!space-y-2 text-sm !text-white/70">
671
+ <li className="!text-white/70">
672
+ Use the logo at readable sizes (minimum 16px)
673
+ </li>
674
+ <li className="!text-white/70">
675
+ Maintain the original aspect ratio
676
+ </li>
677
+ <li className="!text-white/70">
678
+ Use on contrasting backgrounds for visibility
679
+ </li>
680
+ <li className="!text-white/70">
681
+ Pair with consistent brand typography
682
+ </li>
683
+ <li className="!text-white/70">
684
+ Use as a clickable element for navigation
685
+ </li>
686
+ </ul>
687
+ </div>
688
+
689
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
690
+ <h3 className="text-lg font-semibold !text-red-300">
691
+ ❌ Don'ts
692
+ </h3>
693
+ <ul className="!space-y-2 text-sm !text-white/70">
694
+ <li className="!text-white/70">
695
+ Don't modify the logo colors or design
696
+ </li>
697
+ <li className="!text-white/70">
698
+ Don't stretch or skew the proportions
699
+ </li>
700
+ <li className="!text-white/70">
701
+ Don't use on busy or conflicting backgrounds
702
+ </li>
703
+ <li className="!text-white/70">
704
+ Don't use below 16px for accessibility
705
+ </li>
706
+ <li className="!text-white/70">
707
+ Don't rotate or flip the logo
708
+ </li>
709
+ </ul>
710
+ </div>
711
+ </div>
712
+
713
+ <div className="rounded-lg border border-white/10 bg-white/5 p-6">
714
+ <h3 className="mb-4 text-lg font-semibold !text-purple-300">
715
+ Background & Contrast Guidelines
716
+ </h3>
717
+ <div className="grid grid-cols-2 gap-6 lg:grid-cols-4">
718
+ <div className="flex flex-col items-center justify-center !space-y-2 text-center">
719
+ <div className="flex h-16 w-16 items-center justify-center rounded-lg bg-white">
720
+ <SiteLogoIcon className="h-10 w-10" />
721
+ </div>
722
+ <span className="text-xs text-green-400">
723
+ ✅ Light backgrounds
724
+ </span>
725
+ </div>
726
+ <div className="flex flex-col items-center justify-center !space-y-2 text-center">
727
+ <div className="flex h-16 w-16 items-center justify-center rounded-lg bg-gray-100">
728
+ <SiteLogoIcon className="h-10 w-10" />
729
+ </div>
730
+ <span className="text-xs text-green-400">
731
+ ✅ Neutral tones
732
+ </span>
733
+ </div>
734
+ <div className="flex flex-col items-center justify-center !space-y-2 text-center">
735
+ <div className="flex h-16 w-16 items-center justify-center rounded-lg bg-blue-900">
736
+ <SiteLogoIcon className="h-10 w-10" />
737
+ </div>
738
+ <span className="text-xs text-green-400">
739
+ ✅ Dark colors
740
+ </span>
741
+ </div>
742
+ <div className="flex flex-col items-center justify-center !space-y-2 text-center">
743
+ <div className="flex h-16 w-16 items-center justify-center rounded-lg bg-gradient-to-br from-red-400 to-red-600">
744
+ <SiteLogoIcon className="h-10 w-10" />
745
+ </div>
746
+ <span className="text-xs text-red-400">
747
+ ❌ Similar reds
748
+ </span>
749
+ </div>
750
+ </div>
751
+ </div>
752
+ </div>
753
+
754
+ {/* Accessibility */}
755
+ <div className="!space-y-8">
756
+ <h2 className="text-center text-3xl font-bold !text-white">
757
+ Accessibility Features
758
+ </h2>
759
+ <div className="grid grid-cols-1 gap-8 md:grid-cols-2">
760
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
761
+ <h3 className="text-lg font-semibold !text-green-300">
762
+ ✅ Built-in Features
763
+ </h3>
764
+ <ul className="!space-y-2 text-sm !text-white/70">
765
+ <li className="!text-white/70">
766
+ Uses Radix UI AccessibleIcon wrapper
767
+ </li>
768
+ <li className="!text-white/70">
769
+ Provides screen reader label "Site Logo icon"
770
+ </li>
771
+ <li className="!text-white/70">
772
+ Supports keyboard navigation when clickable
773
+ </li>
774
+ <li className="!text-white/70">
775
+ Scalable vector format for all screen sizes
776
+ </li>
777
+ <li className="!text-white/70">
778
+ High contrast brand colors for visibility
779
+ </li>
780
+ </ul>
781
+ </div>
782
+
783
+ <div className="!space-y-4 rounded-lg border border-white/10 bg-white/5 p-6">
784
+ <h3 className="text-lg font-semibold !text-red-300">
785
+ 💡 Best Practices
786
+ </h3>
787
+ <ul className="!space-y-2 text-sm !text-white/70">
788
+ <li className="!text-white/70">
789
+ Always include alt text when used as content
790
+ </li>
791
+ <li className="!text-white/70">
792
+ Use as clickable link to homepage
793
+ </li>
794
+ <li className="!text-white/70">
795
+ Ensure sufficient size for touch targets
796
+ </li>
797
+ <li className="!text-white/70">
798
+ Add focus indicators for keyboard navigation
799
+ </li>
800
+ <li className="!text-white/70">
801
+ Test with screen readers and voice control
802
+ </li>
803
+ </ul>
804
+ </div>
805
+ </div>
806
+
807
+ <div className="rounded-lg border border-white/10 bg-white/5 p-6">
808
+ <h3 className="mb-4 text-lg font-semibold !text-purple-300">
809
+ Accessibility Implementation
810
+ </h3>
811
+ <div className="grid grid-cols-1 gap-6 lg:grid-cols-2">
812
+ <div className="rounded-lg bg-black/40 p-4">
813
+ <pre className="overflow-x-auto text-sm !text-cyan-300">
814
+ {`// Logo as homepage link
815
+ <a
816
+ href="/"
817
+ aria-label="Aural UI homepage"
818
+ className="inline-flex items-center gap-2 rounded focus:ring-2 focus:ring-red-500/50"
819
+ >
820
+ <SiteLogoIcon className="h-8 w-8" />
821
+ <span className="sr-only">Aural UI</span>
822
+ </a>
823
+
824
+ // Logo with visible text
825
+ <div className="flex items-center gap-3">
826
+ <SiteLogoIcon
827
+ className="h-8 w-8"
828
+ aria-hidden="true"
829
+ />
830
+ <h1 className="text-xl font-bold">Aural UI</h1>
831
+ </div>
832
+
833
+ // Custom accessible wrapper
834
+ import { AccessibleIcon } from "@radix-ui/react-accessible-icon"
835
+
836
+ <AccessibleIcon label="Aural UI - Component Library">
837
+ <SiteLogoIcon className="h-8 w-8" />
838
+ </AccessibleIcon>`}
839
+ </pre>
840
+ </div>
841
+ <div className="!space-y-4">
842
+ <p className="text-sm !text-white/70">
843
+ When using the SiteLogoIcon as navigation, always
844
+ provide clear context about its purpose and destination.
845
+ The built-in accessible label helps screen readers
846
+ identify the element.
847
+ </p>
848
+ <div className="rounded-lg border border-red-500/20 bg-red-500/10 p-4">
849
+ <div className="flex items-center gap-2 text-sm text-red-200">
850
+ <SiteLogoIcon className="h-4 w-4" />
851
+ <span>
852
+ This ensures all users can navigate effectively
853
+ </span>
854
+ </div>
855
+ </div>
856
+ </div>
857
+ </div>
858
+ </div>
859
+ </div>
860
+
861
+ {/* Related Components */}
862
+ <div className="!space-y-8">
863
+ <h2 className="text-center text-3xl font-bold !text-white">
864
+ Related Components
865
+ </h2>
866
+ <div className="grid grid-cols-2 gap-6 md:grid-cols-4">
867
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
868
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-blue-500/20">
869
+ <span className="text-2xl">🏠</span>
870
+ </div>
871
+ <div>
872
+ <div className="font-medium text-white">HomeIcon</div>
873
+ <div className="text-xs text-white/60">Navigation</div>
874
+ </div>
875
+ </div>
876
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
877
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-purple-500/20">
878
+ <span className="!text-2xl !text-white">☰</span>
879
+ </div>
880
+ <div>
881
+ <div className="font-medium text-white">MenuIcon</div>
882
+ <div className="text-xs text-white/60">Mobile nav</div>
883
+ </div>
884
+ </div>
885
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
886
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-green-500/20">
887
+ <span className="text-2xl">⚙️</span>
888
+ </div>
889
+ <div>
890
+ <div className="font-medium text-white">SettingsIcon</div>
891
+ <div className="text-xs text-white/60">Configuration</div>
892
+ </div>
893
+ </div>
894
+ <div className="!space-y-3 rounded-lg border border-white/10 bg-white/5 p-4 text-center">
895
+ <div className="!mx-auto flex h-12 w-12 items-center justify-center rounded-lg bg-orange-500/20">
896
+ <span className="text-2xl">👤</span>
897
+ </div>
898
+ <div>
899
+ <div className="font-medium text-white">UserIcon</div>
900
+ <div className="text-xs text-white/60">Profile</div>
901
+ </div>
902
+ </div>
903
+ </div>
904
+ </div>
905
+ </div>
906
+
907
+ {/* Footer */}
908
+ <div className="border-t border-white/10 bg-black/20 backdrop-blur-xl">
909
+ <div className="!mx-auto max-w-7xl px-6 py-8">
910
+ <div className="!space-y-4 text-center">
911
+ <div className="flex items-center justify-center gap-3">
912
+ <SiteLogoIcon className="h-8 w-8" />
913
+ <span className="text-xl font-bold text-white">
914
+ Aural UI
915
+ </span>
916
+ </div>
917
+ <p className="!text-white/60">
918
+ The official SiteLogoIcon represents the Aural UI brand and
919
+ should be used consistently across all applications and
920
+ documentation.
921
+ </p>
922
+ <p className="text-sm !text-white/40">
923
+ Built with accessibility and brand consistency in mind. Uses
924
+ Radix UI's AccessibleIcon for screen reader compatibility.
925
+ </p>
926
+ </div>
927
+ </div>
928
+ </div>
929
+ </div>
930
+ </>
931
+ ),
932
+ },
933
+ },
934
+ tags: ["autodocs"],
935
+ argTypes: {
936
+ width: {
937
+ control: { type: "range", min: 16, max: 128, step: 4 },
938
+ description: "Width of the logo in pixels",
939
+ },
940
+ height: {
941
+ control: { type: "range", min: 16, max: 128, step: 4 },
942
+ description: "Height of the logo in pixels",
943
+ },
944
+ className: {
945
+ control: "text",
946
+ description: "CSS classes for styling",
947
+ },
948
+ },
949
+ }
950
+
951
+ export default meta
952
+ type Story = StoryObj<typeof SiteLogoIcon>
953
+
954
+ // Story parameters for consistent dark theme
955
+ const storyParameters = {
956
+ backgrounds: {
957
+ default: "dark",
958
+ values: [
959
+ { name: "dark", value: "#0a0a0a" },
960
+ { name: "darker", value: "#000000" },
961
+ ],
962
+ },
963
+ }
964
+
965
+ export const Default: Story = {
966
+ args: {
967
+ className: "h-8 w-8",
968
+ },
969
+ parameters: storyParameters,
970
+ render: (args) => (
971
+ <div className="flex h-32 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
972
+ <SiteLogoIcon {...args} />
973
+ </div>
974
+ ),
975
+ }
976
+
977
+ export const SizeVariations: Story = {
978
+ parameters: {
979
+ ...storyParameters,
980
+ docs: {
981
+ description: {
982
+ story:
983
+ "SiteLogoIcon in different sizes for various use cases, from small navigation to large displays.",
984
+ },
985
+ },
986
+ },
987
+ render: () => (
988
+ <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">
989
+ <div className="text-center">
990
+ <SiteLogoIcon className="!mx-auto mb-2 h-4 w-4" />
991
+ <span className="text-xs text-white/60">16px</span>
992
+ </div>
993
+ <div className="text-center">
994
+ <SiteLogoIcon className="!mx-auto mb-2 h-6 w-6" />
995
+ <span className="text-xs text-white/60">24px</span>
996
+ </div>
997
+ <div className="text-center">
998
+ <SiteLogoIcon className="!mx-auto mb-2 h-8 w-8" />
999
+ <span className="text-xs text-white/60">32px</span>
1000
+ </div>
1001
+ <div className="text-center">
1002
+ <SiteLogoIcon className="!mx-auto mb-2 h-12 w-12" />
1003
+ <span className="text-xs text-white/60">48px</span>
1004
+ </div>
1005
+ <div className="text-center">
1006
+ <SiteLogoIcon className="!mx-auto mb-2 h-16 w-16" />
1007
+ <span className="text-xs text-white/60">64px</span>
1008
+ </div>
1009
+ <div className="text-center">
1010
+ <SiteLogoIcon className="!mx-auto mb-2 h-24 w-24" />
1011
+ <span className="text-xs text-white/60">96px</span>
1012
+ </div>
1013
+ </div>
1014
+ ),
1015
+ }
1016
+
1017
+ export const NavigationUsage: Story = {
1018
+ parameters: {
1019
+ ...storyParameters,
1020
+ docs: {
1021
+ description: {
1022
+ story: "SiteLogoIcon used in navigation headers and brand contexts.",
1023
+ },
1024
+ },
1025
+ },
1026
+ render: () => (
1027
+ <div className="min-h-dvh !space-y-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
1028
+ {/* Main Navigation */}
1029
+ <div className="!space-y-2">
1030
+ <h3 className="text-sm font-medium text-white">Main Navigation</h3>
1031
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
1032
+ <div className="flex items-center justify-between">
1033
+ <div className="flex items-center gap-3">
1034
+ <SiteLogoIcon className="h-8 w-8" />
1035
+ <span className="text-xl font-bold text-white">Aural UI</span>
1036
+ </div>
1037
+ <nav className="flex items-center gap-6">
1038
+ <a href="#" className="text-white/70 hover:text-white">
1039
+ Docs
1040
+ </a>
1041
+ <a href="#" className="text-white/70 hover:text-white">
1042
+ Components
1043
+ </a>
1044
+ <a href="#" className="text-white/70 hover:text-white">
1045
+ Examples
1046
+ </a>
1047
+ </nav>
1048
+ </div>
1049
+ </div>
1050
+ </div>
1051
+
1052
+ {/* Mobile Header */}
1053
+ <div className="!space-y-2">
1054
+ <h3 className="text-sm font-medium text-white">Mobile Header</h3>
1055
+ <div className="rounded-lg border border-white/10 bg-white/5 p-4">
1056
+ <div className="flex items-center justify-between">
1057
+ <div className="flex items-center gap-2">
1058
+ <SiteLogoIcon className="h-6 w-6" />
1059
+ <span className="text-lg font-bold text-white">Aural UI</span>
1060
+ </div>
1061
+ <button className="text-white">☰</button>
1062
+ </div>
1063
+ </div>
1064
+ </div>
1065
+
1066
+ {/* Footer */}
1067
+ <div className="!space-y-2">
1068
+ <h3 className="text-sm font-medium text-white">Footer Branding</h3>
1069
+ <div className="rounded-lg border border-white/10 bg-white/5 p-6 text-center">
1070
+ <SiteLogoIcon className="!mx-auto h-12 w-12" />
1071
+ <h3 className="mt-4 text-lg font-bold text-white">Aural UI</h3>
1072
+ <p className="mt-2 text-sm text-white/60">
1073
+ Beautiful, accessible components for modern web applications.
1074
+ </p>
1075
+ </div>
1076
+ </div>
1077
+ </div>
1078
+ ),
1079
+ }
1080
+
1081
+ export const BrandApplications: Story = {
1082
+ parameters: {
1083
+ ...storyParameters,
1084
+ docs: {
1085
+ description: {
1086
+ story: "SiteLogoIcon used in various brand applications and contexts.",
1087
+ },
1088
+ },
1089
+ },
1090
+ render: () => (
1091
+ <div className="min-h-dvh !space-y-8 rounded-lg bg-gradient-to-br from-gray-900 to-gray-800 p-8">
1092
+ {/* App Icons */}
1093
+ <div className="!space-y-4">
1094
+ <h3 className="text-sm font-medium text-white">App Icon Variations</h3>
1095
+ <div className="grid grid-cols-4 gap-4">
1096
+ <div className="!space-y-2 text-center">
1097
+ <div className="flex h-16 w-16 items-center justify-center rounded-lg bg-white shadow-lg">
1098
+ <SiteLogoIcon className="h-12 w-12" />
1099
+ </div>
1100
+ <span className="text-xs text-white/60">Standard</span>
1101
+ </div>
1102
+ <div className="!space-y-2 text-center">
1103
+ <div className="flex h-16 w-16 items-center justify-center rounded-full bg-white shadow-lg">
1104
+ <SiteLogoIcon className="h-12 w-12" />
1105
+ </div>
1106
+ <span className="text-xs text-white/60">Round</span>
1107
+ </div>
1108
+ <div className="!space-y-2 text-center">
1109
+ <div className="flex h-16 w-16 items-center justify-center rounded-xl bg-gradient-to-br from-red-500 to-pink-500 shadow-lg">
1110
+ <SiteLogoIcon className="h-12 w-12" />
1111
+ </div>
1112
+ <span className="text-xs text-white/60">Branded</span>
1113
+ </div>
1114
+ <div className="!space-y-2 text-center">
1115
+ <div className="flex h-16 w-16 items-center justify-center rounded-xl border-2 border-red-500/20 bg-red-500/10">
1116
+ <SiteLogoIcon className="h-12 w-12" />
1117
+ </div>
1118
+ <span className="text-xs text-white/60">Outlined</span>
1119
+ </div>
1120
+ </div>
1121
+ </div>
1122
+
1123
+ {/* Loading States */}
1124
+ <div className="!space-y-4">
1125
+ <h3 className="text-sm font-medium text-white">Loading & Animation</h3>
1126
+ <div className="grid grid-cols-3 gap-6">
1127
+ <div className="text-center">
1128
+ <SiteLogoIcon className="!mx-auto h-12 w-12 animate-pulse" />
1129
+ <span className="mt-2 text-xs text-white/60">Pulse</span>
1130
+ </div>
1131
+ <div className="text-center">
1132
+ <SiteLogoIcon className="animate-logo-pulse !mx-auto h-12 w-12" />
1133
+ <span className="mt-2 text-xs text-white/60">Custom Pulse</span>
1134
+ </div>
1135
+ <div className="text-center">
1136
+ <SiteLogoIcon className="animate-logo-glow !mx-auto h-12 w-12" />
1137
+ <span className="mt-2 text-xs text-white/60">Glow Effect</span>
1138
+ </div>
1139
+ </div>
1140
+ </div>
1141
+ </div>
1142
+ ),
1143
+ }
1144
+
1145
+ export const Playground: Story = {
1146
+ parameters: {
1147
+ ...storyParameters,
1148
+ docs: {
1149
+ description: {
1150
+ story:
1151
+ "Interactive playground to experiment with different SiteLogoIcon configurations.",
1152
+ },
1153
+ },
1154
+ },
1155
+ args: {
1156
+ width: 48,
1157
+ height: 48,
1158
+ className: "",
1159
+ },
1160
+ render: (args) => (
1161
+ <div className="flex h-64 min-h-dvh items-center justify-center rounded-lg bg-gradient-to-br from-gray-900 to-gray-800">
1162
+ <div className="rounded-lg border border-white/10 bg-white/5 p-8">
1163
+ <SiteLogoIcon {...args} />
1164
+ </div>
1165
+ </div>
1166
+ ),
1167
+ }