Bun Logo

PreviousNext

Bun logo component - fast all-in-one JavaScript runtime

Docs
elementsui

Preview

Loading preview…
registry/default/blocks/logos/bun-logo/components/logos/bun.tsx
export function BunLogo({ className }: { className?: string }) {
  return (
    <svg
      viewBox="0 0 256 225"
      width="256"
      height="225"
      className={className || "w-8 h-8"}
    >
      <title>Bun Logo</title>
      <g>
        <path
          d="M228.747342,65.5878481 C228.228861,65.036962 227.677975,64.4860759 227.127089,63.9675949 C226.576203,63.4491139 226.057722,62.8658228 225.506835,62.3473418 C224.955949,61.8288608 224.437468,61.2455696 223.886582,60.7270886 C223.335696,60.2086076 222.817215,59.6253165 222.266329,59.1068354 C221.715443,58.5883544 221.196962,58.0050633 220.646076,57.4865823 C220.09519,56.9681013 219.576709,56.3848101 219.025823,55.8663291 C218.474937,55.3478481 217.956456,54.764557 217.40557,54.2460759 C233.479011,70.0426328 242.687167,91.5322114 243.037975,114.065823 C243.037975,167.761013 188.532658,211.443038 121.518987,211.443038 C83.9939241,211.443038 50.4222785,197.735696 28.0951899,176.251139 L29.715443,177.871392 L31.3356962,179.491646 L32.9559494,181.111899 L34.5762025,182.732152 L36.1964557,184.352405 L37.8167089,185.972658 L39.436962,187.592911 C61.7316456,209.98481 96.0486076,224.405063 134.481013,224.405063 C201.494684,224.405063 256,180.723038 256,127.189873 C256,104.311899 246.148861,82.6329114 228.747342,65.5878481 Z"
          fill="#000000"
        ></path>
        <g>
          <path
            d="M234.936709,114.065823 C234.936709,163.353924 184.157975,203.309367 121.518987,203.309367 C58.88,203.309367 8.10126582,163.353924 8.10126582,114.065823 C8.10126582,83.5078481 27.5443038,56.5144304 57.4217722,40.5063291 C87.2992405,24.4982278 105.899747,8.10126582 121.518987,8.10126582 C137.138228,8.10126582 150.489114,21.484557 185.616203,40.5063291 C215.493671,56.5144304 234.936709,83.5078481 234.936709,114.065823 Z"
            fill="#FBF0DF"
          ></path>
          <path
            d="M234.936709,114.065823 C234.92095,107.734124 234.048911,101.433644 232.344304,95.3356962 C223.497722,203.244557 91.8683544,208.429367 40.1174684,176.153924 C63.3811561,194.185313 92.088984,203.762208 121.518987,203.309367 C184.060759,203.309367 234.936709,163.289114 234.936709,114.065823 Z"
            fill="#F6DECE"
          ></path>
          <path
            d="M77.8693671,34.5762025 C92.3544304,25.8916456 111.603038,9.59189873 130.527595,9.55949367 C127.616276,8.61845016 124.578512,8.12672565 121.518987,8.10126582 C113.676962,8.10126582 105.316456,12.1518987 94.7848101,18.2440506 C91.123038,20.3827848 87.3316456,22.7483544 83.3134177,25.2111392 C75.763038,29.8774684 67.1108861,35.1594937 57.3893671,40.441519 C26.5397468,57.1301266 8.10126582,84.6420253 8.10126582,114.065823 C8.10126582,115.362025 8.10126582,116.658228 8.10126582,117.922025 C27.7387342,48.5427848 63.4167089,43.2607595 77.8693671,34.5762025 Z"
            fill="#FFFEFC"
          ></path>
          <path
            d="M112.186329,16.2997468 C112.278053,31.7831799 105.616661,46.5376311 93.9422785,56.7088608 C93.0349367,57.5189873 93.7478481,59.0744304 94.9144304,58.6207595 C105.834937,54.3756962 120.579241,41.6729114 114.357468,16.0405063 C114.098228,14.5822785 112.186329,14.9711392 112.186329,16.2997468 Z M119.542278,16.2997468 C127.566115,29.3917041 129.471751,45.3351299 124.759494,59.9493671 C124.370633,61.0835443 125.764051,62.0556962 126.541772,61.1159494 C133.638481,52.0425316 139.827848,34.0253165 121.292152,14.5822785 C120.352405,13.7397468 118.894177,15.0359494 119.542278,16.1701266 L119.542278,16.2997468 Z M128.486076,15.7488608 C141.049027,24.6429777 149.144791,38.5416906 150.683544,53.8572152 C150.615391,54.4238071 151.00415,54.9440779 151.566825,55.0392999 C152.129501,55.134522 152.667801,54.771138 152.789873,54.2136709 C155.771139,42.9043038 154.086076,23.6232911 129.555443,13.6101266 C128.259241,13.0916456 127.416709,14.841519 128.486076,15.6192405 L128.486076,15.7488608 Z M68.6663291,49.4501266 C83.6039833,44.9874805 95.9395495,34.383842 102.59443,20.2855696 C103.177722,19.1189873 105.02481,19.5726582 104.733165,20.8688608 C99.1270886,46.7929114 80.364557,52.204557 68.6987342,51.4916456 C67.4673418,51.5240506 67.4997468,49.8065823 68.6663291,49.4501266 Z"
            fill="#CCBEA7"
          ></path>
          <path
            d="M121.518987,211.443038 C54.5053165,211.443038 0,167.761013 0,114.065823 C0,81.6607595 20.0263291,51.4268354 53.5655696,33.3124051 C63.2870886,28.1275949 71.6151899,22.9103797 79.0359494,18.3412658 C83.1189873,15.8136709 86.9751899,13.4481013 90.7017722,11.244557 C102.075949,4.5043038 111.797468,0 121.518987,0 C131.240506,0 139.730633,3.88860759 150.359494,10.1751899 C153.6,12.0222785 156.840506,14.0313924 160.307848,16.2349367 C168.376709,21.2253165 177.482532,26.8637975 189.472405,33.3124051 C223.011646,51.4268354 243.037975,81.6283544 243.037975,114.065823 C243.037975,167.761013 188.532658,211.443038 121.518987,211.443038 Z M121.518987,8.10126582 C113.676962,8.10126582 105.316456,12.1518987 94.7848101,18.2440506 C91.123038,20.3827848 87.3316456,22.7483544 83.3134177,25.2111392 C75.763038,29.8774684 67.1108861,35.1594937 57.3893671,40.441519 C26.5397468,57.1301266 8.10126582,84.6420253 8.10126582,114.065823 C8.10126582,163.289114 58.9772152,203.341772 121.518987,203.341772 C184.060759,203.341772 234.936709,163.289114 234.936709,114.065823 C234.936709,84.6420253 216.498228,57.1301266 185.616203,40.5063291 C173.367089,34.0253165 163.807595,27.9331646 156.062785,23.1372152 C152.530633,20.9660759 149.290127,18.956962 146.341266,17.1746835 C136.522532,11.3417722 129.361013,8.10126582 121.518987,8.10126582 Z"
            fill="#000000"
          ></path>
        </g>
        <g transform="translate(97.241876, 133.279793)">
          <path
            d="M47.1226807,4.44172636 C45.6669472,10.4040245 42.3532397,15.74908 37.6604022,19.7045112 C34.1371951,23.1198314 29.5761979,25.2635001 24.6983769,25.7966631 C19.6740185,25.3480005 14.9529852,23.1989587 11.3150858,19.7045112 C6.6701778,15.7303732 3.40311412,10.3873628 1.98242754,4.44172636 C1.88701487,3.7264017 2.12798715,3.00718467 2.63509843,2.49373449 C3.14220972,1.98028432 3.85837793,1.73039661 4.5748326,1.81691623 L44.5626807,1.81691623 C45.2738527,1.74125781 45.9804395,1.99594814 46.4797913,2.50794181 C46.9791432,3.01993549 47.216092,3.73266774 47.1226807,4.44172636 L47.1226807,4.44172636 Z"
            fill="#B71422"
          ></path>
          <path
            d="M11.3150858,19.9637517 C14.9455746,23.4602176 19.6495528,25.6295279 24.6659718,26.1207137 C29.6709647,25.6224581 34.3624545,23.4536428 37.9844529,19.9637517 C39.1430506,18.8838441 40.2257884,17.7253146 41.2249592,16.4964099 C37.1902398,11.9191589 31.444861,9.21062322 25.3464782,9.01084028 C18.7926833,9.16604522 12.7343824,12.5344605 9.14394652,18.0194479 C9.88926298,18.6999542 10.5373642,19.3480555 11.3150858,19.9637517 Z"
            fill="#FF6164"
          ></path>
          <path
            d="M11.8335668,17.4037517 C15.0885475,13.1963755 20.09203,10.7125464 25.4112883,10.6634985 C30.2641696,10.8066282 34.8879216,12.7601635 38.3733136,16.1399542 C39.1186301,15.3298276 39.8315415,14.487296 40.5120478,13.6447643 C36.3895233,9.71862809 30.941417,7.48617688 25.249263,7.39058712 C19.089802,7.44370473 13.2769769,10.2490764 9.40318703,15.0381821 C10.1693703,15.8706288 10.9807201,16.6603426 11.8335668,17.4037517 L11.8335668,17.4037517 Z"
            fill="#000000"
          ></path>
          <path
            d="M24.5687566,27.7409669 C19.1688852,27.2678257 14.0873074,24.9839705 10.1485035,21.2599542 C5.13238447,17.0173554 1.6016649,11.2841934 0.0705288015,4.89539724 C-0.151852826,3.74343711 0.157751438,2.55265148 0.913060447,1.65489092 C1.81299919,0.568161768 3.1645387,-0.0418250921 4.5748326,0.00223268757 L44.5626807,0.00223268757 C45.9700686,-0.0274082757 47.3156254,0.579878411 48.2244529,1.65489092 C48.9725774,2.55599028 49.2706426,3.74825096 49.0345794,4.89539724 L49.0345794,4.89539724 C47.5034433,11.2841934 43.9727238,17.0173554 38.9566048,21.2599542 C35.026306,24.9773527 29.9572316,27.2607195 24.5687566,27.7409669 L24.5687566,27.7409669 Z M4.5748326,3.76122003 C4.05635159,3.76122003 3.92673133,3.98805547 3.89432627,4.0528656 C5.26412049,9.5930665 8.36270541,14.5530724 12.7409085,18.2138783 C15.9424073,21.3680086 20.1048328,23.363692 24.5687566,23.8847643 C29.0211539,23.3695838 33.1789271,21.3989132 36.3966048,18.2786884 C40.7611007,14.611682 43.8476364,9.65279947 45.210782,4.11767573 C45.0667036,3.90641264 44.8163516,3.79375422 44.5626807,3.82603016 L4.5748326,3.76122003 Z"
            fill="#000000"
          ></path>
        </g>
        <g transform="translate(53.792405, 88.400517)">
          <ellipse
            fill="#FEBBD0"
            cx="117.047089"
            cy="40.1827746"
            rx="18.956962"
            ry="11.1473418"
          ></ellipse>
          <ellipse
            fill="#FEBBD0"
            cx="18.956962"
            cy="40.1827746"
            rx="18.956962"
            ry="11.1473418"
          ></ellipse>
          <path
            d="M27.8683544,35.7109055 C35.093039,35.7239878 41.6136279,31.3820336 44.3874852,24.711055 C47.1613425,18.0400764 45.6417372,10.3549319 40.5377474,5.24166207 C35.4337576,0.12839229 27.7513862,-1.4051707 21.0753798,1.35656396 C14.3993734,4.11829861 10.0455696,10.6309895 10.0455696,17.855686 C10.0455696,27.7041939 18.0198627,35.693002 27.8683544,35.7109055 L27.8683544,35.7109055 Z M108.135696,35.7108759 C115.36901,35.7633877 121.919337,31.4465623 124.723868,24.7788644 C127.528399,18.1111666 126.032946,10.4101683 120.936753,5.27670874 C115.84056,0.143249186 108.150662,-1.40827319 101.462707,1.34760374 C94.7747529,4.10348068 90.410096,10.6221813 90.410096,17.855686 C90.3921296,27.6737362 98.3177754,35.6573393 108.135696,35.7108759 L108.135696,35.7108759 Z"
            fill="#000000"
          ></path>
          <path
            d="M22.3594937,18.989942 C25.0754753,19.002984 27.531328,17.3770145 28.5797934,14.8715307 C29.6282588,12.3660469 29.06239,9.47558299 27.1465343,7.55042702 C25.2306786,5.62527104 22.3429888,5.04541162 19.8324572,6.08173168 C17.3219255,7.11805175 15.6840506,9.56600172 15.6840506,12.2820151 C15.6840506,15.9740391 18.6675127,18.9720273 22.3594937,18.989942 Z M102.626835,18.989942 C105.342817,19.002984 107.79867,17.3770145 108.847135,14.8715307 C109.895601,12.3660469 109.329732,9.47558299 107.413876,7.55042702 C105.49802,5.62527104 102.610331,5.04541162 100.099799,6.08173168 C97.5892672,7.11805175 95.9513924,9.56600172 95.9513924,12.2820151 C95.9510073,15.9490221 98.8954034,18.9367182 102.562025,18.989942 L102.626835,18.989942 Z"
            fill="#FFFFFF"
          ></path>
        </g>
      </g>
    </svg>
  );
}

Installation

npx shadcn@latest add @elements/bun-logo

Usage

import { BunLogo } from "@/components/ui/bun-logo"
<BunLogo />