Skip to content

Commit 371a3ee

Browse files
committed
Add icons
1 parent c05f2a4 commit 371a3ee

15 files changed

+3655
-76
lines changed

src/icons.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
export { default as AppsIcon } from "./icons/AppsIcon";
22
export { default as ArrowLeft } from "./icons/ArrowLeft";
3+
export { default as BdpTag } from "./icons/BdpTag";
34
export { default as ArrowLinkRight } from "./icons/ArrowLinkRight";
45
export { default as ArrowLinkUpRight } from "./icons/ArrowLinkUpRight";
56
export { default as ArrowRight } from "./icons/ArrowRight";
67
export { default as ArrowUp } from "./icons/ArrowUp";
78
export { default as AuthorIcon } from "./icons/AuthorIcon";
89
export { default as BitcoinIcon } from "./icons/BitcoinIcon";
10+
export { default as BookIcon } from "./icons/BookIcon";
911
export { default as BookmarkIcon } from "./icons/BookmarkIcon";
1012
export { default as CalendarIcon } from "./icons/CalendarIcon";
1113
export { default as CloseIconOutlined } from "./icons/CloseIconOutlined";
@@ -16,14 +18,22 @@ export { default as DiscordIcon } from "./icons/DiscordIcon";
1618
export { default as FilterIcon } from "./icons/FilterIcon";
1719
export { default as FilterCloseIcon } from "./icons/FilterCloseIcon";
1820
export { default as GithubIcon } from "./icons/GithubIcon";
21+
export { default as LeafIcon } from "./icons/LeafIcon";
1922
export { default as LightningIconSolid } from "./icons/LightningIconSolid";
2023
export { default as LinkedinIcon } from "./icons/LinkedinIcon";
2124
export { default as MicIcon } from "./icons/MicIcon";
2225
export { default as NightIcon } from "./icons/NightIcon";
2326
export { default as NostrIcon } from "./icons/NostrIcon";
2427
export { default as PlusIcon } from "./icons/PlusIcon";
28+
export { default as MinusIcon } from "./icons/MinusIcon";
29+
export { default as MenuIcon } from "./icons/MenuIcon";
30+
export { default as RightArrowIcon } from "./icons/RightArrowIcon";
31+
export { default as XIcon } from "./icons/XIcon";
2532
export { default as SearchIcon } from "./icons/SearchIcon";
2633
export { default as SortIcon } from "./icons/SortIcon";
2734
export { default as SourceIcon } from "./icons/SourceIcon";
35+
export { default as TapCursorIcon } from "./icons/TapCursorIcon";
36+
export { default as GithubFooterIcon } from "./icons/GithubFooterIcon";
2837
export { default as TimeIcon } from "./icons/TimeIcon";
38+
export { default as ToolIcon } from "./icons/ToolIcon";
2939
export { default as TwitterXIcon } from "./icons/TwitterXIcon";

