|
1 | | -import { createLucideIcon } from "lucide-react"; |
| 1 | +import { forwardRef } from "react"; |
| 2 | +import type { LucideProps } from "lucide-react"; |
2 | 3 |
|
3 | | -export const Turbo = createLucideIcon("Turbo", [ |
4 | | - [ |
5 | | - "path", |
6 | | - { |
7 | | - d: "M12 2C6.48 2 2 6.48 2 12C2 17.52 6.48 22 12 22C17.52 22 22 17.52 22 12C22 6.48 17.52 2 12 2Z", |
8 | | - fill: "#ff1e56", |
9 | | - key: "bg", |
10 | | - strokeWidth: "0", |
11 | | - }, |
12 | | - ], |
13 | | - [ |
14 | | - "path", |
15 | | - { |
16 | | - d: "M12 6C8.69 6 6 8.69 6 12C6 15.31 8.69 18 12 18C15.31 18 18 15.31 18 12C18 8.69 15.31 6 12 6ZM12 15.5C10.07 15.5 8.5 13.93 8.5 12C8.5 10.07 10.07 8.5 12 8.5C13.93 8.5 15.5 10.07 15.5 12C15.5 13.93 13.93 15.5 12 15.5Z", |
17 | | - fill: "white", |
18 | | - key: "ring", |
19 | | - strokeWidth: "0", |
20 | | - }, |
21 | | - ], |
22 | | - [ |
23 | | - "circle", |
24 | | - { |
25 | | - cx: "12", |
26 | | - cy: "12", |
27 | | - r: "2", |
28 | | - fill: "white", |
29 | | - key: "dot", |
30 | | - strokeWidth: "0", |
31 | | - }, |
32 | | - ], |
33 | | -]); |
| 4 | +export const Turbo = forwardRef<SVGSVGElement, LucideProps>( |
| 5 | + ({ size = 24, className, ...props }, ref) => ( |
| 6 | + <svg |
| 7 | + ref={ref} |
| 8 | + xmlns="http://www.w3.org/2000/svg" |
| 9 | + width={size} |
| 10 | + height={size} |
| 11 | + viewBox="0 0 256 318" |
| 12 | + className={className} |
| 13 | + {...props} |
| 14 | + > |
| 15 | + <defs> |
| 16 | + <linearGradient id="turbo-g1" x1="123.78%" y1="0%" x2="123.78%" y2="698.96%"> |
| 17 | + <stop stopColor="#1E90FF" offset="0%" /> |
| 18 | + <stop stopColor="#FF1E56" offset="100%" /> |
| 19 | + </linearGradient> |
| 20 | + <linearGradient id="turbo-g2" x1="11.49%" y1="-2.19%" x2="11.49%" y2="512.4%"> |
| 21 | + <stop stopColor="#1E90FF" offset="0%" /> |
| 22 | + <stop stopColor="#FF1E56" offset="100%" /> |
| 23 | + </linearGradient> |
| 24 | + <linearGradient id="turbo-g3" x1="-153.74%" y1="-62.26%" x2="-153.74%" y2="278.48%"> |
| 25 | + <stop stopColor="#1E90FF" offset="0%" /> |
| 26 | + <stop stopColor="#FF1E56" offset="100%" /> |
| 27 | + </linearGradient> |
| 28 | + <linearGradient id="turbo-g4" x1="-153.74%" y1="-178.48%" x2="-153.74%" y2="162.26%"> |
| 29 | + <stop stopColor="#1E90FF" offset="0%" /> |
| 30 | + <stop stopColor="#FF1E56" offset="100%" /> |
| 31 | + </linearGradient> |
| 32 | + <linearGradient id="turbo-g5" x1="11.49%" y1="-412.4%" x2="11.49%" y2="102.19%"> |
| 33 | + <stop stopColor="#1E90FF" offset="0%" /> |
| 34 | + <stop stopColor="#FF1E56" offset="100%" /> |
| 35 | + </linearGradient> |
| 36 | + <linearGradient id="turbo-g6" x1="123.78%" y1="-598.96%" x2="123.78%" y2="100%"> |
| 37 | + <stop stopColor="#1E90FF" offset="0%" /> |
| 38 | + <stop stopColor="#FF1E56" offset="100%" /> |
| 39 | + </linearGradient> |
| 40 | + </defs> |
| 41 | + <g> |
| 42 | + {/* Outer arc segments */} |
| 43 | + <path |
| 44 | + d="M103.41.095C66.837-1.167 30.268 10.183 0 34.144l20.177 11.35c23.962-17.656 54.225-25.222 83.233-23.961V.095z" |
| 45 | + fill="url(#turbo-g1)" |
| 46 | + /> |
| 47 | + <path |
| 48 | + d="M210.601 48.016c-25.222-26.483-58.01-42.877-93.32-46.66v21.438c30.268 5.044 56.75 18.916 78.188 40.355l15.132-15.133z" |
| 49 | + fill="url(#turbo-g2)" |
| 50 | + /> |
| 51 | + <path |
| 52 | + d="M256 151.424c-1.26-32.788-13.872-65.576-35.309-93.32l-15.136 15.133c17.656 23.961 27.747 50.443 29.007 78.187H256z" |
| 53 | + fill="url(#turbo-g3)" |
| 54 | + /> |
| 55 | + <path |
| 56 | + d="M220.691 259.877c21.437-27.744 34.049-60.532 35.309-93.32h-21.437c-1.26 27.744-11.351 54.226-29.008 78.187l15.136 15.133z" |
| 57 | + fill="url(#turbo-g4)" |
| 58 | + /> |
| 59 | + <path |
| 60 | + d="M117.281 316.626c34.049-3.784 68.097-20.178 93.32-46.66l-15.132-15.133c-21.437 22.699-49.184 36.571-78.188 40.355v21.438z" |
| 61 | + fill="url(#turbo-g5)" |
| 62 | + /> |
| 63 | + <path |
| 64 | + d="M0 283.838c30.268 23.96 66.837 35.31 103.41 34.049v-21.438c-29.008 1.26-58.01-6.307-83.233-23.961L0 283.838z" |
| 65 | + fill="url(#turbo-g6)" |
| 66 | + /> |
| 67 | + {/* Inner O shape */} |
| 68 | + <path |
| 69 | + d="M97.651 71.344c13.478 0 25.919 2.295 37.321 6.886 11.402 4.443 21.177 10.663 29.324 18.66 8.292 7.998 14.735 17.402 19.327 28.213 4.593 10.663 6.887 22.215 6.887 34.655s-2.294 26.066-6.887 36.877c-4.592 10.663-11.035 19.993-19.327 27.991-8.147 7.997-17.922 14.291-29.324 18.883-11.402 4.443-23.843 6.665-37.32 6.665-13.625 0-26.141-2.222-37.543-6.665-11.257-4.592-20.955-10.885-29.101-18.883-8.147-7.998-14.512-17.328-19.105-28.14-4.593-10.812-6.887-22.29-6.887-34.728s2.294-23.99 6.887-34.654c4.593-10.811 10.958-20.216 19.105-28.213 8.146-7.997 17.844-14.218 29.1-18.66 11.403-4.591 23.919-6.887 37.544-6.887zm0 42.208c-6.37 0-12.44 1.185-18.216 3.554-5.627 2.222-10.59 5.405-14.884 9.553-4.293 4.146-7.703 9.034-10.219 14.661-2.516 5.628-3.777 11.774-3.777 18.438 0 6.665 1.26 12.81 3.777 18.439 2.516 5.627 5.926 10.515 10.22 14.661 4.293 4.147 9.256 7.405 14.883 9.775 5.776 2.221 11.846 3.332 18.216 3.332 6.37 0 12.368-1.11 17.994-3.332 5.776-2.37 10.813-5.628 15.106-9.775 4.443-4.146 7.925-9.034 10.441-14.661 2.516-5.628 3.777-11.774 3.777-18.439 0-6.664-1.26-12.81-3.777-18.438-2.516-5.627-5.998-10.515-10.441-14.661-4.293-4.148-9.33-7.331-14.957-9.553-5.626-2.37-11.624-3.554-17.994-3.554z" |
| 70 | + fill="#000000" |
| 71 | + /> |
| 72 | + </g> |
| 73 | + </svg> |
| 74 | + ), |
| 75 | +); |
| 76 | + |
| 77 | +Turbo.displayName = "Turbo"; |
0 commit comments