Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Studio: use the standard chevrons in place of Hugeicons' curved ones (#12337)

Michael Hanca45eecbf9b9
diff --git a/studio/frontend/src/components/tauri/log-details.tsx b/studio/frontend/src/components/tauri/log-details.tsx
index bb2cd64377a..ebf77e9d9cd 100644
--- a/studio/frontend/src/components/tauri/log-details.tsx
+++ b/studio/frontend/src/components/tauri/log-details.tsx
@@ -2,8 +2,8 @@
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
import { isFollowingTail } from "@/components/tauri/log-follow";
+import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
-import { ChevronDown as ChevronDownIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useLayoutEffect, useRef } from "react";
@@ -82,7 +82,7 @@ export function LogDetails({
<span className="group-open:hidden">Show {label}</span>
<span className="hidden group-open:inline">Hide {label}</span>
<HugeiconsIcon
- icon={ChevronDownIcon}
+ icon={ChevronDownStandardIcon}
aria-hidden="true"
strokeWidth={1.5}
className="size-[calc(13px*var(--ui-space-scale,1))] shrink-0 transition-transform group-open:rotate-180"
diff --git a/studio/frontend/src/components/ui/calendar.tsx b/studio/frontend/src/components/ui/calendar.tsx
index 6ea80b9c887..99b2a153f8c 100644
--- a/studio/frontend/src/components/ui/calendar.tsx
+++ b/studio/frontend/src/components/ui/calendar.tsx
@@ -9,12 +9,12 @@ import {
} from "react-day-picker";
import { Button, buttonVariants } from "@/components/ui/button";
-import { cn } from "@/lib/utils";
import {
- ArrowDownIcon,
- ArrowLeftIcon,
- ArrowRightIcon,
-} from "@hugeicons/core-free-icons";
+ ChevronDownStandardIcon,
+ ChevronLeftStandardIcon,
+ ChevronRightStandardIcon,
+} from "@/lib/chevron-icons";
+import { cn } from "@/lib/utils";
import { HugeiconsIcon } from "@hugeicons/react";
function Calendar({
@@ -151,7 +151,7 @@ function Calendar({
if (orientation === "left") {
return (
<HugeiconsIcon
- icon={ArrowLeftIcon}
+ icon={ChevronLeftStandardIcon}
strokeWidth={2}
className={cn("size-4", className)}
{...props}
@@ -162,7 +162,7 @@ function Calendar({
if (orientation === "right") {
return (
<HugeiconsIcon
- icon={ArrowRightIcon}
+ icon={ChevronRightStandardIcon}
strokeWidth={2}
className={cn("size-4", className)}
{...props}
@@ -172,7 +172,7 @@ function Calendar({
return (
<HugeiconsIcon
- icon={ArrowDownIcon}
+ icon={ChevronDownStandardIcon}
strokeWidth={2}
className={cn("size-4", className)}
{...props}
diff --git a/studio/frontend/src/features/chat/components/chat-skills-dialog.tsx b/studio/frontend/src/features/chat/components/chat-skills-dialog.tsx
index 77fcf0cbbee..abc75c9e69f 100644
--- a/studio/frontend/src/features/chat/components/chat-skills-dialog.tsx
+++ b/studio/frontend/src/features/chat/components/chat-skills-dialog.tsx
@@ -25,11 +25,13 @@ import { Spinner } from "@/components/ui/spinner";
import { Switch } from "@/components/ui/switch";
import { Textarea } from "@/components/ui/textarea";
import { useT } from "@/i18n";
+import {
+ ChevronLeftStandardIcon,
+ ChevronRightStandardIcon,
+} from "@/lib/chevron-icons";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
import {
- ArrowLeft01Icon,
- ArrowRight01Icon,
PlusSignIcon,
Refresh01Icon,
Scroll01Icon,
@@ -462,7 +464,7 @@ export function ChatSkillsDialog({
aria-label={t("skills.title")}
className="-ml-2 shrink-0"
>
- <HugeiconsIcon icon={ArrowLeft01Icon} strokeWidth={2} />
+ <HugeiconsIcon icon={ChevronLeftStandardIcon} strokeWidth={2} />
</Button>
<DialogTitle className="truncate">
{view.kind === "new" ? t("skills.newSkill") : (selected?.name ?? "")}
@@ -759,7 +761,7 @@ function SkillRow({
</p>
<span className="flex h-[1lh] translate-y-[0.1em] items-center self-start justify-self-center text-ui-13">
<HugeiconsIcon
- icon={ArrowRight01Icon}
+ icon={ChevronRightStandardIcon}
strokeWidth={2}
aria-hidden="true"
className="size-4 text-muted-foreground/50 transition-colors group-hover:text-foreground"
diff --git a/studio/frontend/src/features/settings/tabs/debugging-tab.tsx b/studio/frontend/src/features/settings/tabs/debugging-tab.tsx
index cab1673ea66..d0890af82dd 100644
--- a/studio/frontend/src/features/settings/tabs/debugging-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/debugging-tab.tsx
@@ -25,12 +25,12 @@ import { useCopyFeedback } from "@/features/hub/hooks/use-copy-feedback";
import { formatBytes } from "@/features/hub";
import { useT } from "@/i18n";
import { isTauri } from "@/lib/api-base";
+import { ChevronDownDoubleStandardIcon } from "@/lib/chevron-icons";
import { stripAnsi } from "@/lib/strip-ansi";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
import {
Alert02Icon,
- ArrowDownDoubleIcon,
Copy01Icon,
Download01Icon,
FolderOpenIcon,
@@ -740,7 +740,10 @@ export function DebuggingTab() {
data-testid="debug-log-jump-to-latest"
className="absolute right-3 bottom-3 rounded-full shadow-md"
>
- <HugeiconsIcon strokeWidth={1.75} icon={ArrowDownDoubleIcon} />
+ <HugeiconsIcon
+ strokeWidth={1.75}
+ icon={ChevronDownDoubleStandardIcon}
+ />
{t("settings.debugging.jumpToLatest")}
</Button>
) : null}
diff --git a/studio/frontend/src/lib/chevron-icons.ts b/studio/frontend/src/lib/chevron-icons.ts
index 950d44ba1a3..7fe527103ac 100644
--- a/studio/frontend/src/lib/chevron-icons.ts
+++ b/studio/frontend/src/lib/chevron-icons.ts
@@ -47,6 +47,46 @@ export const ChevronRightStandardIcon: IconSvgElement = [
],
];
+export const ChevronLeftStandardIcon: IconSvgElement = [
+ [
+ "path",
+ {
+ d: "M15 6L9 12L15 18",
+ stroke: "currentColor",
+ strokeLinecap: "round",
+ strokeLinejoin: "round",
+ strokeWidth: "1.5",
+ key: "0",
+ },
+ ],
+];
+
+// Two stacked down chevrons, for "jump to the end" controls.
+export const ChevronDownDoubleStandardIcon: IconSvgElement = [
+ [
+ "path",
+ {
+ d: "M6 5.5L12 11.5L18 5.5",
+ stroke: "currentColor",
+ strokeLinecap: "round",
+ strokeLinejoin: "round",
+ strokeWidth: "1.5",
+ key: "0",
+ },
+ ],
+ [
+ "path",
+ {
+ d: "M6 12.5L12 18.5L18 12.5",
+ stroke: "currentColor",
+ strokeLinecap: "round",
+ strokeLinejoin: "round",
+ strokeWidth: "1.5",
+ key: "1",
+ },
+ ],
+];
+
// A submenu arrow drawn against the right of its box, its tip as far from that edge as a
// leading icon's stroke is from the left (x=2 less half a stroke). Set flush on a row's right
// padding, the arrow and the row's icon then sit level, at any icon size.
diff --git a/studio/frontend/tests/debug-log-export.test.ts b/studio/frontend/tests/debug-log-export.test.ts
index 266a4a7ef9b..1b7f5c11490 100644
--- a/studio/frontend/tests/debug-log-export.test.ts
+++ b/studio/frontend/tests/debug-log-export.test.ts
@@ -202,6 +202,7 @@ function makeWorld(options: {
"@/features/hub": { formatBytes: (bytes: number) => `${bytes} B` },
"@/i18n": { useT: () => t },
"@/lib/api-base": apiStubs["@/lib/api-base"],
+ "@/lib/chevron-icons": { ChevronDownDoubleStandardIcon: [] },
"@/lib/strip-ansi": { stripAnsi: (value: string) => value },
"@/lib/toast": { toast },
"@/lib/utils": {
diff --git a/studio/frontend/tests/tauri-details-toggle.test.ts b/studio/frontend/tests/tauri-details-toggle.test.ts
index c3854a748e0..ccc854667f5 100644
--- a/studio/frontend/tests/tauri-details-toggle.test.ts
+++ b/studio/frontend/tests/tauri-details-toggle.test.ts
@@ -30,7 +30,7 @@ test("the shared detail toggle puts a custom down chevron after its label", asyn
assert.match(summary, /\bflex\b/);
assert.ok(
summary.indexOf("<HugeiconsIcon") > summary.indexOf("Show {label}") &&
- summary.includes("icon={ChevronDownIcon}"),
+ summary.includes("icon={ChevronDownStandardIcon}"),
"the chevron must be on the right",
);
});