@techbykyle/svg-logo 0.1.0 → 0.2.6

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 (253) hide show
  1. package/BRAND_ASSETS.md +43 -0
  2. package/README.md +158 -20
  3. package/dist/cjs/LoadLogo.js +129 -81
  4. package/dist/cjs/Logo/Anthropic.js +36 -0
  5. package/dist/cjs/Logo/ClaudeCode.js +35 -0
  6. package/dist/cjs/Logo/ClaudeCodeMonochrome.js +34 -0
  7. package/dist/cjs/Logo/GitHubCopilot.js +36 -0
  8. package/dist/cjs/Logo/Grok.js +36 -0
  9. package/dist/cjs/Logo/GrokKFull.js +44 -0
  10. package/dist/cjs/Logo/OpenCode.js +44 -0
  11. package/dist/cjs/Logo/OpenCodeMonochrome.js +38 -0
  12. package/dist/cjs/Logo/Ranteater.js +89 -0
  13. package/dist/cjs/Logo/XAI.js +61 -0
  14. package/dist/cjs/Logo/XAISquareTransparent.js +57 -0
  15. package/dist/cjs/icons/Amazon.js +11 -0
  16. package/dist/cjs/icons/Anthropic.js +11 -0
  17. package/dist/cjs/icons/Apple.js +11 -0
  18. package/dist/cjs/icons/Aqara.js +11 -0
  19. package/dist/cjs/icons/Cisco.js +11 -0
  20. package/dist/cjs/icons/ClaudeCode.js +11 -0
  21. package/dist/cjs/icons/ClaudeCodeMonochrome.js +11 -0
  22. package/dist/cjs/icons/GLiNet.js +11 -0
  23. package/dist/cjs/icons/GitHub.js +11 -0
  24. package/dist/cjs/icons/GitHubCopilot.js +11 -0
  25. package/dist/cjs/icons/GitLab.js +11 -0
  26. package/dist/cjs/icons/Gitea.js +11 -0
  27. package/dist/cjs/icons/Google.js +11 -0
  28. package/dist/cjs/icons/Grok.js +11 -0
  29. package/dist/cjs/icons/GrokKFull.js +11 -0
  30. package/dist/cjs/icons/HomeAssistant.js +11 -0
  31. package/dist/cjs/icons/HomeDepot.js +11 -0
  32. package/dist/cjs/icons/MSI.js +11 -0
  33. package/dist/cjs/icons/Microsoft.js +11 -0
  34. package/dist/cjs/icons/Mqtt.js +11 -0
  35. package/dist/cjs/icons/Netgate.js +11 -0
  36. package/dist/cjs/icons/Netgear.js +11 -0
  37. package/dist/cjs/icons/NewEgg.js +11 -0
  38. package/dist/cjs/icons/OpenAi.js +11 -0
  39. package/dist/cjs/icons/OpenCode.js +11 -0
  40. package/dist/cjs/icons/OpenCodeMonochrome.js +11 -0
  41. package/dist/cjs/icons/Opensource.js +11 -0
  42. package/dist/cjs/icons/Ranteater.js +11 -0
  43. package/dist/cjs/icons/Reolink.js +11 -0
  44. package/dist/cjs/icons/Samsung.js +11 -0
  45. package/dist/cjs/icons/Shelly.js +11 -0
  46. package/dist/cjs/icons/Ubiquiti.js +11 -0
  47. package/dist/cjs/icons/VsCode.js +11 -0
  48. package/dist/cjs/icons/Wellcube.js +11 -0
  49. package/dist/cjs/icons/XAI.js +11 -0
  50. package/dist/cjs/icons/XAISquareTransparent.js +11 -0
  51. package/dist/cjs/icons/Xiaomi.js +11 -0
  52. package/dist/cjs/index.js +45 -208
  53. package/dist/cjs/metadata.js +434 -0
  54. package/dist/cjs/runtime.js +123 -0
  55. package/dist/esm/LoadLogo.js +127 -75
  56. package/dist/esm/Logo/Anthropic.js +29 -0
  57. package/dist/esm/Logo/ClaudeCode.js +28 -0
  58. package/dist/esm/Logo/ClaudeCodeMonochrome.js +27 -0
  59. package/dist/esm/Logo/GitHubCopilot.js +29 -0
  60. package/dist/esm/Logo/Grok.js +29 -0
  61. package/dist/esm/Logo/GrokKFull.js +37 -0
  62. package/dist/esm/Logo/OpenCode.js +37 -0
  63. package/dist/esm/Logo/OpenCodeMonochrome.js +31 -0
  64. package/dist/esm/Logo/Ranteater.js +82 -0
  65. package/dist/esm/Logo/XAI.js +54 -0
  66. package/dist/esm/Logo/XAISquareTransparent.js +50 -0
  67. package/dist/esm/icons/Amazon.js +7 -0
  68. package/dist/esm/icons/Anthropic.js +7 -0
  69. package/dist/esm/icons/Apple.js +7 -0
  70. package/dist/esm/icons/Aqara.js +7 -0
  71. package/dist/esm/icons/Cisco.js +7 -0
  72. package/dist/esm/icons/ClaudeCode.js +7 -0
  73. package/dist/esm/icons/ClaudeCodeMonochrome.js +7 -0
  74. package/dist/esm/icons/GLiNet.js +7 -0
  75. package/dist/esm/icons/GitHub.js +7 -0
  76. package/dist/esm/icons/GitHubCopilot.js +7 -0
  77. package/dist/esm/icons/GitLab.js +7 -0
  78. package/dist/esm/icons/Gitea.js +7 -0
  79. package/dist/esm/icons/Google.js +7 -0
  80. package/dist/esm/icons/Grok.js +7 -0
  81. package/dist/esm/icons/GrokKFull.js +7 -0
  82. package/dist/esm/icons/HomeAssistant.js +7 -0
  83. package/dist/esm/icons/HomeDepot.js +7 -0
  84. package/dist/esm/icons/MSI.js +7 -0
  85. package/dist/esm/icons/Microsoft.js +7 -0
  86. package/dist/esm/icons/Mqtt.js +7 -0
  87. package/dist/esm/icons/Netgate.js +7 -0
  88. package/dist/esm/icons/Netgear.js +7 -0
  89. package/dist/esm/icons/NewEgg.js +7 -0
  90. package/dist/esm/icons/OpenAi.js +7 -0
  91. package/dist/esm/icons/OpenCode.js +7 -0
  92. package/dist/esm/icons/OpenCodeMonochrome.js +7 -0
  93. package/dist/esm/icons/Opensource.js +7 -0
  94. package/dist/esm/icons/Ranteater.js +7 -0
  95. package/dist/esm/icons/Reolink.js +7 -0
  96. package/dist/esm/icons/Samsung.js +7 -0
  97. package/dist/esm/icons/Shelly.js +7 -0
  98. package/dist/esm/icons/Ubiquiti.js +7 -0
  99. package/dist/esm/icons/VsCode.js +7 -0
  100. package/dist/esm/icons/Wellcube.js +7 -0
  101. package/dist/esm/icons/XAI.js +7 -0
  102. package/dist/esm/icons/XAISquareTransparent.js +7 -0
  103. package/dist/esm/icons/Xiaomi.js +7 -0
  104. package/dist/esm/index.js +40 -27
  105. package/dist/esm/metadata.js +426 -0
  106. package/dist/esm/runtime.js +116 -0
  107. package/dist/index.d.cts +113 -0
  108. package/dist/index.d.mts +99 -0
  109. package/dist/index.d.ts +87 -33
  110. package/dist/metadata.d.cts +11 -0
  111. package/dist/metadata.d.mts +2 -0
  112. package/dist/metadata.d.ts +2 -0
  113. package/dist/metadata.json +412 -0
  114. package/dist/types/icons/Amazon.d.cts +3 -0
  115. package/dist/types/icons/Amazon.d.mts +3 -0
  116. package/dist/types/icons/Amazon.d.ts +3 -0
  117. package/dist/types/icons/Anthropic.d.cts +3 -0
  118. package/dist/types/icons/Anthropic.d.mts +3 -0
  119. package/dist/types/icons/Anthropic.d.ts +3 -0
  120. package/dist/types/icons/Apple.d.cts +3 -0
  121. package/dist/types/icons/Apple.d.mts +3 -0
  122. package/dist/types/icons/Apple.d.ts +3 -0
  123. package/dist/types/icons/Aqara.d.cts +3 -0
  124. package/dist/types/icons/Aqara.d.mts +3 -0
  125. package/dist/types/icons/Aqara.d.ts +3 -0
  126. package/dist/types/icons/Cisco.d.cts +3 -0
  127. package/dist/types/icons/Cisco.d.mts +3 -0
  128. package/dist/types/icons/Cisco.d.ts +3 -0
  129. package/dist/types/icons/ClaudeCode.d.cts +3 -0
  130. package/dist/types/icons/ClaudeCode.d.mts +3 -0
  131. package/dist/types/icons/ClaudeCode.d.ts +3 -0
  132. package/dist/types/icons/ClaudeCodeMonochrome.d.cts +3 -0
  133. package/dist/types/icons/ClaudeCodeMonochrome.d.mts +3 -0
  134. package/dist/types/icons/ClaudeCodeMonochrome.d.ts +3 -0
  135. package/dist/types/icons/GLiNet.d.cts +3 -0
  136. package/dist/types/icons/GLiNet.d.mts +3 -0
  137. package/dist/types/icons/GLiNet.d.ts +3 -0
  138. package/dist/types/icons/GitHub.d.cts +3 -0
  139. package/dist/types/icons/GitHub.d.mts +3 -0
  140. package/dist/types/icons/GitHub.d.ts +3 -0
  141. package/dist/types/icons/GitHubCopilot.d.cts +3 -0
  142. package/dist/types/icons/GitHubCopilot.d.mts +3 -0
  143. package/dist/types/icons/GitHubCopilot.d.ts +3 -0
  144. package/dist/types/icons/GitLab.d.cts +3 -0
  145. package/dist/types/icons/GitLab.d.mts +3 -0
  146. package/dist/types/icons/GitLab.d.ts +3 -0
  147. package/dist/types/icons/Gitea.d.cts +3 -0
  148. package/dist/types/icons/Gitea.d.mts +3 -0
  149. package/dist/types/icons/Gitea.d.ts +3 -0
  150. package/dist/types/icons/Google.d.cts +3 -0
  151. package/dist/types/icons/Google.d.mts +3 -0
  152. package/dist/types/icons/Google.d.ts +3 -0
  153. package/dist/types/icons/Grok.d.cts +3 -0
  154. package/dist/types/icons/Grok.d.mts +3 -0
  155. package/dist/types/icons/Grok.d.ts +3 -0
  156. package/dist/types/icons/GrokKFull.d.cts +3 -0
  157. package/dist/types/icons/GrokKFull.d.mts +3 -0
  158. package/dist/types/icons/GrokKFull.d.ts +3 -0
  159. package/dist/types/icons/HomeAssistant.d.cts +3 -0
  160. package/dist/types/icons/HomeAssistant.d.mts +3 -0
  161. package/dist/types/icons/HomeAssistant.d.ts +3 -0
  162. package/dist/types/icons/HomeDepot.d.cts +3 -0
  163. package/dist/types/icons/HomeDepot.d.mts +3 -0
  164. package/dist/types/icons/HomeDepot.d.ts +3 -0
  165. package/dist/types/icons/MSI.d.cts +3 -0
  166. package/dist/types/icons/MSI.d.mts +3 -0
  167. package/dist/types/icons/MSI.d.ts +3 -0
  168. package/dist/types/icons/Microsoft.d.cts +3 -0
  169. package/dist/types/icons/Microsoft.d.mts +3 -0
  170. package/dist/types/icons/Microsoft.d.ts +3 -0
  171. package/dist/types/icons/Mqtt.d.cts +3 -0
  172. package/dist/types/icons/Mqtt.d.mts +3 -0
  173. package/dist/types/icons/Mqtt.d.ts +3 -0
  174. package/dist/types/icons/Netgate.d.cts +3 -0
  175. package/dist/types/icons/Netgate.d.mts +3 -0
  176. package/dist/types/icons/Netgate.d.ts +3 -0
  177. package/dist/types/icons/Netgear.d.cts +3 -0
  178. package/dist/types/icons/Netgear.d.mts +3 -0
  179. package/dist/types/icons/Netgear.d.ts +3 -0
  180. package/dist/types/icons/NewEgg.d.cts +3 -0
  181. package/dist/types/icons/NewEgg.d.mts +3 -0
  182. package/dist/types/icons/NewEgg.d.ts +3 -0
  183. package/dist/types/icons/OpenAi.d.cts +3 -0
  184. package/dist/types/icons/OpenAi.d.mts +3 -0
  185. package/dist/types/icons/OpenAi.d.ts +3 -0
  186. package/dist/types/icons/OpenCode.d.cts +3 -0
  187. package/dist/types/icons/OpenCode.d.mts +3 -0
  188. package/dist/types/icons/OpenCode.d.ts +3 -0
  189. package/dist/types/icons/OpenCodeMonochrome.d.cts +3 -0
  190. package/dist/types/icons/OpenCodeMonochrome.d.mts +3 -0
  191. package/dist/types/icons/OpenCodeMonochrome.d.ts +3 -0
  192. package/dist/types/icons/Opensource.d.cts +3 -0
  193. package/dist/types/icons/Opensource.d.mts +3 -0
  194. package/dist/types/icons/Opensource.d.ts +3 -0
  195. package/dist/types/icons/Ranteater.d.cts +3 -0
  196. package/dist/types/icons/Ranteater.d.mts +3 -0
  197. package/dist/types/icons/Ranteater.d.ts +3 -0
  198. package/dist/types/icons/Reolink.d.cts +3 -0
  199. package/dist/types/icons/Reolink.d.mts +3 -0
  200. package/dist/types/icons/Reolink.d.ts +3 -0
  201. package/dist/types/icons/Samsung.d.cts +3 -0
  202. package/dist/types/icons/Samsung.d.mts +3 -0
  203. package/dist/types/icons/Samsung.d.ts +3 -0
  204. package/dist/types/icons/Shelly.d.cts +3 -0
  205. package/dist/types/icons/Shelly.d.mts +3 -0
  206. package/dist/types/icons/Shelly.d.ts +3 -0
  207. package/dist/types/icons/Ubiquiti.d.cts +3 -0
  208. package/dist/types/icons/Ubiquiti.d.mts +3 -0
  209. package/dist/types/icons/Ubiquiti.d.ts +3 -0
  210. package/dist/types/icons/VsCode.d.cts +3 -0
  211. package/dist/types/icons/VsCode.d.mts +3 -0
  212. package/dist/types/icons/VsCode.d.ts +3 -0
  213. package/dist/types/icons/Wellcube.d.cts +3 -0
  214. package/dist/types/icons/Wellcube.d.mts +3 -0
  215. package/dist/types/icons/Wellcube.d.ts +3 -0
  216. package/dist/types/icons/XAI.d.cts +3 -0
  217. package/dist/types/icons/XAI.d.mts +3 -0
  218. package/dist/types/icons/XAI.d.ts +3 -0
  219. package/dist/types/icons/XAISquareTransparent.d.cts +3 -0
  220. package/dist/types/icons/XAISquareTransparent.d.mts +3 -0
  221. package/dist/types/icons/XAISquareTransparent.d.ts +3 -0
  222. package/dist/types/icons/Xiaomi.d.cts +3 -0
  223. package/dist/types/icons/Xiaomi.d.mts +3 -0
  224. package/dist/types/icons/Xiaomi.d.ts +3 -0
  225. package/icons.json +449 -0
  226. package/icons.schema.json +97 -0
  227. package/package.json +44 -13
  228. package/dist/types/Logo/Amazon.d.ts +0 -4
  229. package/dist/types/Logo/Apple.d.ts +0 -4
  230. package/dist/types/Logo/Aqara.d.ts +0 -4
  231. package/dist/types/Logo/Cisco.d.ts +0 -4
  232. package/dist/types/Logo/GLiNet.d.ts +0 -4
  233. package/dist/types/Logo/GitHub.d.ts +0 -4
  234. package/dist/types/Logo/GitLab.d.ts +0 -4
  235. package/dist/types/Logo/Gitea.d.ts +0 -4
  236. package/dist/types/Logo/Google.d.ts +0 -4
  237. package/dist/types/Logo/HomeAssistant.d.ts +0 -4
  238. package/dist/types/Logo/HomeDepot.d.ts +0 -4
  239. package/dist/types/Logo/MSI.d.ts +0 -4
  240. package/dist/types/Logo/Microsoft.d.ts +0 -4
  241. package/dist/types/Logo/Mqtt.d.ts +0 -4
  242. package/dist/types/Logo/Netgate.d.ts +0 -4
  243. package/dist/types/Logo/Netgear.d.ts +0 -4
  244. package/dist/types/Logo/NewEgg.d.ts +0 -4
  245. package/dist/types/Logo/OpenAi.d.ts +0 -4
  246. package/dist/types/Logo/Opensource.d.ts +0 -4
  247. package/dist/types/Logo/Reolink.d.ts +0 -4
  248. package/dist/types/Logo/Samsung.d.ts +0 -4
  249. package/dist/types/Logo/Shelly.d.ts +0 -4
  250. package/dist/types/Logo/Ubiquiti.d.ts +0 -4
  251. package/dist/types/Logo/VsCode.d.ts +0 -4
  252. package/dist/types/Logo/Wellcube.d.ts +0 -4
  253. package/dist/types/Logo/Xiaomi.d.ts +0 -4