src/icons/BdpTag.tsx

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
import * as React from "react";
2+
import { SVGProps } from "react";
3+
const BdpTag = ({
4+
width = 23,
5+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
6+
height,
7+
pathProps,
8+
...props
9+
}: SVGProps<SVGSVGElement> & { pathProps?: SVGProps<SVGPathElement> }) => {
10+
// height is destructed and unused, scaling is defined by width
11+
return (
12+
<svg
13+
width={width}
14+
viewBox="0 0 23 8"
15+
fill="none"
16+
xmlns="http://www.w3.org/2000/svg"
17+
{...props}
18+
>
19+
<path
20+
d="M22.9933 6.66478L21.9771 4.80274C21.9732 4.796 21.9682 4.79012 21.962 4.7851L19.4494 2.71101C19.3929 2.66185 19.2934 2.70343 19.3073 2.77113C19.3178 2.82282 19.305 2.86608 19.2784 2.90934C19.2557 2.94642 19.2245 2.97227 19.195 2.98997C19.1575 3.01244 19.105 2.99783 19.0898 2.96103C19.0209 2.79248 18.9029 2.56774 18.6987 2.33625C18.5062 2.11826 18.298 1.96347 18.1262 1.85756C18.0763 1.82666 18.007 1.86149 18.0158 1.91374C18.0274 1.98144 18.0257 2.06488 17.9859 2.15056C17.9774 2.16911 17.9679 2.18624 17.9577 2.20197C17.9302 2.24439 17.8579 2.24215 17.8339 2.19804C17.719 1.98735 17.5452 1.72609 17.2834 1.45921C16.9987 1.16901 16.7002 0.965058 16.4568 0.825717C16.4058 0.796501 16.3395 0.833866 16.3497 0.885834C16.3647 0.964776 16.3632 1.06423 16.3021 1.15777C16.2879 1.17997 16.2718 1.19907 16.2551 1.2162C16.2262 1.24542 16.1727 1.24261 16.1461 1.21171C15.9608 0.995677 15.6478 0.69087 15.167 0.435513C14.5941 0.13127 14.0388 0.0332305 13.6802 0.000359887C13.6177 -0.00526364 13.5783 0.0562658 13.6184 0.0975599C13.7271 0.208525 13.8585 0.386909 13.7938 0.553223C13.7888 0.565583 13.7829 0.578501 13.7751 0.591427C13.7567 0.622893 13.7133 0.634125 13.6779 0.616148C13.4499 0.500407 13.0929 0.353481 12.6275 0.288305C12.0833 0.212454 11.6234 0.280721 11.3243 0.352917C11.2635 0.367528 11.255 0.438038 11.3108 0.463042C11.4038 0.504619 11.5085 0.573168 11.5703 0.683568C11.5798 0.700705 11.5876 0.71756 11.5939 0.734415C11.6113 0.778799 11.5627 0.821787 11.5094 0.809701C11.2175 0.742281 10.7226 0.667834 10.131 0.766438C9.50338 0.870948 9.05314 1.12209 8.79433 1.30104C8.74374 1.33588 8.77097 1.40611 8.83595 1.40723C9.03901 1.41032 9.34084 1.44937 9.4876 1.63787L9.48889 1.63928C9.52046 1.68002 9.484 1.73395 9.42686 1.73086C9.10501 1.71316 8.53515 1.72468 7.91212 1.96852C7.40298 2.1677 7.05852 2.44385 6.85195 2.64612C6.8082 2.6891 6.85287 2.75427 6.91822 2.74387C7.14786 2.70679 7.50488 2.69078 7.79849 2.86776C7.80828 2.87366 7.81852 2.87984 7.82831 2.88659C7.87861 2.91974 7.85434 2.98856 7.7912 2.99278C7.43326 3.01778 6.93142 3.09223 6.38421 3.30629C5.98253 3.46361 5.66822 3.65267 5.437 3.81842C5.38642 3.85438 5.41664 3.92517 5.48233 3.92376C5.73554 3.91787 5.9244 3.97827 5.97629 4.08502C5.98253 4.09822 5.98778 4.11423 5.99009 4.13362C5.9937 4.16704 5.96184 4.19626 5.92242 4.19682C5.68727 4.20103 5.30398 4.23725 4.89639 4.41788C4.70097 4.50447 4.54463 4.60416 4.4241 4.696C4.37877 4.73027 4.40209 4.79522 4.46219 4.8C4.54135 4.80674 4.63495 4.82776 4.721 4.88227C4.72593 4.88541 4.73053 4.88847 4.7348 4.89129C4.78505 4.92557 4.75976 4.99467 4.69572 4.99773C4.45694 5.00925 4.15215 5.04549 3.81485 5.14188C3.46933 5.24071 3.19212 5.37333 2.98456 5.49443C2.9297 5.5262 2.95303 5.60031 3.01937 5.60314C3.10936 5.60706 3.21183 5.62643 3.3097 5.67843C3.36094 5.70596 3.41612 5.73514 3.40955 5.76047C3.39181 5.83098 2.92905 5.73098 2.47646 5.82314C2.32243 5.85459 2.11321 5.91945 1.87838 6.07059C1.82352 6.10573 1.85374 6.17984 1.92239 6.17851C1.98216 6.17733 2.04883 6.18212 2.11945 6.19788L2.12273 6.19867C2.18842 6.21357 2.17922 6.29616 2.11157 6.30149C1.88955 6.3189 1.6015 6.36729 1.29409 6.49027C1.07435 6.5782 0.898641 6.68298 0.763329 6.77969C0.71176 6.81647 0.74461 6.88918 0.811611 6.88525C0.834594 6.88384 0.858574 6.88329 0.883532 6.88329L0.888793 6.88361C0.973202 6.88447 1.40721 6.90737 0.939448 6.99435C0.93259 6.99561 0.884852 7.00408 0.877625 7.00525C0.646734 7.04031 0.487109 7.07325 0.363288 7.11396C0.293988 7.13671 0.248004 7.15694 0.150461 7.212C0.0939727 7.244 -0.166555 7.36212 0.16581 7.39623C0.37297 7.40016 0.496062 7.39639 0.721406 7.36925C1.67835 7.25388 1.51927 7.2567 4.40263 6.48894C6.48394 5.93498 7.09627 6.10714 7.17408 6.13294C7.17675 6.14227 7.17971 6.15176 7.18202 6.16165C7.18958 6.19082 7.19475 6.22282 7.19808 6.25741C7.20038 6.28463 7.20168 6.31357 7.2014 6.34447L7.20269 6.48918L7.20334 6.55294L7.2158 7.80674C7.21617 7.83961 7.24736 7.86596 7.28576 7.86596H9.50929C9.54805 7.86596 9.57925 7.83929 9.57925 7.8062V6.87851C9.57925 6.57569 9.73985 6.28635 10.0236 6.10518C10.197 5.99474 10.428 5.90259 10.7281 5.88094C10.7806 5.87733 10.8352 5.87561 10.892 5.87647V7.51733H13.1937L13.1668 6.82855C13.1757 6.83419 13.1845 6.83953 13.1937 6.8451C13.8841 7.27294 14.6917 7.71145 15.9546 7.85984C15.9877 7.86345 16.0193 7.8469 16.0304 7.82023L16.0649 7.73678C16.1398 7.69686 16.3438 7.59937 16.5796 7.57247C16.7103 7.55757 16.86 7.54039 17.0206 7.60612C17.1632 7.66431 17.2467 7.76008 17.2811 7.8C17.3462 7.87639 17.38 7.94996 17.3977 8C17.4099 7.94886 17.5879 7.56455 17.1209 7.24769C16.7819 7.01788 16.3546 7.23561 16.2456 7.29827L16.2547 7.27608L16.2932 7.18306C16.3067 7.1502 16.285 7.11427 16.2452 7.10557C15.994 7.0491 15.1943 6.8069 15.3325 6.02118C15.3381 5.98941 15.372 5.96698 15.4091 5.97059C15.6202 5.99082 16.3194 6.05012 17.1067 6.02674H17.1084L17.7159 7.54549H19.5624L18.8123 5.7978C18.8169 5.7967 18.8215 5.79561 18.8264 5.79388C18.8287 5.79333 18.8307 5.79247 18.833 5.79161C18.8629 5.77929 19.1349 5.67678 19.5476 5.81694C20.2039 6.03945 22.1351 7.01702 22.4783 7.19176C22.5086 7.20722 22.547 7.20078 22.569 7.17749L22.9851 6.72714C23.0012 6.70941 23.0048 6.68525 22.9933 6.66478ZM21.1737 5.33537C21.0978 5.46871 20.9808 5.55372 20.9122 5.52518C20.8435 5.49671 20.8495 5.36541 20.9252 5.23208C21.001 5.09867 21.118 5.01372 21.1866 5.0422C21.2553 5.07074 21.2495 5.20196 21.1737 5.33537Z"
21+
fill="currentColor"
22+
{...pathProps}
23+
/>
24+
</svg>
25+
);
26+
};
27+
export default BdpTag;

