The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Add icons
Tim Wilson43ec913781a0
diff --git a/apps/web/ui/workspaces/subscription-menu.tsx b/apps/web/ui/workspaces/subscription-menu.tsxindex 7b1618dc81..11c53b7a3f 100644--- a/apps/web/ui/workspaces/subscription-menu.tsx+++ b/apps/web/ui/workspaces/subscription-menu.tsx@@ -3,11 +3,11 @@import useWorkspace from "@/lib/swr/use-workspace";import {Button,- Calendar6,+ CalendarRefresh,Icon,LoadingSpinner,Popover,- Xmark,+ SquareXmark,} from "@dub/ui";import { cn } from "@dub/utils";import { Command } from "cmdk";@@ -55,12 +55,12 @@ export default function SubscriptionMenu() {><Command.List className="flex w-screen flex-col gap-1 p-1.5 text-sm sm:w-auto sm:min-w-[180px]"><MenuItem- icon={Calendar6}+ icon={CalendarRefresh}label="Manage Subscription"onSelect={() => openBillingPortal(false)}/><MenuItem- icon={Xmark}+ icon={SquareXmark}label="Cancel Subscription"onSelect={() => openBillingPortal(true)}/>@@ -107,7 +107,7 @@ function MenuItem({onSelect={onSelect}disabled={disabled}>- <IconComp className="size-4 shrink-0 text-neutral-500" />+ <IconComp className="size-4 shrink-0 text-neutral-700" />{label}</Command.Item>);diff --git a/packages/ui/src/icons/nucleo/calendar-refresh.tsx b/packages/ui/src/icons/nucleo/calendar-refresh.tsxnew file mode 100644index 0000000000..479b55cab4--- /dev/null+++ b/packages/ui/src/icons/nucleo/calendar-refresh.tsx@@ -0,0 +1,73 @@+import { SVGProps } from "react";++export function CalendarRefresh(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">+ <line+ fill="none"+ stroke="currentColor"+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth="1.5"+ x1="5.75"+ x2="5.75"+ y1="2.75"+ y2=".75"+ />+ <line+ fill="none"+ stroke="currentColor"+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth="1.5"+ x1="12.25"+ x2="12.25"+ y1="2.75"+ y2=".75"+ />+ <line+ fill="none"+ stroke="currentColor"+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth="1.5"+ x1="2.25"+ x2="15.75"+ y1="6.25"+ y2="6.25"+ />+ <polyline+ fill="none"+ points="14.25 13.25 16.75 13.25 16.75 10.75"+ stroke="currentColor"+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth="1.5"+ />+ <path+ d="M15.75,8.473v-3.723c0-1.104-.895-2-2-2H4.25c-1.105,0-2,.896-2,2V13.25c0,1.104,.895,2,2,2h4.667"+ fill="none"+ stroke="currentColor"+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth="1.5"+ />+ <path+ d="M16,15.887c-.501,.531-1.212,.863-2,.863-1.519,0-2.75-1.231-2.75-2.75s1.231-2.75,2.75-2.75c1.166,0,2.162,.726,2.563,1.75"+ fill="none"+ stroke="currentColor"+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth="1.5"+ />+ </g>+ </svg>+ );+}diff --git a/packages/ui/src/icons/nucleo/index.ts b/packages/ui/src/icons/nucleo/index.tsindex 86f2bc6772..b6c29e6941 100644--- a/packages/ui/src/icons/nucleo/index.ts+++ b/packages/ui/src/icons/nucleo/index.ts@@ -20,6 +20,7 @@ export * from "./bullet-list";export * from "./bullet-list-fill";export * from "./calendar";export * from "./calendar-days";+export * from "./calendar-refresh";export * from "./calendar6";export * from "./cards";export * from "./caret-up-fill";@@ -146,6 +147,7 @@ export * from "./sliders";export * from "./sparkle3";export * from "./square-chart";export * from "./square-layout-grid6";+export * from "./square-xmark";export * from "./stars2";export * from "./table-icon";export * from "./table-rows2";diff --git a/packages/ui/src/icons/nucleo/square-xmark.tsx b/packages/ui/src/icons/nucleo/square-xmark.tsxnew file mode 100644index 0000000000..c4b1ee307d--- /dev/null+++ b/packages/ui/src/icons/nucleo/square-xmark.tsx@@ -0,0 +1,51 @@+import { SVGProps } from "react";++export function SquareXmark(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"+ />+ <line+ fill="none"+ stroke="currentColor"+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth="1.5"+ x1="6.25"+ x2="11.75"+ y1="6.25"+ y2="11.75"+ />+ <line+ fill="none"+ stroke="currentColor"+ strokeLinecap="round"+ strokeLinejoin="round"+ strokeWidth="1.5"+ x1="11.75"+ x2="6.25"+ y1="6.25"+ y2="11.75"+ />+ </g>+ </svg>+ );+}