@@ -0,0 +1,99 @@
1
+ import type { CSSProperties, ForwardRefExoticComponent, RefAttributes, SVGProps } from 'react'
2
+
3
+ export type IconName = "Amazon" | "Anthropic" | "Apple" | "Aqara" | "Cisco" | "ClaudeCode" | "ClaudeCodeMonochrome" | "Gitea" | "GitHub" | "GitHubCopilot" | "GitLab" | "GLiNet" | "Google" | "Grok" | "GrokKFull" | "HomeAssistant" | "HomeDepot" | "Microsoft" | "Mqtt" | "MSI" | "Netgate" | "Netgear" | "NewEgg" | "OpenAi" | "OpenCode" | "OpenCodeMonochrome" | "Opensource" | "Ranteater" | "Reolink" | "Samsung" | "Shelly" | "Ubiquiti" | "VsCode" | "Wellcube" | "XAI" | "XAISquareTransparent" | "Xiaomi"
4
+ export type IconSlug = "amazon" | "anthropic" | "apple" | "aqara" | "cisco" | "claude-code" | "claude-code-monochrome" | "gitea" | "github" | "github-copilot" | "gitlab" | "glinet" | "google" | "grok" | "grok-full" | "home-assistant" | "home-depot" | "microsoft" | "mqtt" | "msi" | "netgate" | "netgear" | "newegg" | "openai" | "opencode" | "opencode-monochrome" | "open-source" | "ranteater" | "reolink" | "samsung" | "shelly" | "ubiquiti" | "visual-studio-code" | "wellcube" | "xai" | "xai-square-transparent" | "xiaomi"
5
+ export type IconIdentifier = IconName | IconSlug
6
+ export type IconColorMode = 'monochrome' | 'duotone' | 'multicolor' | 'fixed-color'
7
+ export type IconVariant = 'logo' | 'logomark' | 'wordmark' | 'combination-mark' | 'emblem'
8
+ export type IconAssetLicense = 'trademark' | 'project-owned' | 'open-source' | 'unknown'
9
+
10
+ export interface IconMetadata {
11
+ readonly exportName: IconName
12
+ readonly slug: IconSlug
13
+ readonly title: string
14
+ readonly source: string
15
+ readonly sourceUrl: string | null
16
+ readonly guidelinesUrl: string | null
17
+ readonly assetLicense: IconAssetLicense
18
+ readonly colorMode: IconColorMode
19
+ readonly variant: IconVariant
20
+ }
21
+
22
+ export type LogoStyle = CSSProperties & {
23
+ [customProperty: `--${string}`]: string | number | undefined
24
+ }
25
+
26
+ export interface LogoProps extends Omit<
27
+ SVGProps<SVGSVGElement>,
28
+ 'children' | 'dangerouslySetInnerHTML' | 'fill' | 'height' | 'style' | 'title' | 'width'
29
+ > {
30
+ size?: number | string
31
+ width?: number | string
32
+ height?: number | string
33
+ /** @deprecated Use width or size. */
34
+ w?: number | string
35
+ /** @deprecated Use height or size. */
36
+ h?: number | string
37
+ /** Standard SVG fill, or the deprecated style-object compatibility form. */
38
+ fill?: SVGProps<SVGSVGElement>['fill'] | CSSProperties
39
+ style?: LogoStyle
40
+ /** Adds an SVG title and exposes the icon as semantic content. */
41
+ title?: string
42
+ /** Compatibility alias for MUI SvgIcon titleAccess. */
43
+ titleAccess?: string
44
+ }
45
+
46
+ export type LogoComponent = ForwardRefExoticComponent<LogoProps & RefAttributes<SVGSVGElement>> & {
47
+ readonly metadata: Readonly<IconMetadata>
48
+ }
49
+
50
+ export interface LoadLogoProps extends LogoProps {
51
+ iconPath: IconIdentifier
52
+ }
53
+
54
+ export type LoadLogoComponent = ForwardRefExoticComponent<LoadLogoProps & RefAttributes<SVGSVGElement>>
55
+
56
+ export declare const logoNames: readonly IconName[]
57
+ export declare const logoSlugs: readonly IconSlug[]
58
+ export declare const iconMetadata: Readonly<Record<IconName, Readonly<IconMetadata>>>
59
+ export declare const iconMetadataBySlug: Readonly<Record<IconSlug, Readonly<IconMetadata>>>
60
+ export declare function getIconMetadata(identifier: IconIdentifier | string): Readonly<IconMetadata> | null
61
+ export declare const LoadLogo: LoadLogoComponent
62
+ export declare const Amazon: LogoComponent
63
+ export declare const Anthropic: LogoComponent
64
+ export declare const Apple: LogoComponent
65
+ export declare const Aqara: LogoComponent
66
+ export declare const Cisco: LogoComponent
67
+ export declare const ClaudeCode: LogoComponent
68
+ export declare const ClaudeCodeMonochrome: LogoComponent
69
+ export declare const Gitea: LogoComponent
70
+ export declare const GitHub: LogoComponent
71
+ export declare const GitHubCopilot: LogoComponent
72
+ export declare const GitLab: LogoComponent
73
+ export declare const GLiNet: LogoComponent
74
+ export declare const Google: LogoComponent
75
+ export declare const Grok: LogoComponent
76
+ export declare const GrokKFull: LogoComponent
77
+ export declare const HomeAssistant: LogoComponent
78
+ export declare const HomeDepot: LogoComponent
79
+ export declare const Microsoft: LogoComponent
80
+ export declare const Mqtt: LogoComponent
81
+ export declare const MSI: LogoComponent
82
+ export declare const Netgate: LogoComponent
83
+ export declare const Netgear: LogoComponent
84
+ export declare const NewEgg: LogoComponent
85
+ export declare const OpenAi: LogoComponent
86
+ export declare const OpenCode: LogoComponent
87
+ export declare const OpenCodeMonochrome: LogoComponent
88
+ export declare const Opensource: LogoComponent
89
+ export declare const Ranteater: LogoComponent
90
+ export declare const Reolink: LogoComponent
91
+ export declare const Samsung: LogoComponent
92
+ export declare const Shelly: LogoComponent
93
+ export declare const Ubiquiti: LogoComponent
94
+ export declare const VsCode: LogoComponent
95
+ export declare const Wellcube: LogoComponent
96
+ export declare const XAI: LogoComponent
97
+ export declare const XAISquareTransparent: LogoComponent
98
+ export declare const Xiaomi: LogoComponent
99
+ export default LoadLogo
package/dist/index.d.ts CHANGED
@@ -1,45 +1,99 @@
1
- import type { ComponentType, CSSProperties } from 'react'
1
+ import type { CSSProperties, ForwardRefExoticComponent, RefAttributes, SVGProps } from 'react'
2
2
 
