@react-three/uikit-lucide
Version:
lucide icons for r3/uikit
10 lines (9 loc) • 3.55 kB
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
/* eslint-disable no-shadow-restricted-names */
import { Icon } from "@react-three/uikit";
import { forwardRef } from "react";
const text = `<svg class="lucide lucide-atom" xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M5.404 2.046 C 3.229 2.273,1.891 3.960,2.013 6.320 C 2.094 7.894,2.809 9.925,3.924 11.746 L 4.077 11.997 3.925 12.248 C 2.927 13.894,2.251 15.666,2.061 17.132 C 1.651 20.301,3.577 22.299,6.712 21.958 C 8.145 21.802,9.969 21.133,11.591 20.167 L 12.003 19.923 12.264 20.082 C 14.073 21.190,16.098 21.902,17.679 21.986 C 20.524 22.139,22.277 20.213,21.958 17.288 C 21.801 15.855,21.131 14.029,20.168 12.410 L 19.924 12.000 20.168 11.590 C 21.131 9.971,21.801 8.145,21.958 6.712 C 22.157 4.885,21.569 3.430,20.304 2.621 C 18.948 1.754,16.873 1.818,14.480 2.802 C 13.911 3.036,12.909 3.536,12.370 3.855 L 12.000 4.075 11.630 3.855 C 11.047 3.510,9.992 2.990,9.380 2.747 C 7.865 2.145,6.594 1.921,5.404 2.046 M7.039 4.118 C 7.834 4.272,8.679 4.578,9.650 5.065 C 9.931 5.206,10.160 5.327,10.160 5.335 C 10.160 5.344,9.957 5.511,9.710 5.707 C 8.346 6.789,6.896 8.234,5.763 9.640 C 5.559 9.893,5.377 10.116,5.359 10.135 C 5.319 10.177,4.884 9.321,4.629 8.700 C 3.913 6.959,3.815 5.404,4.375 4.670 C 4.840 4.060,5.758 3.870,7.039 4.118 M18.737 4.100 C 19.598 4.327,19.977 4.926,19.975 6.060 C 19.973 7.113,19.641 8.244,18.903 9.715 C 18.777 9.965,18.659 10.154,18.641 10.135 C 18.623 10.116,18.441 9.893,18.237 9.640 C 17.107 8.238,15.650 6.786,14.290 5.707 C 14.043 5.511,13.840 5.344,13.840 5.335 C 13.840 5.305,14.878 4.802,15.303 4.627 C 16.040 4.323,16.712 4.142,17.540 4.024 C 17.767 3.991,18.500 4.038,18.737 4.100 M12.312 6.707 C 14.161 8.070,15.931 9.840,17.295 11.690 L 17.523 12.000 17.295 12.310 C 15.960 14.120,14.319 15.779,12.528 17.129 L 11.997 17.529 11.468 17.128 C 9.651 15.749,8.037 14.117,6.705 12.310 L 6.477 12.000 6.705 11.690 C 7.947 10.006,9.577 8.334,11.189 7.091 C 11.887 6.553,11.978 6.484,11.992 6.482 C 11.999 6.481,12.143 6.582,12.312 6.707 M11.477 10.073 C 10.806 10.249,10.238 10.823,10.060 11.508 C 9.941 11.962,10.003 12.492,10.225 12.930 C 10.361 13.199,10.801 13.639,11.070 13.775 C 11.659 14.073,12.341 14.073,12.930 13.775 C 13.196 13.640,13.638 13.200,13.771 12.937 C 13.994 12.498,14.052 12.007,13.940 11.529 C 13.858 11.182,13.720 10.927,13.465 10.653 C 13.074 10.232,12.560 10.005,12.000 10.005 C 11.857 10.005,11.622 10.036,11.477 10.073 M5.763 14.360 C 6.893 15.762,8.304 17.170,9.705 18.291 C 9.955 18.491,10.145 18.671,10.127 18.689 C 10.064 18.752,9.101 19.208,8.620 19.402 C 6.718 20.172,5.140 20.188,4.468 19.444 C 4.143 19.084,4.023 18.677,4.026 17.940 C 4.029 16.893,4.355 15.767,5.068 14.345 C 5.210 14.062,5.341 13.846,5.359 13.865 C 5.377 13.884,5.559 14.107,5.763 14.360 M18.905 14.290 C 19.641 15.756,19.973 16.888,19.975 17.940 C 19.976 18.678,19.857 19.084,19.532 19.444 C 18.860 20.188,17.281 20.172,15.380 19.402 C 14.860 19.192,13.893 18.734,13.862 18.684 C 13.852 18.667,14.047 18.489,14.297 18.289 C 15.708 17.159,17.160 15.708,18.290 14.295 C 18.491 14.045,18.661 13.840,18.667 13.840 C 18.674 13.840,18.781 14.043,18.905 14.290 " stroke="none" fill-rule="evenodd" fill="black"></path></svg>`;
export const AtomIcon = /*@__PURE__*/ forwardRef((props, ref) => {
return _jsx(Icon, { ...props, ref: ref, text: text, svgWidth: 24, svgHeight: 24 });
});
export const Atom = AtomIcon;