Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Remove lucide-react

Blue Mousec6ca581c1d32
diff --git a/docs/components/page-actions.tsx b/docs/components/page-actions.tsx
index b45398665..fc0692a65 100644
--- a/docs/components/page-actions.tsx
+++ b/docs/components/page-actions.tsx
@@ -1,6 +1,6 @@
"use client";
import { useMemo, useState, useEffect } from "react";
-import { Check, ChevronDown, Copy, ExternalLinkIcon, TextIcon } from "lucide-react";
+import { CheckIcon, CaretDownIcon, CopyIcon, ArrowSquareOutIcon, FileTextIcon } from "@phosphor-icons/react";
import { cn } from "../lib/cn";
import { useCopyButton } from "fumadocs-ui/utils/use-copy-button";
import { buttonVariants } from "./ui/button";
@@ -51,7 +51,7 @@ export function LLMCopyButton({
)}
onClick={onClick}
>
- {checked ? <Check /> : <Copy />}
+ {checked ? <CheckIcon /> : <CopyIcon />}
Copy Markdown
</button>
);
@@ -94,7 +94,7 @@ export function ViewOptions({
{
title: "View as Markdown",
href: markdownUrl,
- icon: <TextIcon />,
+ icon: <FileTextIcon />,
},
{
title: "Open in ChatGPT",
@@ -163,7 +163,7 @@ export function ViewOptions({
)}
>
Open
- <ChevronDown className="size-3.5 text-fd-muted-foreground" />
+ <CaretDownIcon className="size-3.5 text-fd-muted-foreground" />
</PopoverTrigger>
<PopoverContent className="flex flex-col">
{items.map((item) => (
@@ -176,7 +176,7 @@ export function ViewOptions({
>
{item.icon}
{item.title}
- <ExternalLinkIcon className="text-fd-muted-foreground size-3.5 ms-auto" />
+ <ArrowSquareOutIcon className="text-fd-muted-foreground size-3.5 ms-auto" />
</a>
))}
</PopoverContent>
diff --git a/docs/package-lock.json b/docs/package-lock.json
index 726882fdf..2b443586a 100644
--- a/docs/package-lock.json
+++ b/docs/package-lock.json
@@ -15,7 +15,6 @@
"fumadocs-core": "^16.7.11",
"fumadocs-mdx": "^14.2.11",
"fumadocs-ui": "^16.7.11",
- "lucide-react": "^0.575.0",
"next": "^16.2.2",
"react": "^19.2.4",
"react-dom": "^19.2.4",
@@ -5047,15 +5046,6 @@
"url": "https://github.com/sponsors/wooorm"
}
},
- "node_modules/lucide-react": {
- "version": "0.575.0",
- "resolved": "https://registry.npmjs.org/lucide-react/-/lucide-react-0.575.0.tgz",
- "integrity": "sha512-VuXgKZrk0uiDlWjGGXmKV6MSk9Yy4l10qgVvzGn2AWBx1Ylt0iBexKOAoA6I7JO3m+M9oeovJd3yYENfkUbOeg==",
- "license": "ISC",
- "peerDependencies": {
- "react": "^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0"
- }
- },
"node_modules/magic-string": {
"version": "0.30.21",
"resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz",
diff --git a/docs/package.json b/docs/package.json
index de928f782..e5e3e7585 100644
--- a/docs/package.json
+++ b/docs/package.json
@@ -17,7 +17,6 @@
"fumadocs-core": "^16.7.11",
"fumadocs-mdx": "^14.2.11",
"fumadocs-ui": "^16.7.11",
- "lucide-react": "^0.575.0",
"next": "^16.2.2",
"react": "^19.2.4",
"react-dom": "^19.2.4",