3
- export interface LogoProps {
4
- /** CSS styles applied to the root SVG element. Kept as "fill" for API compatibility. */
5
- fill?: CSSProperties
3
+ export type IconName = "Amazon" | "Anthropic" | "Apple" | "Aqara" | "Cisco" | "ClaudeCode" | "ClaudeCodeMonochrome" | "Gitea" | "GitHub" | "GitHubCopilot" | "GitLab" | "GLiNet" | "Google" | "Grok" | "GrokKFull" | "HomeAssistant" | "HomeDepot" | "Microsoft" | "Mqtt" | "MSI" | "Netgate" | "Netgear" | "NewEgg" | "OpenAi" | "OpenCode" | "OpenCodeMonochrome" | "Opensource" | "Ranteater" | "Reolink" | "Samsung" | "Shelly" | "Ubiquiti" | "VsCode" | "Wellcube" | "XAI" | "XAISquareTransparent" | "Xiaomi"
4
+ export type IconSlug = "amazon" | "anthropic" | "apple" | "aqara" | "cisco" | "claude-code" | "claude-code-monochrome" | "gitea" | "github" | "github-copilot" | "gitlab" | "glinet" | "google" | "grok" | "grok-full" | "home-assistant" | "home-depot" | "microsoft" | "mqtt" | "msi" | "netgate" | "netgear" | "newegg" | "openai" | "opencode" | "opencode-monochrome" | "open-source" | "ranteater" | "reolink" | "samsung" | "shelly" | "ubiquiti" | "visual-studio-code" | "wellcube" | "xai" | "xai-square-transparent" | "xiaomi"
5
+ export type IconIdentifier = IconName | IconSlug
6
+ export type IconColorMode = 'monochrome' | 'duotone' | 'multicolor' | 'fixed-color'
7
+ export type IconVariant = 'logo' | 'logomark' | 'wordmark' | 'combination-mark' | 'emblem'
8
+ export type IconAssetLicense = 'trademark' | 'project-owned' | 'open-source' | 'unknown'
9
+
10
+ export interface IconMetadata {
11
+ readonly exportName: IconName
12
+ readonly slug: IconSlug
13
+ readonly title: string
14
+ readonly source: string
15
+ readonly sourceUrl: string | null
16
+ readonly guidelinesUrl: string | null
17
+ readonly assetLicense: IconAssetLicense
18
+ readonly colorMode: IconColorMode
19
+ readonly variant: IconVariant
20
+ }
21
+
22
+ export type LogoStyle = CSSProperties & {
23
+ [customProperty: `--${string}`]: string | number | undefined
24
+ }
25
+
26
+ export interface LogoProps extends Omit<
27
+ SVGProps<SVGSVGElement>,
28
+ 'children' | 'dangerouslySetInnerHTML' | 'fill' | 'height' | 'style' | 'title' | 'width'
29
+ > {
30
+ size?: number | string
31
+ width?: number | string
32
+ height?: number | string
33
+ /** @deprecated Use width or size. */
6
34
  w?: number | string
35
+ /** @deprecated Use height or size. */
7
36
  h?: number | string
37
+ /** Standard SVG fill, or the deprecated style-object compatibility form. */
38
+ fill?: SVGProps<SVGSVGElement>['fill'] | CSSProperties
39
+ style?: LogoStyle
40
+ /** Adds an SVG title and exposes the icon as semantic content. */
8
41
  title?: string
42
+ /** Compatibility alias for MUI SvgIcon titleAccess. */
43
+ titleAccess?: string
9
44
  }
10
45
 
11
- export type IconName = 'Amazon' | 'Apple' | 'Aqara' | 'Cisco' | 'GLiNet' | 'GitHub' | 'GitLab' | 'Gitea' | 'Google' | 'HomeAssistant' | 'HomeDepot' | 'MSI' | 'Microsoft' | 'Mqtt' | 'Netgate' | 'Netgear' | 'NewEgg' | 'OpenAi' | 'Opensource' | 'Reolink' | 'Samsung' | 'Shelly' | 'Ubiquiti' | 'VsCode' | 'Wellcube' | 'Xiaomi'
46
+ export type LogoComponent = ForwardRefExoticComponent<LogoProps & RefAttributes<SVGSVGElement>> & {
47
+ readonly metadata: Readonly<IconMetadata>
48
+ }
12
49
 
13
50
  export interface LoadLogoProps extends LogoProps {
14
- iconPath: IconName
51
+ iconPath: IconIdentifier
15
52
  }
16
53
 
54
+ export type LoadLogoComponent = ForwardRefExoticComponent<LoadLogoProps & RefAttributes<SVGSVGElement>>
55
+
17
56
  export declare const logoNames: readonly IconName[]
18
- export declare const LoadLogo: ComponentType<LoadLogoProps>
19
- export declare const Amazon: ComponentType<LogoProps>
20
- export declare const Apple: ComponentType<LogoProps>
21
- export declare const Aqara: ComponentType<LogoProps>
22
- export declare const Cisco: ComponentType<LogoProps>
23
- export declare const GLiNet: ComponentType<LogoProps>
24
- export declare const GitHub: ComponentType<LogoProps>
25
- export declare const GitLab: ComponentType<LogoProps>
26
- export declare const Gitea: ComponentType<LogoProps>
27
- export declare const Google: ComponentType<LogoProps>
28
- export declare const HomeAssistant: ComponentType<LogoProps>
29
- export declare const HomeDepot: ComponentType<LogoProps>
30
- export declare const MSI: ComponentType<LogoProps>
31
- export declare const Microsoft: ComponentType<LogoProps>
32
- export declare const Mqtt: ComponentType<LogoProps>
33
- export declare const Netgate: ComponentType<LogoProps>
34
- export declare const Netgear: ComponentType<LogoProps>
35
- export declare const NewEgg: ComponentType<LogoProps>
36
- export declare const OpenAi: ComponentType<LogoProps>
37
- export declare const Opensource: ComponentType<LogoProps>
38
- export declare const Reolink: ComponentType<LogoProps>
39
- export declare const Samsung: ComponentType<LogoProps>
40
- export declare const Shelly: ComponentType<LogoProps>
41
- export declare const Ubiquiti: ComponentType<LogoProps>
42
- export declare const VsCode: ComponentType<LogoProps>
43
- export declare const Wellcube: ComponentType<LogoProps>
44
- export declare const Xiaomi: ComponentType<LogoProps>
57
+ export declare const logoSlugs: readonly IconSlug[]
58
+ export declare const iconMetadata: Readonly<Record<IconName, Readonly<IconMetadata>>>
59
+ export declare const iconMetadataBySlug: Readonly<Record<IconSlug, Readonly<IconMetadata>>>
60
+ export declare function getIconMetadata(identifier: IconIdentifier | string): Readonly<IconMetadata> | null
61
+ export declare const LoadLogo: LoadLogoComponent
62
+ export declare const Amazon: LogoComponent
63
+ export declare const Anthropic: LogoComponent
64
+ export declare const Apple: LogoComponent
65
+ export declare const Aqara: LogoComponent
66
+ export declare const Cisco: LogoComponent
67
+ export declare const ClaudeCode: LogoComponent
68
+ export declare const ClaudeCodeMonochrome: LogoComponent
69
+ export declare const Gitea: LogoComponent
70
+ export declare const GitHub: LogoComponent
71
+ export declare const GitHubCopilot: LogoComponent
72
+ export declare const GitLab: LogoComponent
73
+ export declare const GLiNet: LogoComponent
74
+ export declare const Google: LogoComponent
75
+ export declare const Grok: LogoComponent
76
+ export declare const GrokKFull: LogoComponent
77
+ export declare const HomeAssistant: LogoComponent
78
+ export declare const HomeDepot: LogoComponent
79
+ export declare const Microsoft: LogoComponent
80
+ export declare const Mqtt: LogoComponent
81
+ export declare const MSI: LogoComponent
82
+ export declare const Netgate: LogoComponent
83
+ export declare const Netgear: LogoComponent
84
+ export declare const NewEgg: LogoComponent
85
+ export declare const OpenAi: LogoComponent
86
+ export declare const OpenCode: LogoComponent
87
+ export declare const OpenCodeMonochrome: LogoComponent
88
+ export declare const Opensource: LogoComponent
89
+ export declare const Ranteater: LogoComponent
90
+ export declare const Reolink: LogoComponent
91
+ export declare const Samsung: LogoComponent
92
+ export declare const Shelly: LogoComponent
93
+ export declare const Ubiquiti: LogoComponent
94
+ export declare const VsCode: LogoComponent
95
+ export declare const Wellcube: LogoComponent
96
+ export declare const XAI: LogoComponent
97
+ export declare const XAISquareTransparent: LogoComponent
98
+ export declare const Xiaomi: LogoComponent
45
99
  export default LoadLogo
@@ -0,0 +1,11 @@
1
+ import svgLogo = require('./index.cjs')
2
+
3
+ declare const metadata: {
4
+ readonly getIconMetadata: typeof svgLogo.getIconMetadata
5
+ readonly iconMetadata: typeof svgLogo.iconMetadata
6
+ readonly iconMetadataBySlug: typeof svgLogo.iconMetadataBySlug
7
+ readonly logoNames: typeof svgLogo.logoNames
8
+ readonly logoSlugs: typeof svgLogo.logoSlugs
9
+ }
10
+
11
+ export = metadata
@@ -0,0 +1,2 @@
1
+ export { getIconMetadata, iconMetadata, iconMetadataBySlug, logoNames, logoSlugs } from './index.mjs'
2
+ export type { IconAssetLicense, IconColorMode, IconIdentifier, IconMetadata, IconName, IconSlug, IconVariant } from './index.mjs'
@@ -0,0 +1,2 @@
1
+ export { getIconMetadata, iconMetadata, iconMetadataBySlug, logoNames, logoSlugs } from './index.js'
2
+ export type { IconAssetLicense, IconColorMode, IconIdentifier, IconMetadata, IconName, IconSlug, IconVariant } from './index.js'
@@ -0,0 +1,412 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "icons": [
4
+ {
5
+ "exportName": "Amazon",
6
+ "slug": "amazon",
7
+ "title": "Amazon",
8
+ "source": "Legacy svg-logo catalog",
9
+ "sourceUrl": null,
10
+ "guidelinesUrl": null,
11
+ "assetLicense": "trademark",
12
+ "colorMode": "monochrome",
13
+ "variant": "logo"
14
+ },
15
+ {
16
+ "exportName": "Anthropic",
17
+ "slug": "anthropic",
18
+ "title": "Anthropic",
19
+ "source": "Anthropic press kit — Anthropic symbol (Slate)",
20
+ "sourceUrl": "https://www.anthropic.com/news",
21
+ "guidelinesUrl": null,
22
+ "assetLicense": "trademark",
23
+ "colorMode": "monochrome",
24
+ "variant": "logomark"
25
+ },
26
+ {
27
+ "exportName": "Apple",
28
+ "slug": "apple",
29
+ "title": "Apple",
30
+ "source": "Legacy svg-logo catalog",
31
+ "sourceUrl": null,
32
+ "guidelinesUrl": null,
33
+ "assetLicense": "trademark",
34
+ "colorMode": "monochrome",
35
+ "variant": "logo"
36
+ },
37
+ {
38
+ "exportName": "Aqara",
39
+ "slug": "aqara",
40
+ "title": "Aqara",
41
+ "source": "Legacy svg-logo catalog",
42
+ "sourceUrl": null,
43
+ "guidelinesUrl": null,
44
+ "assetLicense": "trademark",
45
+ "colorMode": "monochrome",
46
+ "variant": "logo"
47
+ },
48
+ {
49
+ "exportName": "Cisco",
50
+ "slug": "cisco",
51
+ "title": "Cisco",
52
+ "source": "Legacy svg-logo catalog",
53
+ "sourceUrl": null,
54
+ "guidelinesUrl": null,
55
+ "assetLicense": "trademark",
56
+ "colorMode": "monochrome",
57
+ "variant": "logo"
58
+ },
59
+ {
60
+ "exportName": "ClaudeCode",
61
+ "slug": "claude-code",
62
+ "title": "Claude Code",
63
+ "source": "Anthropic press kit — Claude Spark (Clay)",
64
+ "sourceUrl": "https://www.anthropic.com/news",
65
+ "guidelinesUrl": null,
66
+ "assetLicense": "trademark",
67
+ "colorMode": "fixed-color",
68
+ "variant": "logomark"
69
+ },
70
+ {
71
+ "exportName": "ClaudeCodeMonochrome",
72
+ "slug": "claude-code-monochrome",
73
+ "title": "Claude Code",
74
+ "source": "Monochrome UI variant derived from Anthropic press kit — Claude Spark (Clay)",
75
+ "sourceUrl": "https://www.anthropic.com/news",
76
+ "guidelinesUrl": null,
77
+ "assetLicense": "trademark",
78
+ "colorMode": "monochrome",
79
+ "variant": "logomark"
80
+ },
81
+ {
82
+ "exportName": "Gitea",
83
+ "slug": "gitea",
84
+ "title": "Gitea",
85
+ "source": "Legacy svg-logo catalog",
86
+ "sourceUrl": null,
87
+ "guidelinesUrl": null,
88
+ "assetLicense": "trademark",
89
+ "colorMode": "monochrome",
90
+ "variant": "logo"
91
+ },
92
+ {
93
+ "exportName": "GitHub",
94
+ "slug": "github",
95
+ "title": "GitHub",
96
+ "source": "Legacy svg-logo catalog",
97
+ "sourceUrl": null,
98
+ "guidelinesUrl": null,
99
+ "assetLicense": "trademark",
100
+ "colorMode": "monochrome",
101
+ "variant": "logo"
102
+ },
103
+ {
104
+ "exportName": "GitHubCopilot",
105
+ "slug": "github-copilot",
106
+ "title": "GitHub Copilot",
107
+ "source": "GitHub Primer Octicons — copilot-24.svg",
108
+ "sourceUrl": "https://github.com/primer/octicons/blob/0e21a4c2d8449102f10e533d241f04797af0914c/icons/copilot-24.svg",
109
+ "guidelinesUrl": "https://brand.github.com/brand-identity/copilot",
110
+ "assetLicense": "trademark",
111
+ "colorMode": "monochrome",
112
+ "variant": "logomark"
113
+ },
114
+ {
115
+ "exportName": "GitLab",
116
+ "slug": "gitlab",
117
+ "title": "GitLab",
118
+ "source": "Legacy svg-logo catalog",
119
+ "sourceUrl": null,
120
+ "guidelinesUrl": null,
121
+ "assetLicense": "trademark",
122
+ "colorMode": "monochrome",
123
+ "variant": "logo"
124
+ },
125
+ {
126
+ "exportName": "GLiNet",
127
+ "slug": "glinet",
128
+ "title": "GL.iNet",
129
+ "source": "Legacy svg-logo catalog",
130
+ "sourceUrl": null,
131
+ "guidelinesUrl": null,
132
+ "assetLicense": "trademark",
133
+ "colorMode": "monochrome",
134
+ "variant": "logo"
135
+ },
136
+ {
137
+ "exportName": "Google",
138
+ "slug": "google",
139
+ "title": "Google",
140
+ "source": "Legacy svg-logo catalog",
141
+ "sourceUrl": null,
142
+ "guidelinesUrl": null,
143
+ "assetLicense": "trademark",
144
+ "colorMode": "monochrome",
145
+ "variant": "logo"
146
+ },
147
+ {
148
+ "exportName": "Grok",
149
+ "slug": "grok",
150
+ "title": "Grok",
151
+ "source": "User-supplied Grok SVG asset",
152
+ "sourceUrl": null,
153
+ "guidelinesUrl": null,
154
+ "assetLicense": "trademark",
155
+ "colorMode": "monochrome",
156
+ "variant": "logomark"
157
+ },
158
+ {
159
+ "exportName": "GrokKFull",
160
+ "slug": "grok-full",
161
+ "title": "Grok Full",
162
+ "source": "User-supplied Grok SVG asset",
163
+ "sourceUrl": null,
164
+ "guidelinesUrl": null,
165
+ "assetLicense": "trademark",
166
+ "colorMode": "monochrome",
167
+ "variant": "combination-mark"
168
+ },
169
+ {
170
+ "exportName": "HomeAssistant",
171
+ "slug": "home-assistant",
172
+ "title": "Home Assistant",
173
+ "source": "Legacy svg-logo catalog",
174
+ "sourceUrl": null,
175
+ "guidelinesUrl": null,
176
+ "assetLicense": "trademark",
177
+ "colorMode": "monochrome",
178
+ "variant": "logo"
179
+ },
180
+ {
181
+ "exportName": "HomeDepot",
182
+ "slug": "home-depot",
183
+ "title": "The Home Depot",
184
+ "source": "Legacy svg-logo catalog",
185
+ "sourceUrl": null,
186
+ "guidelinesUrl": null,
187
+ "assetLicense": "trademark",
188
+ "colorMode": "duotone",
189
+ "variant": "logo"
190
+ },
191
+ {
192
+ "exportName": "Microsoft",
193
+ "slug": "microsoft",
194
+ "title": "Microsoft",
195
+ "source": "Legacy svg-logo catalog",
196
+ "sourceUrl": null,
197
+ "guidelinesUrl": null,
198
+ "assetLicense": "trademark",
199
+ "colorMode": "monochrome",
200
+ "variant": "logo"
201
+ },
202
+ {
203
+ "exportName": "Mqtt",
204
+ "slug": "mqtt",
205
+ "title": "MQTT",
206
+ "source": "Legacy svg-logo catalog",
207
+ "sourceUrl": null,
208
+ "guidelinesUrl": null,
209
+ "assetLicense": "trademark",
210
+ "colorMode": "monochrome",
211
+ "variant": "logo"
212
+ },
213
+ {
214
+ "exportName": "MSI",
215
+ "slug": "msi",
216
+ "title": "MSI",
217
+ "source": "Legacy svg-logo catalog",
218
+ "sourceUrl": null,
219
+ "guidelinesUrl": null,
220
+ "assetLicense": "trademark",
221
+ "colorMode": "monochrome",
222
+ "variant": "logo"
223
+ },
224
+ {
225
+ "exportName": "Netgate",
226
+ "slug": "netgate",
227
+ "title": "Netgate",
228
+ "source": "Legacy svg-logo catalog",
229
+ "sourceUrl": null,
230
+ "guidelinesUrl": null,
231
+ "assetLicense": "trademark",
232
+ "colorMode": "duotone",
233
+ "variant": "logo"
234
+ },
235
+ {
236
+ "exportName": "Netgear",
237
+ "slug": "netgear",
238
+ "title": "Netgear",
239
+ "source": "Legacy svg-logo catalog",
240
+ "sourceUrl": null,
241
+ "guidelinesUrl": null,
242
+ "assetLicense": "trademark",
243
+ "colorMode": "monochrome",
244
+ "variant": "logo"
245
+ },
246
+ {
247
+ "exportName": "NewEgg",
248
+ "slug": "newegg",
249
+ "title": "Newegg",
250
+ "source": "Legacy svg-logo catalog",
251
+ "sourceUrl": null,
252
+ "guidelinesUrl": null,
253
+ "assetLicense": "trademark",
254
+ "colorMode": "monochrome",
255
+ "variant": "logo"
256
+ },
257
+ {
258
+ "exportName": "OpenAi",
259
+ "slug": "openai",
260
+ "title": "OpenAI",
261
+ "source": "Legacy svg-logo catalog",
262
+ "sourceUrl": null,
263
+ "guidelinesUrl": null,
264
+ "assetLicense": "trademark",
265
+ "colorMode": "monochrome",
266
+ "variant": "logo"
267
+ },
268
+ {
269
+ "exportName": "OpenCode",
270
+ "slug": "opencode",
271
+ "title": "OpenCode",
272
+ "source": "OpenCode official repository — favicon-v3.svg",
273
+ "sourceUrl": "https://github.com/anomalyco/opencode/blob/1c965451b537e1af4bff12c163200f762a6a0364/packages/web/public/favicon-v3.svg",
274
+ "guidelinesUrl": null,
275
+ "assetLicense": "trademark",
276
+ "colorMode": "fixed-color",
277
+ "variant": "logomark"
278
+ },
279
+ {
280
+ "exportName": "OpenCodeMonochrome",
281
+ "slug": "opencode-monochrome",
282
+ "title": "OpenCode",
283
+ "source": "Monochrome UI variant derived from OpenCode official favicon geometry",
284
+ "sourceUrl": "https://github.com/anomalyco/opencode/blob/1c965451b537e1af4bff12c163200f762a6a0364/packages/web/public/favicon-v3.svg",
285
+ "guidelinesUrl": null,
286
+ "assetLicense": "trademark",
287
+ "colorMode": "monochrome",
288
+ "variant": "logomark"
289
+ },
290
+ {
291
+ "exportName": "Opensource",
292
+ "slug": "open-source",
293
+ "title": "Open Source",
294
+ "source": "Legacy svg-logo catalog",
295
+ "sourceUrl": null,
296
+ "guidelinesUrl": null,
297
+ "assetLicense": "unknown",
298
+ "colorMode": "monochrome",
299
+ "variant": "logo"
300
+ },
301
+ {
302
+ "exportName": "Ranteater",
303
+ "slug": "ranteater",
304
+ "title": "Ranteater",
305
+ "source": "Ranteater project artwork",
306
+ "sourceUrl": null,
307
+ "guidelinesUrl": null,
308
+ "assetLicense": "project-owned",
309
+ "colorMode": "fixed-color",
310
+ "variant": "emblem"
311
+ },
312
+ {
313
+ "exportName": "Reolink",
314
+ "slug": "reolink",
315
+ "title": "Reolink",
316
+ "source": "Legacy svg-logo catalog",
317
+ "sourceUrl": null,
318
+ "guidelinesUrl": null,
319
+ "assetLicense": "trademark",
320
+ "colorMode": "monochrome",
321
+ "variant": "logo"
322
+ },
323
+ {
324
+ "exportName": "Samsung",
325
+ "slug": "samsung",
326
+ "title": "Samsung",
327
+ "source": "Legacy svg-logo catalog",
328
+ "sourceUrl": null,
329
+ "guidelinesUrl": null,
330
+ "assetLicense": "trademark",
331
+ "colorMode": "monochrome",
332
+ "variant": "logo"
333
+ },
334
+ {
335
+ "exportName": "Shelly",
336
+ "slug": "shelly",
337
+ "title": "Shelly",
338
+ "source": "Legacy svg-logo catalog",
339
+ "sourceUrl": null,
340
+ "guidelinesUrl": null,
341
+ "assetLicense": "trademark",
342
+ "colorMode": "monochrome",
343
+ "variant": "logo"
344
+ },
345
+ {
346
+ "exportName": "Ubiquiti",
347
+ "slug": "ubiquiti",
348
+ "title": "Ubiquiti",
349
+ "source": "Legacy svg-logo catalog",
350
+ "sourceUrl": null,
351
+ "guidelinesUrl": null,
352
+ "assetLicense": "trademark",
353
+ "colorMode": "monochrome",
354
+ "variant": "logo"
355
+ },
356
+ {
357
+ "exportName": "VsCode",
358
+ "slug": "visual-studio-code",
359
+ "title": "Visual Studio Code",
360
+ "source": "Legacy svg-logo catalog",
361
+ "sourceUrl": null,
362
+ "guidelinesUrl": null,
363
+ "assetLicense": "trademark",
364
+ "colorMode": "monochrome",
365
+ "variant": "logo"
366
+ },
367
+ {
368
+ "exportName": "Wellcube",
369
+ "slug": "wellcube",
370
+ "title": "WellCube",
371
+ "source": "Legacy svg-logo catalog",
372
+ "sourceUrl": null,
373
+ "guidelinesUrl": null,
374
+ "assetLicense": "trademark",
375
+ "colorMode": "monochrome",
376
+ "variant": "logo"
377
+ },
378
+ {
379
+ "exportName": "XAI",
380
+ "slug": "xai",
381
+ "title": "xAI",
382
+ "source": "xAI/SpaceXAI media kit — symbol, black, squared",
383
+ "sourceUrl": "https://x.ai/legal/brand-guidelines",
384
+ "guidelinesUrl": "https://x.ai/legal/brand-guidelines",
385
+ "assetLicense": "trademark",
386
+ "colorMode": "fixed-color",
387
+ "variant": "logomark"
388
+ },
389
+ {
390
+ "exportName": "XAISquareTransparent",
391
+ "slug": "xai-square-transparent",
392
+ "title": "xAI",
393
+ "source": "Transparent-background UI variant derived from xAI/SpaceXAI media kit — symbol, black, squared",
394
+ "sourceUrl": "https://x.ai/legal/brand-guidelines",
395
+ "guidelinesUrl": "https://x.ai/legal/brand-guidelines",
396
+ "assetLicense": "trademark",
397
+ "colorMode": "fixed-color",
398
+ "variant": "logomark"
399
+ },
400
+ {
401
+ "exportName": "Xiaomi",
402
+ "slug": "xiaomi",
403
+ "title": "Xiaomi",
404
+ "source": "Legacy svg-logo catalog",
405
+ "sourceUrl": null,
406
+ "guidelinesUrl": null,
407
+ "assetLicense": "trademark",
408
+ "colorMode": "monochrome",
409
+ "variant": "logo"
410
+ }
411
+ ]
412
+ }
@@ -0,0 +1,3 @@
1
+ import svgLogo = require('../../index.cjs')
2
+ declare const Amazon: svgLogo.LogoComponent
3
+ export = Amazon