src/icons/BookIcon.tsx

Lines changed: 1171 additions & 0 deletions
Large diffs are not rendered by default.

src/icons/GithubFooterIcon.tsx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import * as React from "react";
2+
import { SVGProps } from "react";
3+
4+
const GithubFooterIcon = ({
5+
width = 30,
6+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
7+
height,
8+
pathProps,
9+
...props
10+
}: SVGProps<SVGSVGElement> & { pathProps?: SVGProps<SVGPathElement> }) => {
11+
// height is destructed and unused, scaling is defined by width
12+
return (
13+
<svg
14+
width={width}
15+
viewBox="0 0 30 30"
16+
fill="none"
17+
xmlns="http://www.w3.org/2000/svg"
18+
{...props}
19+
>
20+
<path
21+
d="M24.4113 8.86877C24.6979 7.94439 24.7898 6.97066 24.6813 6.00898C24.5728 5.04731 24.2662 4.11855 23.7809 3.28127C23.6986 3.13872 23.5802 3.02035 23.4376 2.93806C23.2951 2.85578 23.1334 2.81248 22.9688 2.81252C21.8768 2.81023 20.7994 3.06337 19.8227 3.55172C18.846 4.04006 17.9971 4.75007 17.3438 5.62502H14.5312C13.8779 4.75007 13.029 4.04006 12.0523 3.55172C11.0756 3.06337 9.99822 2.81023 8.90625 2.81252C8.74165 2.81248 8.57994 2.85578 8.43738 2.93806C8.29482 3.02035 8.17644 3.13872 8.09414 3.28127C7.60881 4.11855 7.30222 5.04731 7.19371 6.00898C7.0852 6.97066 7.17712 7.94439 7.46367 8.86877C6.88445 9.87976 6.57417 11.0224 6.5625 12.1875V13.125C6.56447 14.7113 7.14032 16.2432 8.1837 17.438C9.22708 18.6329 10.6675 19.4098 12.2391 19.6254C11.5976 20.4463 11.2494 21.4582 11.25 22.5V23.4375H8.4375C7.69158 23.4375 6.97621 23.1412 6.44876 22.6138C5.92132 22.0863 5.625 21.3709 5.625 20.625C5.625 20.0094 5.50375 19.3999 5.26819 18.8312C5.03262 18.2625 4.68734 17.7457 4.25206 17.3105C3.81679 16.8752 3.30004 16.5299 2.73133 16.2943C2.16261 16.0588 1.55307 15.9375 0.9375 15.9375C0.68886 15.9375 0.450403 16.0363 0.274587 16.2121C0.0987721 16.3879 0 16.6264 0 16.875C0 17.1237 0.0987721 17.3621 0.274587 17.5379C0.450403 17.7137 0.68886 17.8125 0.9375 17.8125C1.68342 17.8125 2.39879 18.1088 2.92624 18.6363C3.45368 19.1637 3.75 19.8791 3.75 20.625C3.75 21.8682 4.24386 23.0605 5.12294 23.9396C6.00201 24.8187 7.1943 25.3125 8.4375 25.3125H11.25V27.1875C11.25 27.4362 11.3488 27.6746 11.5246 27.8504C11.7004 28.0262 11.9389 28.125 12.1875 28.125C12.4361 28.125 12.6746 28.0262 12.8504 27.8504C13.0262 27.6746 13.125 27.4362 13.125 27.1875V22.5C13.125 21.7541 13.4213 21.0387 13.9488 20.5113C14.4762 19.9838 15.1916 19.6875 15.9375 19.6875C16.6834 19.6875 17.3988 19.9838 17.9262 20.5113C18.4537 21.0387 18.75 21.7541 18.75 22.5V27.1875C18.75 27.4362 18.8488 27.6746 19.0246 27.8504C19.2004 28.0262 19.4389 28.125 19.6875 28.125C19.9361 28.125 20.1746 28.0262 20.3504 27.8504C20.5262 27.6746 20.625 27.4362 20.625 27.1875V22.5C20.6256 21.4582 20.2774 20.4463 19.6359 19.6254C21.2075 19.4098 22.6479 18.6329 23.6913 17.438C24.7347 16.2432 25.3105 14.7113 25.3125 13.125V12.1875C25.3008 11.0224 24.9906 9.87976 24.4113 8.86877ZM23.4375 13.125C23.4375 14.3682 22.9436 15.5605 22.0646 16.4396C21.1855 17.3187 19.9932 17.8125 18.75 17.8125H13.125C11.8818 17.8125 10.6895 17.3187 9.81044 16.4396C8.93136 15.5605 8.4375 14.3682 8.4375 13.125V12.1875C8.44899 11.25 8.72967 10.3356 9.24609 9.55314C9.34236 9.42625 9.40472 9.27692 9.42727 9.11925C9.44982 8.96158 9.43184 8.80076 9.375 8.65197C9.13081 8.0222 9.01329 7.35043 9.02917 6.67517C9.04506 5.9999 9.19404 5.3344 9.46758 4.71681C10.2348 4.79935 10.9737 5.05351 11.6293 5.46045C12.285 5.86739 12.8406 6.41668 13.2551 7.06759C13.3395 7.19967 13.4558 7.30846 13.5931 7.384C13.7305 7.45954 13.8846 7.49943 14.0414 7.50002H17.8324C17.9898 7.50002 18.1446 7.46041 18.2827 7.38484C18.4207 7.30927 18.5375 7.20017 18.6223 7.06759C19.0367 6.41662 19.5923 5.86729 20.248 5.46034C20.9036 5.05339 21.6425 4.79927 22.4098 4.71681C22.6829 5.33456 22.8315 6.00013 22.847 6.6754C22.8625 7.35067 22.7446 8.02235 22.5 8.65197C22.4433 8.79934 22.4244 8.95853 22.4448 9.11508C22.4653 9.27164 22.5245 9.4206 22.6172 9.54845C23.1387 10.3309 23.4236 11.2472 23.4375 12.1875V13.125Z"
22+
fill="currentColor"
23+
{...pathProps}
24+
/>
25+
</svg>
26+
);
27+
};
28+
29+
export default GithubFooterIcon;
30+

