Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

Icons.tsx

341 lines16.1 KB

1import { type SVGProps, useId } from "react";
2​
3export type Icon = React.FC<SVGProps<SVGSVGElement>>;
4​
5export const GitHubIcon: Icon = (props) => (
6 <svg {...props} viewBox="0 0 1024 1024" fill="none">
7 <path
8 fillRule="evenodd"
9 clipRule="evenodd"
10 d="M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z"
11 transform="scale(64)"
12 fill="currentColor"
13 />
14 </svg>
15);
16​
17export const CursorIcon: Icon = (props) => (
18 <svg {...props} viewBox="0 0 466.73 532.09" fill="currentColor">
19 <path d="M457.43,125.94L244.42,2.96c-6.84-3.95-15.28-3.95-22.12,0L9.3,125.94c-5.75,3.32-9.3,9.46-9.3,16.11v247.99c0,6.65,3.55,12.79,9.3,16.11l213.01,122.98c6.84,3.95,15.28,3.95,22.12,0l213.01-122.98c5.75-3.32,9.3-9.46,9.3-16.11v-247.99c0-6.65-3.55-12.79-9.3-16.11h-.01ZM444.05,151.99l-205.63,356.16c-1.39,2.4-5.06,1.42-5.06-1.36v-233.21c0-4.66-2.49-8.97-6.53-11.31L24.87,145.67c-2.4-1.39-1.42-5.06,1.36-5.06h411.26c5.84,0,9.49,6.33,6.57,11.39h-.01Z" />
20 </svg>
21);
22​
23export const VisualStudioCode: Icon = (props) => {
24 const id = useId();
25 const maskId = `${id}-vscode-a`;
26 const topShadowFilterId = `${id}-vscode-b`;
27 const sideShadowFilterId = `${id}-vscode-c`;
28 const overlayGradientId = `${id}-vscode-d`;
29​
30 return (
31 <svg {...props} fill="none" viewBox="0 0 100 100">
32 <mask id={maskId} width="100" height="100" x="0" y="0" maskUnits="userSpaceOnUse">
33 <path
34 fill="#fff"
35 fillRule="evenodd"
36 d="M70.912 99.317a6.223 6.223 0 0 0 4.96-.19l20.589-9.907A6.25 6.25 0 0 0 100 83.587V16.413a6.25 6.25 0 0 0-3.54-5.632L75.874.874a6.226 6.226 0 0 0-7.104 1.21L29.355 38.04 12.187 25.01a4.162 4.162 0 0 0-5.318.236l-5.506 5.009a4.168 4.168 0 0 0-.004 6.162L16.247 50 1.36 63.583a4.168 4.168 0 0 0 .004 6.162l5.506 5.01a4.162 4.162 0 0 0 5.318.236l17.168-13.032L68.77 97.917a6.217 6.217 0 0 0 2.143 1.4ZM75.015 27.3 45.11 50l29.906 22.701V27.3Z"
37 clipRule="evenodd"
38 />
39 </mask>
40 <g mask={`url(#${maskId})`}>
41 <path
42 fill="#0065A9"
43 d="M96.461 10.796 75.857.876a6.23 6.23 0 0 0-7.107 1.207l-67.451 61.5a4.167 4.167 0 0 0 .004 6.162l5.51 5.009a4.167 4.167 0 0 0 5.32.236l81.228-61.62c2.725-2.067 6.639-.124 6.639 3.297v-.24a6.25 6.25 0 0 0-3.539-5.63Z"
44 />
45 <g filter={`url(#${topShadowFilterId})`}>
46 <path
47 fill="#007ACC"
48 d="m96.461 89.204-20.604 9.92a6.229 6.229 0 0 1-7.107-1.207l-67.451-61.5a4.167 4.167 0 0 1 .004-6.162l5.51-5.009a4.167 4.167 0 0 1 5.32-.236l81.228 61.62c2.725 2.067 6.639.124 6.639-3.297v.24a6.25 6.25 0 0 1-3.539 5.63Z"
49 />
50 </g>
51 <g filter={`url(#${sideShadowFilterId})`}>
52 <path
53 fill="#1F9CF0"
54 d="M75.858 99.126a6.232 6.232 0 0 1-7.108-1.21c2.306 2.307 6.25.674 6.25-2.588V4.672c0-3.262-3.944-4.895-6.25-2.589a6.232 6.232 0 0 1 7.108-1.21l20.6 9.908A6.25 6.25 0 0 1 100 16.413v67.174a6.25 6.25 0 0 1-3.541 5.633l-20.601 9.906Z"
55 />
56 </g>
57 <path
58 fill={`url(#${overlayGradientId})`}
59 fillRule="evenodd"
60 d="M70.851 99.317a6.224 6.224 0 0 0 4.96-.19L96.4 89.22a6.25 6.25 0 0 0 3.54-5.633V16.413a6.25 6.25 0 0 0-3.54-5.632L75.812.874a6.226 6.226 0 0 0-7.104 1.21L29.294 38.04 12.126 25.01a4.162 4.162 0 0 0-5.317.236l-5.507 5.009a4.168 4.168 0 0 0-.004 6.162L16.186 50 1.298 63.583a4.168 4.168 0 0 0 .004 6.162l5.507 5.009a4.162 4.162 0 0 0 5.317.236L29.294 61.96l39.414 35.958a6.218 6.218 0 0 0 2.143 1.4ZM74.954 27.3 45.048 50l29.906 22.701V27.3Z"
61 clipRule="evenodd"
62 opacity=".25"
63 style={{ mixBlendMode: "overlay" }}
64 />
65 </g>
66 <defs>
67 <filter
68 id={topShadowFilterId}
69 width="116.727"
70 height="92.246"
71 x="-8.394"
72 y="15.829"
73 colorInterpolationFilters="sRGB"
74 filterUnits="userSpaceOnUse"
75 >
76 <feFlood floodOpacity="0" result="BackgroundImageFix" />
77 <feColorMatrix
78 in="SourceAlpha"
79 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
80 />
81 <feOffset />
82 <feGaussianBlur stdDeviation="4.167" />
83 <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />
84 <feBlend in2="BackgroundImageFix" mode="overlay" result="effect1_dropShadow" />
85 <feBlend in="SourceGraphic" in2="effect1_dropShadow" result="shape" />
86 </filter>
87 <filter
88 id={sideShadowFilterId}
89 width="47.917"
90 height="116.151"
91 x="60.417"
92 y="-8.076"
93 colorInterpolationFilters="sRGB"
94 filterUnits="userSpaceOnUse"
95 >
96 <feFlood floodOpacity="0" result="BackgroundImageFix" />
97 <feColorMatrix
98 in="SourceAlpha"
99 values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"
100 />
101 <feOffset />
102 <feGaussianBlur stdDeviation="4.167" />
103 <feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0" />
104 <feBlend in2="BackgroundImageFix" mode="overlay" result="effect1_dropShadow" />
105 <feBlend in="SourceGraphic" in2="effect1_dropShadow" result="shape" />
106 </filter>
107 <linearGradient
108 id={overlayGradientId}
109 x1="49.939"
110 x2="49.939"
111 y1=".258"
112 y2="99.742"
113 gradientUnits="userSpaceOnUse"
114 >
115 <stop stopColor="#fff" />
116 <stop offset="1" stopColor="#fff" stopOpacity="0" />
117 </linearGradient>
118 </defs>
119 </svg>
120 );
121};
122​
123export const Zed: Icon = (props) => {
124 const id = useId();
125 const clipPathId = `${id}-zed-logo-a`;
126​
127 return (
128 <svg {...props} fill="none" viewBox="0 0 96 96">
129 <g clipPath={`url(#${clipPathId})`}>
130 <path
131 fill="currentColor"
132 fillRule="evenodd"
133 d="M9 6a3 3 0 0 0-3 3v66H0V9a9 9 0 0 1 9-9h80.379c4.009 0 6.016 4.847 3.182 7.682L43.055 57.187H57V51h6v7.688a4.5 4.5 0 0 1-4.5 4.5H37.055L26.743 73.5H73.5V36h6v37.5a6 6 0 0 1-6 6H20.743L10.243 90H87a3 3 0 0 0 3-3V21h6v66a9 9 0 0 1-9 9H6.621c-4.009 0-6.016-4.847-3.182-7.682L52.757 39H39v6h-6v-7.5a4.5 4.5 0 0 1 4.5-4.5h21.257l10.5-10.5H22.5V60h-6V22.5a6 6 0 0 1 6-6h52.757L85.757 6H9Z"
134 clipRule="evenodd"
135 />
136 </g>
137 <defs>
138 <clipPath id={clipPathId}>
139 <path fill="#fff" d="M0 0h96v96H0z" />
140 </clipPath>
141 </defs>
142 </svg>
143 );
144};
145​
146export const OpenAI: Icon = (props) => (
147 <svg {...props} preserveAspectRatio="xMidYMid" viewBox="0 0 256 260" fill="currentColor">
148 <path d="M239.184 106.203a64.716 64.716 0 0 0-5.576-53.103C219.452 28.459 191 15.784 163.213 21.74A65.586 65.586 0 0 0 52.096 45.22a64.716 64.716 0 0 0-43.23 31.36c-14.31 24.602-11.061 55.634 8.033 76.74a64.665 64.665 0 0 0 5.525 53.102c14.174 24.65 42.644 37.324 70.446 31.36a64.72 64.72 0 0 0 48.754 21.744c28.481.025 53.714-18.361 62.414-45.481a64.767 64.767 0 0 0 43.229-31.36c14.137-24.558 10.875-55.423-8.083-76.483Zm-97.56 136.338a48.397 48.397 0 0 1-31.105-11.255l1.535-.87 51.67-29.825a8.595 8.595 0 0 0 4.247-7.367v-72.85l21.845 12.636c.218.111.37.32.409.563v60.367c-.056 26.818-21.783 48.545-48.601 48.601Zm-104.466-44.61a48.345 48.345 0 0 1-5.781-32.589l1.534.921 51.722 29.826a8.339 8.339 0 0 0 8.441 0l63.181-36.425v25.221a.87.87 0 0 1-.358.665l-52.335 30.184c-23.257 13.398-52.97 5.431-66.404-17.803ZM23.549 85.38a48.499 48.499 0 0 1 25.58-21.333v61.39a8.288 8.288 0 0 0 4.195 7.316l62.874 36.272-21.845 12.636a.819.819 0 0 1-.767 0L41.353 151.53c-23.211-13.454-31.171-43.144-17.804-66.405v.256Zm179.466 41.695-63.08-36.63L161.73 77.86a.819.819 0 0 1 .768 0l52.233 30.184a48.6 48.6 0 0 1-7.316 87.635v-61.391a8.544 8.544 0 0 0-4.4-7.213Zm21.742-32.69-1.535-.922-51.619-30.081a8.39 8.39 0 0 0-8.492 0L99.98 99.808V74.587a.716.716 0 0 1 .307-.665l52.233-30.133a48.652 48.652 0 0 1 72.236 50.391v.205ZM88.061 139.097l-21.845-12.585a.87.87 0 0 1-.41-.614V65.685a48.652 48.652 0 0 1 79.757-37.346l-1.535.87-51.67 29.825a8.595 8.595 0 0 0-4.246 7.367l-.051 72.697Zm11.868-25.58 28.138-16.217 28.188 16.218v32.434l-28.086 16.218-28.188-16.218-.052-32.434Z" />
149 </svg>
150);
151​
152export const ClaudeAI: Icon = (props) => (
153 <svg {...props} preserveAspectRatio="xMidYMid" viewBox="0 0 256 257">
154 <path
155 fill="#D97757"
156 d="m50.228 170.321 50.357-28.257.843-2.463-.843-1.361h-2.462l-8.426-.518-28.775-.778-24.952-1.037-24.175-1.296-6.092-1.297L0 125.796l.583-3.759 5.12-3.434 7.324.648 16.202 1.101 24.304 1.685 17.629 1.037 26.118 2.722h4.148l.583-1.685-1.426-1.037-1.101-1.037-25.147-17.045-27.22-18.017-14.258-10.37-7.713-5.25-3.888-4.925-1.685-10.758 7-7.713 9.397.649 2.398.648 9.527 7.323 20.35 15.75L94.817 91.9l3.889 3.24 1.555-1.102.195-.777-1.75-2.917-14.453-26.118-15.425-26.572-6.87-11.018-1.814-6.61c-.648-2.723-1.102-4.991-1.102-7.778l7.972-10.823L71.42 0 82.05 1.426l4.472 3.888 6.61 15.101 10.694 23.786 16.591 32.34 4.861 9.592 2.592 8.879.973 2.722h1.685v-1.556l1.36-18.211 2.528-22.36 2.463-28.776.843-8.1 4.018-9.722 7.971-5.25 6.222 2.981 5.12 7.324-.713 4.73-3.046 19.768-5.962 30.98-3.889 20.739h2.268l2.593-2.593 10.499-13.934 17.628-22.036 7.778-8.749 9.073-9.657 5.833-4.601h11.018l8.1 12.055-3.628 12.443-11.342 14.388-9.398 12.184-13.48 18.147-8.426 14.518.778 1.166 2.01-.194 30.46-6.481 16.462-2.982 19.637-3.37 8.88 4.148.971 4.213-3.5 8.62-20.998 5.184-24.628 4.926-36.682 8.685-.454.324.519.648 16.526 1.555 7.065.389h17.304l32.21 2.398 8.426 5.574 5.055 6.805-.843 5.184-12.962 6.611-17.498-4.148-40.83-9.721-14-3.5h-1.944v1.167l11.666 11.406 21.387 19.314 26.767 24.887 1.36 6.157-3.434 4.86-3.63-.518-23.526-17.693-9.073-7.972-20.545-17.304h-1.36v1.814l4.73 6.935 25.017 37.59 1.296 11.536-1.814 3.76-6.481 2.268-7.13-1.297-14.647-20.544-15.1-23.138-12.185-20.739-1.49.843-7.194 77.448-3.37 3.953-7.778 2.981-6.48-4.925-3.436-7.972 3.435-15.749 4.148-20.544 3.37-16.333 3.046-20.285 1.815-6.74-.13-.454-1.49.194-15.295 20.999-23.267 31.433-18.406 19.702-4.407 1.75-7.648-3.954.713-7.064 4.277-6.286 25.47-32.405 15.36-20.092 9.917-11.6-.065-1.686h-.583L44.07 198.125l-12.055 1.555-5.185-4.86.648-7.972 2.463-2.593 20.35-13.999-.064.065Z"
157 />
158 </svg>
159);
160​
161export const Gemini: Icon = (props) => (
162 <svg {...props} viewBox="0 0 296 298" fill="none">
163 <mask
164 id="gemini__a"
165 width="296"
166 height="298"
167 x="0"
168 y="0"
169 maskUnits="userSpaceOnUse"
170 style={{ maskType: "alpha" }}
171 >
172 <path
173 fill="#3186FF"
174 d="M141.201 4.886c2.282-6.17 11.042-6.071 13.184.148l5.985 17.37a184.004 184.004 0 0 0 111.257 113.049l19.304 6.997c6.143 2.227 6.156 10.91.02 13.155l-19.35 7.082a184.001 184.001 0 0 0-109.495 109.385l-7.573 20.629c-2.241 6.105-10.869 6.121-13.133.025l-7.908-21.296a184 184 0 0 0-109.02-108.658l-19.698-7.239c-6.102-2.243-6.118-10.867-.025-13.132l20.083-7.467A183.998 183.998 0 0 0 133.291 26.28l7.91-21.394Z"
175 />
176 </mask>
177 <g mask="url(#gemini__a)">
178 <g filter="url(#gemini__b)">
179 <ellipse cx="163" cy="149" fill="#3689FF" rx="196" ry="159" />
180 </g>
181 <g filter="url(#gemini__c)">
182 <ellipse cx="33.5" cy="142.5" fill="#F6C013" rx="68.5" ry="72.5" />
183 </g>
184 <g filter="url(#gemini__d)">
185 <ellipse cx="19.5" cy="148.5" fill="#F6C013" rx="68.5" ry="72.5" />
186 </g>
187 <g filter="url(#gemini__e)">
188 <path
189 fill="#FA4340"
190 d="M194 10.5C172 82.5 65.5 134.333 22.5 135L144-66l50 76.5Z"
191 />
192 </g>
193 <g filter="url(#gemini__f)">
194 <path
195 fill="#FA4340"
196 d="M190.5-12.5C168.5 59.5 62 111.333 19 112L140.5-89l50 76.5Z"
197 />
198 </g>
199 <g filter="url(#gemini__g)">
200 <path
201 fill="#14BB69"
202 d="M194.5 279.5C172.5 207.5 66 155.667 23 155l121.5 201 50-76.5Z"
203 />
204 </g>
205 <g filter="url(#gemini__h)">
206 <path
207 fill="#14BB69"
208 d="M196.5 320.5C174.5 248.5 68 196.667 25 196l121.5 201 50-76.5Z"
209 />
210 </g>
211 </g>
212 <defs>
213 <filter
214 id="gemini__b"
215 width="464"
216 height="390"
217 x="-69"
218 y="-46"
219 colorInterpolationFilters="sRGB"
220 filterUnits="userSpaceOnUse"
221 >
222 <feFlood floodOpacity="0" result="BackgroundImageFix" />
223 <feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
224 <feGaussianBlur
225 result="effect1_foregroundBlur_69_17998"
226 stdDeviation="18"
227 />
228 </filter>
229 <filter
230 id="gemini__c"
231 width="265"
232 height="273"
233 x="-99"
234 y="6"
235 colorInterpolationFilters="sRGB"
236 filterUnits="userSpaceOnUse"
237 >
238 <feFlood floodOpacity="0" result="BackgroundImageFix" />
239 <feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
240 <feGaussianBlur
241 result="effect1_foregroundBlur_69_17998"
242 stdDeviation="32"
243 />
244 </filter>
245 <filter
246 id="gemini__d"
247 width="265"
248 height="273"
249 x="-113"
250 y="12"
251 colorInterpolationFilters="sRGB"
252 filterUnits="userSpaceOnUse"
253 >
254 <feFlood floodOpacity="0" result="BackgroundImageFix" />
255 <feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
256 <feGaussianBlur
257 result="effect1_foregroundBlur_69_17998"
258 stdDeviation="32"
259 />
260 </filter>
261 <filter
262 id="gemini__e"
263 width="299.5"
264 height="329"
265 x="-41.5"
266 y="-130"
267 colorInterpolationFilters="sRGB"
268 filterUnits="userSpaceOnUse"
269 >
270 <feFlood floodOpacity="0" result="BackgroundImageFix" />
271 <feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
272 <feGaussianBlur
273 result="effect1_foregroundBlur_69_17998"
274 stdDeviation="32"
275 />
276 </filter>
277 <filter
278 id="gemini__f"
279 width="299.5"
280 height="329"
281 x="-45"
282 y="-153"
283 colorInterpolationFilters="sRGB"
284 filterUnits="userSpaceOnUse"
285 >
286 <feFlood floodOpacity="0" result="BackgroundImageFix" />
287 <feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
288 <feGaussianBlur
289 result="effect1_foregroundBlur_69_17998"
290 stdDeviation="32"
291 />
292 </filter>
293 <filter
294 id="gemini__g"
295 width="299.5"
296 height="329"
297 x="-41"
298 y="91"
299 colorInterpolationFilters="sRGB"
300 filterUnits="userSpaceOnUse"
301 >
302 <feFlood floodOpacity="0" result="BackgroundImageFix" />
303 <feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
304 <feGaussianBlur
305 result="effect1_foregroundBlur_69_17998"
306 stdDeviation="32"
307 />
308 </filter>
309 <filter
310 id="gemini__h"
311 width="299.5"
312 height="329"
313 x="-39"
314 y="132"
315 colorInterpolationFilters="sRGB"
316 filterUnits="userSpaceOnUse"
317 >
318 <feFlood floodOpacity="0" result="BackgroundImageFix" />
319 <feBlend in="SourceGraphic" in2="BackgroundImageFix" result="shape" />
320 <feGaussianBlur
321 result="effect1_foregroundBlur_69_17998"
322 stdDeviation="32"
323 />
324 </filter>
325 </defs>
326 </svg>
327);
328​
329export const OpenCodeIcon: Icon = (props) => (
330 <svg {...props} viewBox="0 0 32 40" fill="none" xmlns="http://www.w3.org/2000/svg">
331 <g clipPath="url(#opencode__clip0_1311_94969)">
332 <path d="M24 32H8V16H24V32Z" fill="#BCBBBB" />
333 <path d="M24 8H8V32H24V8ZM32 40H0V0H32V40Z" fill="#211E1E" />
334 </g>
335 <defs>
336 <clipPath id="opencode__clip0_1311_94969">
337 <rect width="32" height="40" fill="white" />
338 </clipPath>
339 </defs>
340 </svg>
341);