Skip to content

Commit 9dc5f70

Browse files
authored
Merge pull request #1792 from dubinc/analytics-icons
Add icons for `/analytics` page
2 parents 5678a4e + 874664b commit 9dc5f70

File tree

4 files changed

+108
-1
lines changed

4 files changed

+108
-1
lines changed

packages/ui/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@dub/ui",
33
"description": "UI components for Dub.co",
4-
"version": "0.2.7",
4+
"version": "0.2.8",
55
"sideEffects": false,
66
"main": "./dist/index.js",
77
"module": "./dist/index.mjs",

packages/ui/src/icons/nucleo/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ export * from "./palette-2";
112112
export * from "./pen-writing";
113113
export * from "./pen2";
114114
export * from "./photo";
115+
export * from "./plug2";
115116
export * from "./plus";
116117
export * from "./post";
117118
export * from "./pyramid";
@@ -127,6 +128,7 @@ export * from "./shield-alert";
127128
export * from "./shield-check";
128129
export * from "./shuffle";
129130
export * from "./sliders";
131+
export * from "./sparkle3";
130132
export * from "./square-chart";
131133
export * from "./square-layout-grid6";
132134
export * from "./stars2";
Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
import { SVGProps } from "react";
2+
3+
export function Plug2(props: SVGProps<SVGSVGElement>) {
4+
return (
5+
<svg
6+
height="18"
7+
width="18"
8+
viewBox="0 0 18 18"
9+
xmlns="http://www.w3.org/2000/svg"
10+
{...props}
11+
>
12+
<g fill="currentColor">
13+
<path
14+
d="M5.104,8.714l4.182,4.182c.391,.391,.391,1.024,0,1.414l-.28,.28c-1.545,1.545-4.051,1.545-5.596,0h0c-1.545-1.545-1.545-4.051,0-5.596l.28-.28c.391-.391,1.024-.391,1.414,0Z"
15+
fill="none"
16+
stroke="currentColor"
17+
strokeLinecap="round"
18+
strokeLinejoin="round"
19+
strokeWidth="1.5"
20+
/>
21+
<path
22+
d="M8.714,5.104l4.182,4.182c.391,.391,1.024,.391,1.414,0l.28-.28c1.545-1.545,1.545-4.051,0-5.596h0c-1.545-1.545-4.051-1.545-5.596,0l-.28,.28c-.391,.391-.391,1.024,0,1.414Z"
23+
fill="none"
24+
stroke="currentColor"
25+
strokeLinecap="round"
26+
strokeLinejoin="round"
27+
strokeWidth="1.5"
28+
/>
29+
<line
30+
fill="none"
31+
stroke="currentColor"
32+
strokeLinecap="round"
33+
strokeLinejoin="round"
34+
strokeWidth="1.5"
35+
x1="1.75"
36+
x2="3.409"
37+
y1="16.25"
38+
y2="14.591"
39+
/>
40+
<line
41+
fill="none"
42+
stroke="currentColor"
43+
strokeLinecap="round"
44+
strokeLinejoin="round"
45+
strokeWidth="1.5"
46+
x1="5.945"
47+
x2="7.5"
48+
y1="9.555"
49+
y2="8"
50+
/>
51+
<line
52+
fill="none"
53+
stroke="currentColor"
54+
strokeLinecap="round"
55+
strokeLinejoin="round"
56+
strokeWidth="1.5"
57+
x1="8.445"
58+
x2="10"
59+
y1="12.055"
60+
y2="10.5"
61+
/>
62+
<line
63+
fill="none"
64+
stroke="currentColor"
65+
strokeLinecap="round"
66+
strokeLinejoin="round"
67+
strokeWidth="1.5"
68+
x1="16.25"
69+
x2="14.591"
70+
y1="1.75"
71+
y2="3.409"
72+
/>
73+
</g>
74+
</svg>
75+
);
76+
}
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
import { SVGProps } from "react";
2+
3+
export function Sparkle3(props: SVGProps<SVGSVGElement>) {
4+
return (
5+
<svg
6+
height="18"
7+
width="18"
8+
viewBox="0 0 18 18"
9+
xmlns="http://www.w3.org/2000/svg"
10+
{...props}
11+
>
12+
<g fill="currentColor">
13+
<path
14+
d="M5.658,2.99l-1.263-.421-.421-1.263c-.137-.408-.812-.408-.949,0l-.421,1.263-1.263,.421c-.204,.068-.342,.259-.342,.474s.138,.406,.342,.474l1.263,.421,.421,1.263c.068,.204,.26,.342,.475,.342s.406-.138,.475-.342l.421-1.263,1.263-.421c.204-.068,.342-.259,.342-.474s-.138-.406-.342-.474Z"
15+
fill="currentColor"
16+
stroke="none"
17+
/>
18+
<polygon
19+
fill="none"
20+
points="9.5 2.75 11.412 7.587 16.25 9.5 11.412 11.413 9.5 16.25 7.587 11.413 2.75 9.5 7.587 7.587 9.5 2.75"
21+
stroke="currentColor"
22+
strokeLinecap="round"
23+
strokeLinejoin="round"
24+
strokeWidth="1.5"
25+
/>
26+
</g>
27+
</svg>
28+
);
29+
}

0 commit comments

Comments
 (0)