src/icons/LeafIcon.tsx

Lines changed: 29 additions & 0 deletions
Large diffs are not rendered by default.

src/icons/LinkedinIcon.tsx

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,28 @@ import * as React from "react";
22
import { SVGProps } from "react";
33

44
const LinkedinIcon = ({
5-
width = 52,
5+
width = 30,
66
// eslint-disable-next-line @typescript-eslint/no-unused-vars
77
height,
8+
pathProps,
89
...props
9-
}: SVGProps<SVGSVGElement>) => (
10+
}: SVGProps<SVGSVGElement> & { pathProps?: SVGProps<SVGPathElement> }) => {
1011
// height is destructed and unused, scaling is defined by width
11-
<svg
12-
xmlns="http://www.w3.org/2000/svg"
13-
width={width}
14-
viewBox="0 0 24 24"
15-
fill="none"
16-
stroke="currentColor"
17-
strokeWidth={2}
18-
strokeLinecap="round"
19-
strokeLinejoin="round"
20-
{...props}
21-
>
22-
<path d="M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6z" />
23-
<rect x={2} y={9} width={4} height={12} />
24-
<circle cx={4} cy={4} r={2} />
25-
</svg>
26-
);
12+
return (
13+
<svg
14+
width={width}
15+
viewBox="0 0 30 30"
16+
fill="none"
17+
xmlns="http://www.w3.org/2000/svg"
18+
{...props}
19+
>
20+
<path
21+
d="M25.3125 2.8125H4.6875C4.19022 2.8125 3.71331 3.01004 3.36167 3.36167C3.01004 3.71331 2.8125 4.19022 2.8125 4.6875V25.3125C2.8125 25.8098 3.01004 26.2867 3.36167 26.6383C3.71331 26.99 4.19022 27.1875 4.6875 27.1875H25.3125C25.8098 27.1875 26.2867 26.99 26.6383 26.6383C26.99 26.2867 27.1875 25.8098 27.1875 25.3125V4.6875C27.1875 4.19022 26.99 3.71331 26.6383 3.36167C26.2867 3.01004 25.8098 2.8125 25.3125 2.8125ZM25.3125 25.3125H4.6875V4.6875H25.3125V25.3125ZM11.25 13.125V20.625C11.25 20.8736 11.1512 21.1121 10.9754 21.2879C10.7996 21.4637 10.5611 21.5625 10.3125 21.5625C10.0639 21.5625 9.8254 21.4637 9.64959 21.2879C9.47377 21.1121 9.375 20.8736 9.375 20.625V13.125C9.375 12.8764 9.47377 12.6379 9.64959 12.4621C9.8254 12.2863 10.0639 12.1875 10.3125 12.1875C10.5611 12.1875 10.7996 12.2863 10.9754 12.4621C11.1512 12.6379 11.25 12.8764 11.25 13.125ZM21.5625 16.4062V20.625C21.5625 20.8736 21.4637 21.1121 21.2879 21.2879C21.1121 21.4637 20.8736 21.5625 20.625 21.5625C20.3764 21.5625 20.1379 21.4637 19.9621 21.2879C19.7863 21.1121 19.6875 20.8736 19.6875 20.625V16.4062C19.6875 15.7846 19.4406 15.1885 19.001 14.749C18.5615 14.3094 17.9654 14.0625 17.3438 14.0625C16.7221 14.0625 16.126 14.3094 15.6865 14.749C15.2469 15.1885 15 15.7846 15 16.4062V20.625C15 20.8736 14.9012 21.1121 14.7254 21.2879C14.5496 21.4637 14.3111 21.5625 14.0625 21.5625C13.8139 21.5625 13.5754 21.4637 13.3996 21.2879C13.2238 21.1121 13.125 20.8736 13.125 20.625V13.125C13.1262 12.8954 13.2116 12.6741 13.365 12.5033C13.5185 12.3325 13.7293 12.2239 13.9575 12.1981C14.1857 12.1724 14.4154 12.2313 14.603 12.3637C14.7906 12.4961 14.9231 12.6928 14.9754 12.9164C15.6096 12.4862 16.349 12.2368 17.1142 12.1951C17.8795 12.1534 18.6416 12.321 19.3188 12.6798C19.996 13.0385 20.5626 13.575 20.9579 14.2315C21.3532 14.8881 21.5622 15.6399 21.5625 16.4062ZM11.7188 9.84375C11.7188 10.1219 11.6363 10.3938 11.4818 10.625C11.3272 10.8563 11.1076 11.0365 10.8506 11.143C10.5937 11.2494 10.3109 11.2772 10.0382 11.223C9.76537 11.1687 9.5148 11.0348 9.31813 10.8381C9.12146 10.6415 8.98753 10.3909 8.93327 10.1181C8.87901 9.84531 8.90686 9.56256 9.01329 9.3056C9.11973 9.04864 9.29997 8.82902 9.53123 8.6745C9.76249 8.51997 10.0344 8.4375 10.3125 8.4375C10.6855 8.4375 11.0431 8.58566 11.3069 8.84938C11.5706 9.1131 11.7188 9.47079 11.7188 9.84375Z"
22+
fill="currentColor"
23+
{...pathProps}
24+
/>
25+
</svg>
26+
);
27+
};
2728

