Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

FilterBars

Steven Tey5216e119337a
diff --git a/apps/web/ui/analytics/events/events-table.tsx b/apps/web/ui/analytics/events/events-table.tsx
index 46c48bc5e5..20bb6f77ff 100644
--- a/apps/web/ui/analytics/events/events-table.tsx
+++ b/apps/web/ui/analytics/events/events-table.tsx
@@ -13,7 +13,7 @@ import {
Tooltip,
useRouterStuff,
} from "@dub/ui";
-import { SortOrder } from "@dub/ui/src/icons";
+import { FilterBars, SortOrder } from "@dub/ui/src/icons";
import {
COUNTRIES,
capitalize,
@@ -31,7 +31,6 @@ import {
useReactTable,
} from "@tanstack/react-table";
import { AnimatePresence, motion } from "framer-motion";
-import { ListFilter } from "lucide-react";
import Link from "next/link";
import { useContext, useEffect, useMemo, useRef, useState } from "react";
import useSWR from "swr";
@@ -133,10 +132,10 @@ const FilterButton = ({ set }: { set: Record<string, any> }) => {
getNewPath: true,
}) as string
}
- className="absolute left-0 top-0 rounded-md border border-transparent bg-white p-0.5 text-gray-400 transition-colors hover:border-gray-200 hover:bg-gray-100 hover:text-gray-950"
+ className="absolute left-0 top-0 rounded-md border border-transparent bg-white p-0.5 text-gray-600 transition-colors hover:border-gray-200 hover:bg-gray-100 hover:text-gray-950"
>
<span className="sr-only">Filter</span>
- <ListFilter className="h-3.5 w-3.5" />
+ <FilterBars className="h-3.5 w-3.5" />
</Link>
</div>
);
diff --git a/packages/ui/src/icons/nucleo/filter-bars.tsx b/packages/ui/src/icons/nucleo/filter-bars.tsx
new file mode 100644
index 0000000000..95240a3b95
--- /dev/null
+++ b/packages/ui/src/icons/nucleo/filter-bars.tsx
@@ -0,0 +1,40 @@
+import { SVGProps } from "react";
+
+export function FilterBars(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="M5.25 9H12.75"
+ fill="none"
+ stroke="currentColor"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ strokeWidth="1.5"
+ />
+ <path
+ d="M2.75 4.25H15.25"
+ fill="none"
+ stroke="currentColor"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ strokeWidth="1.5"
+ />
+ <path
+ d="M8 13.75H10"
+ 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.ts
index cb9fe31e5f..6fb764a931 100644
--- a/packages/ui/src/icons/nucleo/index.ts
+++ b/packages/ui/src/icons/nucleo/index.ts
@@ -2,6 +2,7 @@ export * from "./crosshairs";
export * from "./cube";
export * from "./cursor-rays";
export * from "./download";
+export * from "./filter-bars";
export * from "./flag-wavy";
export * from "./gear";
export * from "./globe";