Skip to content

Commit

Permalink
Merge pull request #2078 from dubinc/solutions-icons
Browse files Browse the repository at this point in the history
Add icons for new solutions pages
  • Loading branch information
steven-tey authored Feb 26, 2025
2 parents 96ef1ac + e5db1e5 commit 5d949f0
Show file tree
Hide file tree
Showing 6 changed files with 186 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@dub/ui",
"description": "UI components for Dub.co",
"version": "0.2.23",
"version": "0.2.24",
"sideEffects": false,
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand Down
24 changes: 24 additions & 0 deletions packages/ui/src/icons/nucleo/chart-area2.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import { SVGProps } from "react";

export function ChartArea2(props: SVGProps<SVGSVGElement>) {
return (
<svg
height="18"
width="18"
viewBox="0 0 18 18"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<g fill="currentColor">
<path
d="M14.25,14.25H3.75c-1.105,0-2-.895-2-2v-2.793c0-.133,.053-.26,.146-.354l2.809-2.809c.17-.17,.438-.195,.637-.058l3.36,2.31c.178,.122,.414,.117,.585-.014L15.448,3.859c.329-.25,.802-.015,.802,.398v7.993c0,1.105-.895,2-2,2Z"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
/>
</g>
</svg>
);
}
44 changes: 44 additions & 0 deletions packages/ui/src/icons/nucleo/circle-user.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import { SVGProps } from "react";

export function CircleUser(props: SVGProps<SVGSVGElement>) {
return (
<svg
height="18"
width="18"
viewBox="0 0 18 18"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<g fill="currentColor">
<circle
cx="9"
cy="7.75"
fill="none"
r="2"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
/>
<circle
cx="9"
cy="9"
fill="none"
r="7.25"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
/>
<path
d="M5.154,15.147c.479-1.673,2.019-2.897,3.846-2.897s3.367,1.224,3.846,2.897"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
/>
</g>
</svg>
);
}
4 changes: 4 additions & 0 deletions packages/ui/src/icons/nucleo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ export * from "./calendar6";
export * from "./cards";
export * from "./caret-up-fill";
export * from "./chart-activity2";
export * from "./chart-area2";
export * from "./chart-line";
export * from "./check";
export * from "./check2";
Expand All @@ -40,6 +41,7 @@ export * from "./circle-info";
export * from "./circle-play";
export * from "./circle-play-fill";
export * from "./circle-question";
export * from "./circle-user";
export * from "./circle-warning";
export * from "./circle-xmark";
export * from "./circles";
Expand Down Expand Up @@ -119,6 +121,7 @@ export * from "./location-pin";
export * from "./lock-fill";
export * from "./magnifier";
export * from "./map-position";
export * from "./marketing-target";
export * from "./menu3";
export * from "./message-smile";
export * from "./mobile-phone";
Expand Down Expand Up @@ -165,6 +168,7 @@ export * from "./tags";
export * from "./toggle2-fill";
export * from "./trash";
export * from "./tv";
export * from "./ui-card";
export * from "./user";
export * from "./user-check";
export * from "./user-crown";
Expand Down
51 changes: 51 additions & 0 deletions packages/ui/src/icons/nucleo/marketing-target.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
import { SVGProps } from "react";

export function MarketingTarget(props: SVGProps<SVGSVGElement>) {
return (
<svg
height="18"
width="18"
viewBox="0 0 18 18"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<g fill="currentColor">
<path
d="M9.217,9.622l2.016,5.781c.099,.283,.498,.285,.599,.003l.895-2.487c.032-.089,.102-.159,.191-.191l2.487-.895c.282-.101,.28-.501-.003-.599l-5.781-2.016c-.251-.088-.492,.154-.405,.405Z"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
/>
<path
d="M16.244,8.879c-.065-3.948-3.281-7.129-7.244-7.129C4.996,1.75,1.75,4.996,1.75,9c0,3.963,3.182,7.179,7.13,7.244-.002-.006-.005-.011-.008-.017"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
/>
<path
d="M13.046,7.763c-.532-1.74-2.132-3.013-4.046-3.013-2.347,0-4.25,1.903-4.25,4.25,0,1.914,1.273,3.513,3.013,4.045"
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
/>
<line
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
x1="12.778"
x2="16.25"
y1="12.778"
y2="16.25"
/>
</g>
</svg>
);
}
62 changes: 62 additions & 0 deletions packages/ui/src/icons/nucleo/ui-card.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
import { SVGProps } from "react";

export function UiCard(props: SVGProps<SVGSVGElement>) {
return (
<svg
height="18"
width="18"
viewBox="0 0 18 18"
xmlns="http://www.w3.org/2000/svg"
{...props}
>
<g fill="currentColor">
<rect
height="12.5"
width="12.5"
fill="none"
rx="2"
ry="2"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
x="2.75"
y="2.75"
/>
<rect
height="3.5"
width="6.5"
fill="currentColor"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
x="5.75"
y="5.75"
/>
<line
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
x1="5.75"
x2="8.75"
y1="12.25"
y2="12.25"
/>
<line
fill="none"
stroke="currentColor"
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth="1.5"
x1="11.75"
x2="12.25"
y1="12.25"
y2="12.25"
/>
</g>
</svg>
);
}

0 comments on commit 5d949f0

Please sign in to comment.