2829
export default LinkedinIcon;

src/icons/MenuIcon.tsx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import * as React from "react";
2+
import { SVGProps } from "react";
3+
4+
const MenuIcon = ({
5+
width = 32,
6+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
7+
height,
8+
pathProps,
9+
...props
10+
}: SVGProps<SVGSVGElement> & { pathProps?: SVGProps<SVGPathElement> }) => {
11+
// height is destructed and unused, scaling is defined by width
12+
return (
13+
<svg
14+
width={width}
15+
viewBox="0 0 32 32"
16+
fill="none"
17+
xmlns="http://www.w3.org/2000/svg"
18+
{...props}
19+
>
20+
<path
21+
d="M13 5H7C6.46957 5 5.96086 5.21071 5.58579 5.58579C5.21071 5.96086 5 6.46957 5 7V13C5 13.5304 5.21071 14.0391 5.58579 14.4142C5.96086 14.7893 6.46957 15 7 15H13C13.5304 15 14.0391 14.7893 14.4142 14.4142C14.7893 14.0391 15 13.5304 15 13V7C15 6.46957 14.7893 5.96086 14.4142 5.58579C14.0391 5.21071 13.5304 5 13 5ZM13 13H7V7H13V13ZM25 5H19C18.4696 5 17.9609 5.21071 17.5858 5.58579C17.2107 5.96086 17 6.46957 17 7V13C17 13.5304 17.2107 14.0391 17.5858 14.4142C17.9609 14.7893 18.4696 15 19 15H25C25.5304 15 26.0391 14.7893 26.4142 14.4142C26.7893 14.0391 27 13.5304 27 13V7C27 6.46957 26.7893 5.96086 26.4142 5.58579C26.0391 5.21071 25.5304 5 25 5ZM25 13H19V7H25V13ZM13 17H7C6.46957 17 5.96086 17.2107 5.58579 17.5858C5.21071 17.9609 5 18.4696 5 19V25C5 25.5304 5.21071 26.0391 5.58579 26.4142C5.96086 26.7893 6.46957 27 7 27H13C13.5304 27 14.0391 26.7893 14.4142 26.4142C14.7893 26.0391 15 25.5304 15 25V19C15 18.4696 14.7893 17.9609 14.4142 17.5858C14.0391 17.2107 13.5304 17 13 17ZM13 25H7V19H13V25ZM25 17H19C18.4696 17 17.9609 17.2107 17.5858 17.5858C17.2107 17.9609 17 18.4696 17 19V25C17 25.5304 17.2107 26.0391 17.5858 26.4142C17.9609 26.7893 18.4696 27 19 27H25C25.5304 27 26.0391 26.7893 26.4142 26.4142C26.7893 26.0391 27 25.5304 27 25V19C27 18.4696 26.7893 17.9609 26.4142 17.5858C26.0391 17.2107 25.5304 17 25 17ZM25 25H19V19H25V25Z"
22+
fill="currentColor"
23+
{...pathProps}
24+
/>
25+
</svg>
26+
);
27+
};
28+
29+
export default MenuIcon;
30+

src/icons/MinusIcon.tsx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
import * as React from "react";
2+
import { SVGProps } from "react";
3+
4+
const MinusIcon = ({
5+
width = 20,
6+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
7+
height,
8+
pathProps,
9+
...props
10+
}: SVGProps<SVGSVGElement> & { pathProps?: SVGProps<SVGPathElement> }) => {
11+
// height is destructed and unused, scaling is defined by width
12+
return (
13+
<svg
14+
width={width}
15+
viewBox="0 0 20 20"
16+
fill="none"
17+
xmlns="http://www.w3.org/2000/svg"
18+
{...props}
19+
>
20+
<path
21+
d="M17.5 10C17.5 10.1658 17.4342 10.3247 17.3169 10.4419C17.1997 10.5592 17.0408 10.625 16.875 10.625H3.125C2.95924 10.625 2.80027 10.5592 2.68306 10.4419C2.56585 10.3247 2.5 10.1658 2.5 10C2.5 9.83424 2.56585 9.67527 2.68306 9.55806C2.80027 9.44085 2.95924 9.375 3.125 9.375H16.875C17.0408 9.375 17.1997 9.44085 17.3169 9.55806C17.4342 9.67527 17.5 9.83424 17.5 10Z"
22+
fill="currentColor"
23+
{...pathProps}
24+
/>
25+
</svg>
26+
);
27+
};
28+
29+
export default MinusIcon;
30+

0 commit comments

Comments
 (0)