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: one icon per job across the app (#15299)

Michael Hance69b35658c8
diff --git a/studio/frontend/src/components/app-sidebar.tsx b/studio/frontend/src/components/app-sidebar.tsx
index 7be861f2011..2cd22287236 100644
--- a/studio/frontend/src/components/app-sidebar.tsx
+++ b/studio/frontend/src/components/app-sidebar.tsx
@@ -138,7 +138,6 @@ import {
LayoutAlignLeftIcon,
Settings02Icon,
Sun03Icon,
- Tick02Icon,
UserCircleIcon,
ViewIcon,
ViewOffSlashIcon,
@@ -149,6 +148,7 @@ import {
LayerIcon,
ApiIcon,
Clock01Icon,
+ Copy01Icon,
} from "@hugeicons/core-free-icons";
import {
AiSpeechIcon,
@@ -163,7 +163,7 @@ import {
} from "@/components/ui/tooltip";
import { Tooltip as TooltipPrimitive } from "radix-ui";
import { HugeiconsIcon, type IconSvgElement } from "@hugeicons/react";
-import { ArrowRightIcon, Copy, GitBranchIcon, Moon } from "lucide-react";
+import { ArrowRightIcon, GitBranchIcon, Moon } from "lucide-react";
import { ForkIcon } from "@/lib/fork-icon";
import {
Link,
@@ -323,6 +323,7 @@ import { useActiveChatMenuStore } from "@/features/chat/stores/active-chat-menu-
import { type PinnedPage, PinnedPageRow, usePinnedPages } from "@/features/browser";
import { useUnseenScheduledRuns } from "@/features/scheduled-tasks";
import { translate, useT, type TranslationKey } from "@/i18n";
+import { Tick02Icon } from "@/lib/tick-icon";
const RECENT_SLOT_NUMBERS = [1, 2, 3, 4, 5, 6] as const;
@@ -6821,7 +6822,7 @@ export function AppSidebar() {
closeMobileIfOpen();
}}
>
- <Copy className="size-icon" />
+ <HugeiconsIcon icon={Copy01Icon} className="size-icon" />
<span>{t("common.duplicate")}</span>
</DropdownMenuItem>
<DropdownMenuItem onSelect={() => openRenameRun(run)}>
diff --git a/studio/frontend/src/components/assistant-ui/attachment-preview.tsx b/studio/frontend/src/components/assistant-ui/attachment-preview.tsx
index 0ab6ae20b75..b424290f991 100644
--- a/studio/frontend/src/components/assistant-ui/attachment-preview.tsx
+++ b/studio/frontend/src/components/assistant-ui/attachment-preview.tsx
@@ -54,7 +54,6 @@ import { asPng } from "@/lib/copy-to-clipboard";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
import { useAui, useAuiState } from "@assistant-ui/react";
-import { PlayIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import {
type FC,
@@ -65,6 +64,7 @@ import {
useMemo,
useState,
} from "react";
+import { PlayIcon } from "lucide-react";
type TextPreviewState =
| { status: "loading" }
@@ -583,7 +583,7 @@ const AttachmentTextDialog: FC<
active={!showCode}
onClick={() => setShowCode(false)}
>
- <HugeiconsIcon icon={PlayIcon} strokeWidth={1.75} className="size-5" />
+ <PlayIcon strokeWidth={1.75} className="size-5" />
</ViewButton>
</div>
)}
diff --git a/studio/frontend/src/components/assistant-ui/attachment.tsx b/studio/frontend/src/components/assistant-ui/attachment.tsx
index e1724cf27a2..2badc0817a2 100644
--- a/studio/frontend/src/components/assistant-ui/attachment.tsx
+++ b/studio/frontend/src/components/assistant-ui/attachment.tsx
@@ -59,9 +59,10 @@ import {
Comment01Icon,
InternetIcon,
TextAlignLeft01Icon,
+ PlusSignIcon,
+ Cancel01Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { PlusIcon, XIcon } from "lucide-react";
import {
createContext,
type FC,
@@ -505,7 +506,7 @@ const AttachmentCardRemove: FC = () => {
aria-label="Remove file"
className="aui-attachment-card-remove absolute top-1.5 right-1.5 size-5 rounded-full bg-white p-0 opacity-0 shadow-sm ring-1 ring-black/15 transition-opacity hover:bg-white! dark:bg-black dark:ring-white/20 dark:hover:bg-black! focus-visible:opacity-100 group-hover/attachment-card:opacity-100 group-focus-within/attachment-card:opacity-100 [@media(pointer:coarse)]:opacity-100 [&_svg]:text-black dark:[&_svg]:text-white"
>
- <XIcon className="aui-attachment-remove-icon size-3 stroke-[2.5px]" />
+ <HugeiconsIcon icon={Cancel01Icon} className="aui-attachment-remove-icon size-3 stroke-[2.5px]" />
</Button>
</AttachmentPrimitive.Remove>
);
@@ -833,7 +834,7 @@ export const ComposerAddAttachment: FC = () => {
className="aui-composer-add-attachment size-8.5 rounded-full p-1 font-semibold text-xs hover:bg-muted-foreground/15 dark:hover:bg-muted-foreground/30"
aria-label="Add Attachment"
>
- <PlusIcon className="aui-attachment-add-icon size-5 stroke-[1.5px]" />
+ <HugeiconsIcon icon={PlusSignIcon} className="aui-attachment-add-icon size-5 stroke-[1.5px]" />
</TooltipIconButton>
</ComposerPrimitive.AddAttachment>
);
diff --git a/studio/frontend/src/components/assistant-ui/audio-player.tsx b/studio/frontend/src/components/assistant-ui/audio-player.tsx
index 85ee300bc40..e4e11c6c8fa 100644
--- a/studio/frontend/src/components/assistant-ui/audio-player.tsx
+++ b/studio/frontend/src/components/assistant-ui/audio-player.tsx
@@ -6,9 +6,9 @@
import { Button } from "@/components/ui/button";
import { downloadUrl, isDownloadCancelled } from "@/lib/native-files";
import { toast } from "@/lib/toast";
-import { Download01Icon } from "@hugeicons/core-free-icons";
+import { Download01Icon, PauseIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { PauseIcon, PlayIcon } from "lucide-react";
+import { PlayIcon } from "lucide-react";
import { type FC, useRef, useState } from "react";
interface AudioPlayerProps {
@@ -98,7 +98,7 @@ export const AudioPlayer: FC<AudioPlayerProps> = ({
onClick={togglePlay}
>
{isPlaying ? (
- <PauseIcon className="size-4" />
+ <HugeiconsIcon icon={PauseIcon} className="size-4" />
) : (
<PlayIcon className="size-4" />
)}
diff --git a/studio/frontend/src/components/assistant-ui/chat-dictation-bar.tsx b/studio/frontend/src/components/assistant-ui/chat-dictation-bar.tsx
index c69b1ac8cb7..576dd871357 100644
--- a/studio/frontend/src/components/assistant-ui/chat-dictation-bar.tsx
+++ b/studio/frontend/src/components/assistant-ui/chat-dictation-bar.tsx
@@ -7,9 +7,11 @@ import {
subscribeDictationLevel,
} from "@/features/chat";
import { useAui, useAuiState } from "@assistant-ui/react";
-import { ArrowUpIcon, SquareIcon } from "lucide-react";
+import { ArrowUpIcon } from "lucide-react";
import { type FC, useEffect, useRef, useState } from "react";
import { TooltipIconButton } from "./tooltip-icon-button";
+import { StopIcon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
// Dense row of dots that rise into centered recording bars.
const BAR_COUNT = 84;
@@ -263,7 +265,7 @@ export const ChatDictationBar: FC<{
{transcribing === "stop" ? (
<Spinner className="size-3.5" />
) : (
- <SquareIcon className="composer-glyph-snap size-3.5 fill-current" />
+ <HugeiconsIcon icon={StopIcon} className="composer-glyph-snap size-3.5 fill-current" />
)}
</TooltipIconButton>
<TooltipIconButton
diff --git a/studio/frontend/src/components/assistant-ui/link-menu-content.tsx b/studio/frontend/src/components/assistant-ui/link-menu-content.tsx
index 11f6f2ed00c..6be3a7cc6cd 100644
--- a/studio/frontend/src/components/assistant-ui/link-menu-content.tsx
+++ b/studio/frontend/src/components/assistant-ui/link-menu-content.tsx
@@ -37,7 +37,6 @@ import {
InternetIcon,
Link01Icon,
LinkSquare02Icon,
- SquareArrowUpRightIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon, type IconSvgElement } from "@hugeicons/react";
import { useNavigate } from "@tanstack/react-router";
@@ -217,7 +216,7 @@ export function FileMenuContent({ file }: { file: ContextFile }) {
<ContextMenuItem
onSelect={() => void postSandbox(sandbox.sessionId, "open", sandbox.file).catch(failed("linkMenu.openFailed"))}
>
- <ItemIcon icon={SquareArrowUpRightIcon} />
+ <ItemIcon icon={LinkSquare02Icon} />
{t("linkMenu.openDefaultApp")}
</ContextMenuItem>
) : null}
diff --git a/studio/frontend/src/components/assistant-ui/prompt-queue-list.tsx b/studio/frontend/src/components/assistant-ui/prompt-queue-list.tsx
index 78443e3bbc1..fda16da001b 100644
--- a/studio/frontend/src/components/assistant-ui/prompt-queue-list.tsx
+++ b/studio/frontend/src/components/assistant-ui/prompt-queue-list.tsx
@@ -6,12 +6,12 @@ import {
CornerDownRightIcon,
GripVerticalIcon,
ListEndIcon,
- MoreHorizontalIcon,
} from "lucide-react";
import {
Copy01Icon,
Delete02Icon,
Edit03Icon,
+ MoreHorizontalIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { Button } from "@/components/ui/button";
@@ -407,7 +407,7 @@ export function PromptQueueList({
aria-label={t("promptQueue.moreLabel", { position })}
className="size-8 shrink-0 text-muted-foreground hover:text-foreground data-[state=open]:bg-accent data-[state=open]:text-foreground pointer-coarse:size-11"
>
- <MoreHorizontalIcon className="size-4" />
+ <HugeiconsIcon icon={MoreHorizontalIcon} className="size-4" />
</TooltipIconButton>
)}
align="end"
diff --git a/studio/frontend/src/components/assistant-ui/thread.tsx b/studio/frontend/src/components/assistant-ui/thread.tsx
index 0011a8f25ab..5634720b4ca 100644
--- a/studio/frontend/src/components/assistant-ui/thread.tsx
+++ b/studio/frontend/src/components/assistant-ui/thread.tsx
@@ -397,7 +397,6 @@ import {
BranchNextIcon,
BranchPrevIcon,
ContinueArrowIcon,
- EditResponseIcon,
ReadAloudIcon,
} from "@/lib/action-bar-icons";
import { ForkIcon } from "@/lib/fork-icon";
@@ -437,6 +436,11 @@ import {
VolumeMute02Icon,
WorkflowCircle05Icon,
Clock01Icon,
+ SlidersHorizontalIcon,
+ MoreHorizontalIcon,
+ PlusSignIcon,
+ StopIcon,
+ Cancel01Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { RefreshGlyph } from "@/lib/refresh-icon";
@@ -445,13 +449,8 @@ import {
ArrowDownIcon,
ArrowUpIcon,
Columns2Icon,
- SlidersHorizontalIcon,
Loader2Icon,
- MoreHorizontalIcon,
- PlusIcon,
- SquareIcon,
TerminalIcon,
- XIcon,
} from "lucide-react";
import {
type ChangeEvent,
@@ -2533,7 +2532,7 @@ const GeneratedImageViewportOverlay: FC<{
onClick={closeOverlay}
aria-label="Close generated image preview"
>
- <XIcon className="size-3.5" />
+ <HugeiconsIcon icon={Cancel01Icon} className="size-3.5" />
</Button>
</div>
</div>
@@ -2913,7 +2912,7 @@ const PendingAudioChip: FC = () => {
className="flex size-4 items-center justify-center rounded-full hover:bg-destructive hover:text-destructive-foreground"
aria-label="Remove audio"
>
- <XIcon className="size-3" />
+ <HugeiconsIcon icon={Cancel01Icon} className="size-3" />
</button>
</div>
</div>
@@ -6683,7 +6682,7 @@ const ReasoningToggle: FC<{ side?: "top" | "bottom" }> = ({
const PillGlyph: FC<{ children: ReactNode }> = ({ children }) => (
<span className="composer-pill-glyph">
{children}
- <XIcon className="composer-pill-x" />
+ <HugeiconsIcon icon={Cancel01Icon} className="composer-pill-x" />
</span>
);
@@ -7405,7 +7404,7 @@ const ComposerToolsMenu: FC<{
className="unsloth-composer-plus"
data-tour="chat-plus-menu"
>
- <PlusIcon className="size-[calc(22px*var(--ui-space-scale,1))] stroke-[1.75px]" />
+ <HugeiconsIcon icon={PlusSignIcon} className="size-[calc(22px*var(--ui-space-scale,1))] stroke-[1.75px]" />
</button>
</DropdownMenuTrigger>
<DropdownMenuContent
@@ -7506,7 +7505,7 @@ const ComposerToolsMenu: FC<{
))}
<DropdownMenuSub>
<DropdownMenuSubTrigger>
- <MoreHorizontalIcon className="size-4" />
+ <HugeiconsIcon icon={MoreHorizontalIcon} className="size-4" />
More
</DropdownMenuSubTrigger>
<DropdownMenuSubContent className="unsloth-plus-menu w-[calc(248px*var(--ui-space-scale,1))]">
@@ -7519,7 +7518,7 @@ const ComposerToolsMenu: FC<{
scrollTarget: "chat-composer",
})}
>
- <SlidersHorizontalIcon className="size-4" />
+ <HugeiconsIcon icon={SlidersHorizontalIcon} className="size-4" />
{t("composerSettings.settings")}
</DropdownMenuItem>
</DropdownMenuSubContent>
@@ -7718,7 +7717,7 @@ const ComposerRightControls: FC<{
>
<Spinner className="size-4" />
<span>{t("settings.voice.dictation.audioUploadTranscribing")}</span>
- <XIcon className="size-3.5" aria-hidden="true" />
+ <HugeiconsIcon icon={Cancel01Icon} className="size-3.5" aria-hidden="true" />
</Button>
) : (
<TooltipIconButton
@@ -7789,7 +7788,7 @@ const ComposerRightControls: FC<{
aria-label="Stop queued message"
onClick={stop}
>
- <SquareIcon className="composer-glyph-snap size-3.5 fill-current" />
+ <HugeiconsIcon icon={StopIcon} className="composer-glyph-snap size-3.5 fill-current" />
</Button>
) : (
<TooltipIconButton
@@ -7821,7 +7820,7 @@ const ComposerRightControls: FC<{
{researchStopping ? (
<Spinner className="size-3.5" />
) : (
- <SquareIcon className="composer-glyph-snap size-3.5 fill-current" />
+ <HugeiconsIcon icon={StopIcon} className="composer-glyph-snap size-3.5 fill-current" />
)}
</Button>
) : (
@@ -7842,7 +7841,7 @@ const ComposerRightControls: FC<{
// dispatches the next queued prompt. stop() ends the run.
onClick={stop}
>
- <SquareIcon className="composer-glyph-snap size-3.5 fill-current" />
+ <HugeiconsIcon icon={StopIcon} className="composer-glyph-snap size-3.5 fill-current" />
</Button>
</ComposerPrimitive.Cancel>
) : (
@@ -9022,7 +9021,7 @@ const EditAssistantMessageButton: FC = () => {
onClick={() => setEditingId(messageId)}
>
<HugeiconsIcon
- icon={EditResponseIcon}
+ icon={Edit03Icon}
strokeWidth={1.75}
className="size-icon"
/>
@@ -9080,7 +9079,7 @@ const EditAssistantMessageMenuItem: FC = () => {
onSelect={() => setEditingId(messageId)}
className="aui-action-bar-more-item flex cursor-pointer select-none items-center gap-2 rounded-md px-3 py-2 text-sm outline-none hover:bg-accent hover:text-accent-foreground focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50"
>
- <HugeiconsIcon icon={EditResponseIcon} strokeWidth={1.75} className="size-icon" />
+ <HugeiconsIcon icon={Edit03Icon} strokeWidth={1.75} className="size-icon" />
Edit response
</ActionBarMorePrimitive.Item>
);
@@ -9184,7 +9183,7 @@ const AssistantActionBar: FC = () => {
tooltip="More"
className="data-[state=open]:bg-accent"
>
- <MoreHorizontalIcon strokeWidth={1.75} className="size-icon" />
+ <HugeiconsIcon icon={MoreHorizontalIcon} strokeWidth={1.75} className="size-icon" />
</TooltipIconButton>
</ActionBarMorePrimitive.Trigger>
<ActionBarMorePrimitive.Content
diff --git a/studio/frontend/src/components/assistant-ui/tool-fallback.tsx b/studio/frontend/src/components/assistant-ui/tool-fallback.tsx
index 5588f4f54bc..92b9e926111 100644
--- a/studio/frontend/src/components/assistant-ui/tool-fallback.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-fallback.tsx
@@ -43,12 +43,8 @@ import {
type ToolCallMessagePartStatus,
useAuiState,
} from "@assistant-ui/react";
-import {
- AlertCircleIcon,
- LoaderIcon,
- WrenchIcon,
- XCircleIcon,
-} from "lucide-react";
+import { AlertCircleIcon } from "@hugeicons/core-free-icons";
+import { LoaderIcon, WrenchIcon, XCircleIcon } from "lucide-react";
import { InternetGlyph } from "@/lib/internet-icon";
import {
type CSSProperties,
@@ -175,10 +171,14 @@ function completeToolIcon(name: string): ElementType {
return name.startsWith("browser_") ? InternetGlyph : WrenchIcon;
}
+function AlertCircleGlyph(props: { className?: string }) {
+ return <HugeiconsIcon icon={AlertCircleIcon} {...props} />;
+}
+
const statusIconMap: Record<Exclude<ToolStatus, "complete">, ElementType> = {
running: LoaderIcon,
incomplete: XCircleIcon,
- "requires-action": AlertCircleIcon,
+ "requires-action": AlertCircleGlyph,
};
function ToolFallbackTrigger({
diff --git a/studio/frontend/src/components/assistant-ui/tool-ui-image-generation.tsx b/studio/frontend/src/components/assistant-ui/tool-ui-image-generation.tsx
index 4cb227c293d..bed1404d702 100644
--- a/studio/frontend/src/components/assistant-ui/tool-ui-image-generation.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-ui-image-generation.tsx
@@ -7,11 +7,11 @@ import { Button } from "@/components/ui/button";
import { FIND_SKIP_ATTRIBUTE } from "@/features/find-in-page";
import { cn } from "@/lib/utils";
import type { ToolCallMessagePartComponent } from "@assistant-ui/react";
-import { Download01Icon } from "@hugeicons/core-free-icons";
+import { Download01Icon, Edit03Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { downloadUrl, isDownloadCancelled } from "@/lib/native-files";
import { toast } from "@/lib/toast";
-import { ImageIcon, PencilIcon, VideoIcon } from "lucide-react";
+import { ImageIcon, VideoIcon } from "lucide-react";
import type { CSSProperties, MouseEvent } from "react";
import { memo, useCallback, useEffect, useRef, useState } from "react";
import { useGeneratedImageOverlay } from "./generated-image-overlay-context";
@@ -518,7 +518,7 @@ const ImageGenerationToolUIImpl: ToolCallMessagePartComponent = ({
className="pointer-events-auto rounded-full bg-black/70 text-white hover:bg-black/85"
onClick={handleEditClick}
>
- <PencilIcon className="size-3.5" />
+ <HugeiconsIcon icon={Edit03Icon} className="size-3.5" />
Edit
</Button>
<Button
diff --git a/studio/frontend/src/components/command-palette.tsx b/studio/frontend/src/components/command-palette.tsx
index b5696734732..a6e9729f8d1 100644
--- a/studio/frontend/src/components/command-palette.tsx
+++ b/studio/frontend/src/components/command-palette.tsx
@@ -33,7 +33,6 @@ import {
Cancel01Icon,
ChefHatIcon,
DashboardCircleIcon,
- DownloadSquare01Icon,
FlimSlateIcon,
Folder01Icon,
Image03Icon,
@@ -46,6 +45,7 @@ import {
TestTube01Icon,
ApiIcon,
Clock01Icon,
+ Download01Icon,
} from "@hugeicons/core-free-icons";
import { AiSpeechIcon } from "@/lib/hugeicons-derived";
import { HugeiconsIcon } from "@hugeicons/react";
@@ -135,7 +135,7 @@ const WORKSPACES: {
},
{
id: "switchToExport",
- icon: DownloadSquare01Icon,
+ icon: Download01Icon,
labelKey: "shell.navigation.export",
aliases: ["gguf", "checkpoint"],
},
diff --git a/studio/frontend/src/components/floating-monitor.tsx b/studio/frontend/src/components/floating-monitor.tsx
index c2130b51586..e7aa0505646 100644
--- a/studio/frontend/src/components/floating-monitor.tsx
+++ b/studio/frontend/src/components/floating-monitor.tsx
@@ -24,7 +24,7 @@ import {
} from "@/lib/floating-panel-order";
import { cn } from "@/lib/utils";
import { useRouterState } from "@tanstack/react-router";
-import { CpuIcon, GripVerticalIcon, XIcon } from "lucide-react";
+import { CpuIcon, GripVerticalIcon } from "lucide-react";
import { AnimatePresence, motion } from "motion/react";
import { useEffect, useRef, useState, useSyncExternalStore } from "react";
@@ -41,6 +41,8 @@ import {
getFloatingMonitorLayout,
} from "./floating-monitor-layout";
import { useUiSpaceScale } from "@/hooks/use-ui-space-scale";
+import { Cancel01Icon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
function clampPercent(value: number): number {
return Math.max(0, Math.min(100, value));
@@ -340,7 +342,7 @@ function FloatingMonitorPanel({
title={t("common.close")}
aria-label={t("common.close")}
>
- <XIcon className="size-3" />
+ <HugeiconsIcon icon={Cancel01Icon} className="size-3" />
</Button>
</div>
</div>
diff --git a/studio/frontend/src/components/llama-update-banner.tsx b/studio/frontend/src/components/llama-update-banner.tsx
index 127d7ca8aa8..260e5cf91fc 100644
--- a/studio/frontend/src/components/llama-update-banner.tsx
+++ b/studio/frontend/src/components/llama-update-banner.tsx
@@ -31,7 +31,6 @@ import {
} from "@/lib/llama-job-lifecycle";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
-import { Download, X } from "lucide-react";
import {
type CSSProperties,
type MouseEvent,
@@ -41,6 +40,8 @@ import {
useRef,
useState,
} from "react";
+import { Download01Icon, Cancel01Icon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
// cap for interpolation between coarse backend progress updates.
const RUNNING_CAP = 0.95;
@@ -493,11 +494,11 @@ export function LlamaUpdateBanner({
className="absolute right-3 top-3 flex size-7 items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"
data-testid="llama-update-close-button"
>
- <X aria-hidden="true" className="size-4" strokeWidth={2} />
+ <HugeiconsIcon icon={Cancel01Icon} aria-hidden="true" className="size-4" strokeWidth={2} />
</button>
)}
<div className="flex min-w-0 shrink-0 items-start gap-4 pr-6">
- <Download
+ <HugeiconsIcon icon={Download01Icon}
aria-hidden="true"
className="mt-1 size-5 shrink-0 text-foreground"
strokeWidth={1.75}
diff --git a/studio/frontend/src/components/tauri/update-banner.tsx b/studio/frontend/src/components/tauri/update-banner.tsx
index 2d65098161b..73577ef9893 100644
--- a/studio/frontend/src/components/tauri/update-banner.tsx
+++ b/studio/frontend/src/components/tauri/update-banner.tsx
@@ -13,7 +13,8 @@ import type {
import type { CopySupportDiagnosticsResult } from "@/lib/tauri-diagnostics";
import { cn } from "@/lib/utils";
import { useT } from "@/i18n";
-import { CircleAlert, Download } from "lucide-react";
+import { AlertCircleIcon, Download01Icon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
import { AnimatePresence, motion } from "motion/react";
import { useState } from "react";
@@ -76,7 +77,7 @@ export function UpdateBanner({
: isExternalServer;
const currentVersion = formatVersion(info?.currentVersion);
const latestVersion = formatVersion(info?.version);
- const Icon = showFailure ? CircleAlert : Download;
+ const icon = showFailure ? AlertCircleIcon : Download01Icon;
const notesTargetVersion = info?.version?.replace(LEADING_V, "") ?? null;
const notesOpen =
notesTargetVersion !== null && notesVersion === notesTargetVersion;
@@ -148,7 +149,8 @@ export function UpdateBanner({
</button>
<div className="flex min-w-0 shrink-0 items-start gap-4 pr-6">
- <Icon
+ <HugeiconsIcon
+ icon={icon}
aria-hidden="true"
className="mt-1 size-5 shrink-0 text-foreground"
strokeWidth={1.75}
diff --git a/studio/frontend/src/components/ui/breadcrumb.tsx b/studio/frontend/src/components/ui/breadcrumb.tsx
index 287dcd32c54..9bc60a156f5 100644
--- a/studio/frontend/src/components/ui/breadcrumb.tsx
+++ b/studio/frontend/src/components/ui/breadcrumb.tsx
@@ -6,10 +6,8 @@ import { Slot } from "radix-ui";
import type * as React from "react";
import { cn } from "@/lib/utils";
-import {
- MoreHorizontalCircle01Icon,
-} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
+import { MoreHorizontalIcon } from "@hugeicons/core-free-icons";
function Breadcrumb({ className, ...props }: React.ComponentProps<"nav">) {
return (
@@ -109,7 +107,7 @@ function BreadcrumbEllipsis({
)}
{...props}
>
- <HugeiconsIcon icon={MoreHorizontalCircle01Icon} strokeWidth={2} />
+ <HugeiconsIcon icon={MoreHorizontalIcon} strokeWidth={2} />
<span className="sr-only">More</span>
</span>
);
diff --git a/studio/frontend/src/components/ui/pagination.tsx b/studio/frontend/src/components/ui/pagination.tsx
index f2f4662e2a6..704b632e960 100644
--- a/studio/frontend/src/components/ui/pagination.tsx
+++ b/studio/frontend/src/components/ui/pagination.tsx
@@ -6,10 +6,8 @@ import type * as React from "react";
import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";
-import {
- MoreHorizontalCircle01Icon,
-} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
+import { MoreHorizontalIcon } from "@hugeicons/core-free-icons";
function Pagination({ className, ...props }: React.ComponentProps<"nav">) {
return (
@@ -121,7 +119,7 @@ function PaginationEllipsis({
)}
{...props}
>
- <HugeiconsIcon icon={MoreHorizontalCircle01Icon} strokeWidth={2} />
+ <HugeiconsIcon icon={MoreHorizontalIcon} strokeWidth={2} />
<span className="sr-only">More pages</span>
</span>
);
diff --git a/studio/frontend/src/components/ui/sonner.tsx b/studio/frontend/src/components/ui/sonner.tsx
index 2b2ab83616a..933dee9941f 100644
--- a/studio/frontend/src/components/ui/sonner.tsx
+++ b/studio/frontend/src/components/ui/sonner.tsx
@@ -5,7 +5,7 @@ import {
Alert02Icon,
CheckmarkCircle02Icon,
InformationCircleIcon,
- MultiplicationSignCircleIcon,
+ CancelCircleIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useTheme } from "@/features/settings/stores/theme-store";
@@ -73,7 +73,7 @@ const Toaster = ({ ...props }: ToasterProps) => {
),
error: (
<HugeiconsIcon
- icon={MultiplicationSignCircleIcon}
+ icon={CancelCircleIcon}
strokeWidth={2}
className="size-4"
/>
diff --git a/studio/frontend/src/components/web/update-banner.tsx b/studio/frontend/src/components/web/update-banner.tsx
index f84f3f0e560..cc7d1796968 100644
--- a/studio/frontend/src/components/web/update-banner.tsx
+++ b/studio/frontend/src/components/web/update-banner.tsx
@@ -9,9 +9,10 @@ import { useWebUpdateCheck } from "@/hooks/use-web-update-check";
import { isTauri } from "@/lib/api-base";
import { copyToClipboard } from "@/lib/copy-to-clipboard";
import { cn } from "@/lib/utils";
-import { Download } from "lucide-react";
import { AnimatePresence, motion } from "motion/react";
import { type ReactElement, useEffect, useRef, useState } from "react";
+import { Download01Icon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
// macOS, Linux and WSL update via the POSIX installer; only native Windows (PowerShell) needs the
// irm one-liner. Any non-windows device_type (incl. wsl) resolves to the curl command below.
@@ -134,7 +135,7 @@ export function WebUpdateBanner({
</button>
<div className="flex min-w-0 shrink-0 items-start gap-4 pr-6">
- <Download
+ <HugeiconsIcon icon={Download01Icon}
aria-hidden="true"
className="mt-1 size-5 shrink-0 text-foreground"
strokeWidth={1.75}
diff --git a/studio/frontend/src/features/api-monitor/api-monitor-overlay.tsx b/studio/frontend/src/features/api-monitor/api-monitor-overlay.tsx
index c7c6de8c7c1..3a07eed10e1 100644
--- a/studio/frontend/src/features/api-monitor/api-monitor-overlay.tsx
+++ b/studio/frontend/src/features/api-monitor/api-monitor-overlay.tsx
@@ -23,10 +23,10 @@ import {
ExpandIcon,
DragDropVerticalIcon,
ApiIcon,
+ Cancel01Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useNavigate, useRouterState } from "@tanstack/react-router";
-import { XIcon } from "lucide-react";
import { AnimatePresence, motion, useIsPresent } from "motion/react";
import { type ReactElement, useEffect, useMemo, useRef, useState } from "react";
import { isLifecycleEntry, lifecycleLabel } from "./lifecycle";
@@ -467,7 +467,7 @@ function ApiMonitorPanel({
aria-label="Close API monitor"
className="flex size-7 items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-nav-surface-hover hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring"
>
- <XIcon className="size-3.5" strokeWidth={1.75} />
+ <HugeiconsIcon icon={Cancel01Icon} className="size-3.5" strokeWidth={1.75} />
</button>
</div>
</div>
diff --git a/studio/frontend/src/features/api-monitor/api-monitor-page.tsx b/studio/frontend/src/features/api-monitor/api-monitor-page.tsx
index d76266012d5..7774f4b0d56 100644
--- a/studio/frontend/src/features/api-monitor/api-monitor-page.tsx
+++ b/studio/frontend/src/features/api-monitor/api-monitor-page.tsx
@@ -53,7 +53,6 @@ import {
FileSearchIcon,
FlashIcon,
PauseIcon,
- PlayIcon,
PlusSignIcon,
Refresh01Icon,
RemoveCircleIcon,
@@ -108,6 +107,7 @@ import {
filterEntries,
useApiMonitor,
} from "./use-api-monitor";
+import { PlayIcon } from "lucide-react";
const API_INFERENCE_PREFIX_RE = /^\/api\/inference/;
const V1_PREFIX_RE = /^\/v1\//;
@@ -1788,11 +1788,15 @@ export function ApiMonitorPage(): ReactElement {
"bg-amber-500/10 text-amber-700 hover:bg-amber-500/15 dark:text-amber-500",
)}
>
- <HugeiconsIcon
- icon={paused ? PlayIcon : PauseIcon}
- strokeWidth={1.75}
- className="size-4"
- />
+ {paused ? (
+ <PlayIcon strokeWidth={1.75} className="size-4" />
+ ) : (
+ <HugeiconsIcon
+ icon={PauseIcon}
+ strokeWidth={1.75}
+ className="size-4"
+ />
+ )}
</Button>
</ToolbarTooltip>
<ToolbarTooltip label="Refresh">
diff --git a/studio/frontend/src/features/audio/components/ab-compare.tsx b/studio/frontend/src/features/audio/components/ab-compare.tsx
index 8075e370a4a..f9a3cced5fc 100644
--- a/studio/frontend/src/features/audio/components/ab-compare.tsx
+++ b/studio/frontend/src/features/audio/components/ab-compare.tsx
@@ -4,7 +4,7 @@
import { Button } from "@/components/ui/button";
import { PillTabs } from "@/features/model-picker/components/model-selector/pill-tabs";
import { cn } from "@/lib/utils";
-import { PauseIcon, PlayIcon } from "@hugeicons/core-free-icons";
+import { PauseIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { type Ref, useCallback, useEffect, useRef, useState } from "react";
import { fetchAudioBlob } from "../api";
@@ -18,6 +18,7 @@ import {
} from "./ab-compare-state";
import { PlaybackTime, WaveformBarGlyphs } from "./waveform";
import { computePeaks, formatSeconds } from "./waveform-peaks";
+import { PlayIcon } from "lucide-react";
const SEEK_STEP_SECONDS = 5;
// Decoding holds every sample in memory; past this the bars stay flat.
@@ -189,10 +190,11 @@ export function ABCompare({
disabled={!src}
onClick={toggle}
>
- <HugeiconsIcon
- icon={ab.playing ? PauseIcon : PlayIcon}
- className="size-3.5"
- />
+ {ab.playing ? (
+ <HugeiconsIcon icon={PauseIcon} className="size-3.5" />
+ ) : (
+ <PlayIcon className="size-3.5" />
+ )}
</Button>
<div
role="slider"
diff --git a/studio/frontend/src/features/audio/components/clip-card.tsx b/studio/frontend/src/features/audio/components/clip-card.tsx
index a31e83fddf0..17030dabc40 100644
--- a/studio/frontend/src/features/audio/components/clip-card.tsx
+++ b/studio/frontend/src/features/audio/components/clip-card.tsx
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
-import { Download01Icon, SentIcon, StopIcon } from "@hugeicons/core-free-icons";
+import { Download01Icon, StopIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import type { ReactNode } from "react";
import { Button } from "@/components/ui/button";
@@ -16,6 +16,7 @@ import { formatRelativeShort } from "@/features/hub/lib/format";
import { audioModelLabel, formatClipDuration } from "../audio-workspace-utils";
import { AUDIO_WORKFLOWS, type AudioWorkflowId } from "../workflows";
import { Waveform } from "./waveform";
+import { ArrowUpIcon } from "lucide-react";
export type ClipSendHandlers = Partial<Record<AudioWorkflowId, () => void>>;
@@ -33,8 +34,7 @@ export function ClipSendToMenu({ handlers }: { handlers: ClipSendHandlers }) {
return (
<DropdownMenuSub>
<DropdownMenuSubTrigger>
- <HugeiconsIcon
- icon={SentIcon}
+ <ArrowUpIcon
strokeWidth={1.75}
className="size-icon"
/>
diff --git a/studio/frontend/src/features/audio/components/stem-mixer.tsx b/studio/frontend/src/features/audio/components/stem-mixer.tsx
index afbc04fe1fa..3fbb597bc7f 100644
--- a/studio/frontend/src/features/audio/components/stem-mixer.tsx
+++ b/studio/frontend/src/features/audio/components/stem-mixer.tsx
@@ -18,8 +18,6 @@ import {
Download01Icon,
HeadphonesIcon,
PauseIcon,
- PlayIcon,
- SentIcon,
VolumeHighIcon,
VolumeOffIcon,
} from "@hugeicons/core-free-icons";
@@ -41,6 +39,7 @@ import {
import type { StemMixerProps } from "./stem-mixer-types";
import { WaveformBars } from "./waveform";
import { formatSeconds } from "./waveform-peaks";
+import { ArrowUpIcon, PlayIcon } from "lucide-react";
const SEEK_STEP_SECONDS = 5;
@@ -149,10 +148,11 @@ export function StemMixer({
disabled={!ready}
onClick={toggle}
>
- <HugeiconsIcon
- icon={playing ? PauseIcon : PlayIcon}
- className="size-3.5"
- />
+ {playing ? (
+ <HugeiconsIcon icon={PauseIcon} className="size-3.5" />
+ ) : (
+ <PlayIcon className="size-3.5" />
+ )}
</Button>
<span className="shrink-0 font-mono text-ui-11p5 tabular-nums text-muted-foreground">
{formatSeconds(position)} / {formatSeconds(duration)}
@@ -175,8 +175,7 @@ export function StemMixer({
<DropdownMenu>
<DropdownMenuTrigger asChild={true}>
<Button type="button" variant="outline" size="sm">
- <HugeiconsIcon
- icon={SentIcon}
+ <ArrowUpIcon
strokeWidth={1.75}
data-icon="inline-start"
/>
diff --git a/studio/frontend/src/features/audio/components/voice-picker.tsx b/studio/frontend/src/features/audio/components/voice-picker.tsx
index 03f31d845f6..8cc5fe3b6e2 100644
--- a/studio/frontend/src/features/audio/components/voice-picker.tsx
+++ b/studio/frontend/src/features/audio/components/voice-picker.tsx
@@ -15,8 +15,6 @@ import {
MoreHorizontalIcon,
PauseIcon,
PencilEdit02Icon,
- PlayIcon,
- Tick02Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { BlobUrlCache } from "@/lib/blob-url-cache";
@@ -25,6 +23,8 @@ import { type AudioVoice, fetchAudioBlob } from "../api";
import { useAudioVoicesStore } from "../stores/audio-voices-store";
import { SaveVoiceDialog } from "./save-voice-dialog";
import { formatSeconds } from "./waveform-peaks";
+import { Tick02Icon } from "@/lib/tick-icon";
+import { PlayIcon } from "lucide-react";
// About 20 saved voices (30 s of 24 kHz mono each); older previews re-fetch.
const voiceUrls = new BlobUrlCache(32 * 1024 * 1024);
@@ -167,10 +167,11 @@ export function VoicePicker({
}
onClick={() => void togglePlay(voice)}
>
- <HugeiconsIcon
- icon={playing ? PauseIcon : PlayIcon}
- className="size-3.5"
- />
+ {playing ? (
+ <HugeiconsIcon icon={PauseIcon} className="size-3.5" />
+ ) : (
+ <PlayIcon className="size-3.5" />
+ )}
</Button>
<button
type="button"
diff --git a/studio/frontend/src/features/audio/components/waveform.tsx b/studio/frontend/src/features/audio/components/waveform.tsx
index 8aa02274f13..c537668bc4c 100644
--- a/studio/frontend/src/features/audio/components/waveform.tsx
+++ b/studio/frontend/src/features/audio/components/waveform.tsx
@@ -3,7 +3,7 @@
import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";
-import { PauseIcon, PlayIcon } from "@hugeicons/core-free-icons";
+import { PauseIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import {
type CSSProperties,
@@ -18,6 +18,7 @@ import {
useState,
} from "react";
import { formatSeconds, resamplePeaks } from "./waveform-peaks";
+import { PlayIcon } from "lucide-react";
const SEEK_STEP_SECONDS = 5;
const BAR_GAP_PX = 2;
@@ -151,10 +152,11 @@ export function Waveform({
disabled={!src}
onClick={toggle}
>
- <HugeiconsIcon
- icon={playing ? PauseIcon : PlayIcon}
- className="size-3.5"
- />
+ {playing ? (
+ <HugeiconsIcon icon={PauseIcon} className="size-3.5" />
+ ) : (
+ <PlayIcon className="size-3.5" />
+ )}
</Button>
{overlay !== undefined || tailS > 0 ? (
<div className="relative flex h-[calc(32px*var(--ui-space-scale,1))] min-w-0 flex-1">
diff --git a/studio/frontend/src/features/audio/pages/transcribe-page.tsx b/studio/frontend/src/features/audio/pages/transcribe-page.tsx
index 0dfd8c948e2..17119969181 100644
--- a/studio/frontend/src/features/audio/pages/transcribe-page.tsx
+++ b/studio/frontend/src/features/audio/pages/transcribe-page.tsx
@@ -20,7 +20,6 @@ import { cn } from "@/lib/utils";
import {
Copy01Icon,
Download01Icon,
- SentIcon,
StopIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
@@ -60,6 +59,7 @@ import {
GenerateActions,
type GenerateBlocker,
} from "./tts-workspace";
+import { ArrowUpIcon } from "lucide-react";
// Radix Select cannot hold an empty value, so "detect" travels as this.
const AUTO = "__auto__";
@@ -348,7 +348,7 @@ export function TranscribeOutput({
<DropdownMenu>
<DropdownMenuTrigger asChild={true}>
<Button variant="secondary" size="sm">
- <HugeiconsIcon icon={SentIcon} className="mr-2 size-3.5" />
+ <ArrowUpIcon className="mr-2 size-3.5" />
Send to
</Button>
</DropdownMenuTrigger>
diff --git a/studio/frontend/src/features/auth/components/auth-form.tsx b/studio/frontend/src/features/auth/components/auth-form.tsx
index ff96e41100e..bc37ef336de 100644
--- a/studio/frontend/src/features/auth/components/auth-form.tsx
+++ b/studio/frontend/src/features/auth/components/auth-form.tsx
@@ -11,7 +11,6 @@ import { MascotImg } from "@/components/mascot-img";
import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import { Link, useNavigate } from "@tanstack/react-router";
-import { Eye, EyeOff } from "lucide-react";
import { useEffect, useRef, useState } from "react";
import type { ReactElement } from "react";
import type { SyntheticEvent } from "react";
@@ -40,6 +39,8 @@ import {
setMustChangePassword,
storeAuthTokens,
} from "../session";
+import { ViewIcon, ViewOffSlashIcon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
type AuthMode = "login" | "change-password";
@@ -435,9 +436,9 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
onClick={() => setShowPassword((prev) => !prev)}
>
{showPassword ? (
- <EyeOff className="h-4 w-4" />
+ <HugeiconsIcon icon={ViewOffSlashIcon} className="h-4 w-4" />
) : (
- <Eye className="h-4 w-4" />
+ <HugeiconsIcon icon={ViewIcon} className="h-4 w-4" />
)}
</Button>
</div>
@@ -471,9 +472,9 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
onClick={() => setShowPassword((prev) => !prev)}
>
{showPassword ? (
- <EyeOff className="h-4 w-4" />
+ <HugeiconsIcon icon={ViewOffSlashIcon} className="h-4 w-4" />
) : (
- <Eye className="h-4 w-4" />
+ <HugeiconsIcon icon={ViewIcon} className="h-4 w-4" />
)}
</Button>
</div>
@@ -508,9 +509,9 @@ export function AuthForm({ mode }: AuthFormProps): ReactElement | null {
onClick={() => setShowNewPassword((prev) => !prev)}
>
{showNewPassword ? (
- <EyeOff className="h-4 w-4" />
+ <HugeiconsIcon icon={ViewOffSlashIcon} className="h-4 w-4" />
) : (
- <Eye className="h-4 w-4" />
+ <HugeiconsIcon icon={ViewIcon} className="h-4 w-4" />
)}
</Button>
</div>
diff --git a/studio/frontend/src/features/browser/browser-panel.tsx b/studio/frontend/src/features/browser/browser-panel.tsx
index 91045b9f9d8..8f2c17290ba 100644
--- a/studio/frontend/src/features/browser/browser-panel.tsx
+++ b/studio/frontend/src/features/browser/browser-panel.tsx
@@ -98,7 +98,6 @@ import {
ArrowLeft,
ArrowRight,
ShieldCheck,
- XIcon,
} from "lucide-react";
import { useNavigate } from "@tanstack/react-router";
import {
@@ -994,7 +993,7 @@ function SiteIdentity({ address, tab }: { address: string; tab: BrowserTab | und
className={iconButton}
onClick={() => setOpen(false)}
>
- <XIcon strokeWidth={2} className="size-4" />
+ <HugeiconsIcon icon={Cancel01Icon} strokeWidth={2} className="size-4" />
</button>
</div>
<div className="mx-3 h-px bg-border" />
diff --git a/studio/frontend/src/features/browser/video-file.tsx b/studio/frontend/src/features/browser/video-file.tsx
index e737fcaa9f5..26d330bf541 100644
--- a/studio/frontend/src/features/browser/video-file.tsx
+++ b/studio/frontend/src/features/browser/video-file.tsx
@@ -20,13 +20,13 @@ import {
ArrowShrink01Icon,
MoreHorizontalIcon,
PauseIcon,
- PlayIcon,
VolumeHighIcon,
VolumeMute02Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { type KeyboardEvent, useEffect, useRef, useState } from "react";
import { canCopyVideoFrame, copyVideoFrame, registerTabVideo } from "./video-registry";
+import { PlayIcon } from "lucide-react";
const RATES = [0.5, 0.75, 1, 1.25, 1.5, 2] as const;
const SEEK_SECONDS = 5;
@@ -205,7 +205,7 @@ export function VideoFile({
{playing ? (
<HugeiconsIcon icon={PauseIcon} strokeWidth={1.75} className="size-4.5" />
) : (
- <HugeiconsIcon icon={PlayIcon} strokeWidth={1.75} className="size-4.5" />
+ <PlayIcon strokeWidth={1.75} className="size-4.5" />
)}
</button>
<input
diff --git a/studio/frontend/src/features/chat/artifacts/html-frame.tsx b/studio/frontend/src/features/chat/artifacts/html-frame.tsx
index 53f840a0f11..c69d06411fc 100644
--- a/studio/frontend/src/features/chat/artifacts/html-frame.tsx
+++ b/studio/frontend/src/features/chat/artifacts/html-frame.tsx
@@ -23,10 +23,10 @@ import { cn } from "@/lib/utils";
import {
Alert02Icon,
Cancel01Icon,
- MultiplicationSignCircleIcon,
+ CancelCircleIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { BanIcon, XIcon } from "lucide-react";
+import { BanIcon } from "lucide-react";
import {
type RefObject,
useCallback,
@@ -483,7 +483,7 @@ export function ArtifactHtmlFrame({
aria-label={errorTitle}
className={NOTICE}
>
- <HugeiconsIcon icon={MultiplicationSignCircleIcon} strokeWidth={2} className="size-4" />
+ <HugeiconsIcon icon={CancelCircleIcon} strokeWidth={2} className="size-4" />
<AlertAction className="top-2 end-2">
<Button
size="icon-xs"
@@ -581,7 +581,7 @@ export function ArtifactHtmlFrame({
aria-label={t("settings.chat.artifacts.consoleClose")}
onClick={() => onConsoleOpenChange?.(false)}
>
- <XIcon />
+ <HugeiconsIcon icon={Cancel01Icon} />
</Button>
</TooltipTrigger>
<TooltipContent side="bottom" className="tooltip-compact">
diff --git a/studio/frontend/src/features/chat/chat-mcp-servers-dialog.tsx b/studio/frontend/src/features/chat/chat-mcp-servers-dialog.tsx
index 7b4d5f368b2..0ed7846a6b3 100644
--- a/studio/frontend/src/features/chat/chat-mcp-servers-dialog.tsx
+++ b/studio/frontend/src/features/chat/chat-mcp-servers-dialog.tsx
@@ -5,9 +5,9 @@ import {
Delete02Icon,
Edit03Icon,
PlusSignIcon,
+ Upload01Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { UploadIcon } from "lucide-react";
import {
type ChangeEvent,
useCallback,
@@ -971,7 +971,7 @@ export function ChatMcpServersDialog({
disabled={importing || formPending}
title="Import servers from a mcpServers JSON config (Claude Desktop, Cursor, VS Code…)"
>
- {importing ? <Spinner /> : <UploadIcon className="size-3.5" />}
+ {importing ? <Spinner /> : <HugeiconsIcon icon={Upload01Icon} className="size-3.5" />}
Import config
</Button>
</div>
@@ -1210,7 +1210,7 @@ export function ChatMcpServersDialog({
disabled={importing}
title="Import servers from a mcpServers JSON config (Claude Desktop, Cursor, VS Code…)"
>
- {importing ? <Spinner /> : <UploadIcon className="size-3.5" />}
+ {importing ? <Spinner /> : <HugeiconsIcon icon={Upload01Icon} className="size-3.5" />}
Import config
</Button>
<Button variant="secondary" size="sm" onClick={startCreate} disabled={importing}>
diff --git a/studio/frontend/src/features/chat/chat-providers-dialog.tsx b/studio/frontend/src/features/chat/chat-providers-dialog.tsx
index 81c6e0f2c34..52426bdcd5d 100644
--- a/studio/frontend/src/features/chat/chat-providers-dialog.tsx
+++ b/studio/frontend/src/features/chat/chat-providers-dialog.tsx
@@ -40,12 +40,12 @@ import {
Edit03Icon,
PlusSignIcon,
Wifi02Icon,
+ ViewIcon,
+ ViewOffSlashIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import {
ArrowLeftIcon,
- Eye,
- EyeOff,
} from "lucide-react";
import { AnimatePresence, motion, useReducedMotion } from "motion/react";
import { useEffect, useMemo, useRef, useState } from "react";
@@ -1680,9 +1680,9 @@ export function ChatProvidersSettings({
aria-pressed={showApiKey}
>
{showApiKey ? (
- <Eye className="size-3.5" />
+ <HugeiconsIcon icon={ViewIcon} className="size-3.5" />
) : (
- <EyeOff className="size-3.5" />
+ <HugeiconsIcon icon={ViewOffSlashIcon} className="size-3.5" />
)}
</button>
{editingProviderHasSavedKey ? (
diff --git a/studio/frontend/src/features/chat/chat-settings-sheet.tsx b/studio/frontend/src/features/chat/chat-settings-sheet.tsx
index 78ffb1c31b1..60cf237c91b 100644
--- a/studio/frontend/src/features/chat/chat-settings-sheet.tsx
+++ b/studio/frontend/src/features/chat/chat-settings-sheet.tsx
@@ -66,9 +66,9 @@ import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { toast } from "@/lib/toast";
import { cornerInsets, watchChatSettingsInset } from "@/lib/toast-offset";
import { cn } from "@/lib/utils";
-import { Edit03Icon, PanelRightIcon } from "@hugeicons/core-free-icons";
+import { Edit03Icon, PanelRightIcon, LinkSquare02Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { Braces, ExternalLink } from "lucide-react";
+import { Braces } from "lucide-react";
import { Tooltip as TooltipPrimitive } from "radix-ui";
import { type CSSProperties, Fragment, type ReactNode } from "react";
import {
@@ -365,7 +365,7 @@ function CollapsibleSection({
className="inline-flex cursor-pointer items-center gap-1 leading-none transition-colors hover:text-nav-fg"
>
<span>{label}</span>
- <ExternalLink className="size-3" />
+ <HugeiconsIcon icon={LinkSquare02Icon} className="size-3" />
</a>
<button
type="button"
diff --git a/studio/frontend/src/features/chat/components/deep-research-composer-button.tsx b/studio/frontend/src/features/chat/components/deep-research-composer-button.tsx
index fab9720120b..093ffde8a9d 100644
--- a/studio/frontend/src/features/chat/components/deep-research-composer-button.tsx
+++ b/studio/frontend/src/features/chat/components/deep-research-composer-button.tsx
@@ -2,7 +2,7 @@
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
import { Button } from "@/components/ui/button";
-import { Telescope02Icon } from "@hugeicons/core-free-icons";
+import { Telescope02Icon, Cancel01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import {
Dialog,
@@ -16,7 +16,6 @@ import { Input } from "@/components/ui/input";
import { Switch } from "@/components/ui/switch";
import { cn } from "@/lib/utils";
import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
-import { XIcon } from "lucide-react";
import {
type Dispatch,
type KeyboardEvent,
@@ -135,7 +134,7 @@ function DomainList({
onChange(values.filter((value) => value !== domain))
}
>
- <XIcon className="size-3" />
+ <HugeiconsIcon icon={Cancel01Icon} className="size-3" />
</button>
</span>
))}
@@ -306,7 +305,7 @@ export function DeepResearchComposerButton({
className="composer-pill-glyph cursor-pointer"
>
<HugeiconsIcon icon={Telescope02Icon} className="size-[calc(15px*var(--ui-space-scale,1))]" />
- <XIcon className="composer-pill-x" />
+ <HugeiconsIcon icon={Cancel01Icon} className="composer-pill-x" />
</span>
<span>Deep research</span>
{/* Same caret as the other composer pills, so the arrows match. */}
diff --git a/studio/frontend/src/features/chat/components/openai-code-exec-section.tsx b/studio/frontend/src/features/chat/components/openai-code-exec-section.tsx
index b131e78edfc..a8cfff08f6d 100644
--- a/studio/frontend/src/features/chat/components/openai-code-exec-section.tsx
+++ b/studio/frontend/src/features/chat/components/openai-code-exec-section.tsx
@@ -26,7 +26,6 @@ import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
import { Delete02Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { PlusIcon } from "lucide-react";
import {
createOpenAIContainer,
deleteOpenAIContainer,
@@ -43,6 +42,7 @@ import {
updateStoredChatThread,
} from "../utils/chat-history-storage";
import { RefreshGlyph } from "@/lib/refresh-icon";
+import { PlusSignIcon } from "@hugeicons/core-free-icons";
const DEFAULT_TTL_MINUTES = 20;
const TTL_MIN = 1;
@@ -599,7 +599,7 @@ export function OpenAICodeExecSection({
onClick={() => setCreateOpen(true)}
disabled={!hasCredential}
>
- <PlusIcon className="size-3.5 mr-1" />
+ <HugeiconsIcon icon={PlusSignIcon} className="size-3.5 mr-1" />
New container
</Button>
)}
diff --git a/studio/frontend/src/features/chat/components/research-activity-panel.tsx b/studio/frontend/src/features/chat/components/research-activity-panel.tsx
index ef8bc526277..4a0e1189716 100644
--- a/studio/frontend/src/features/chat/components/research-activity-panel.tsx
+++ b/studio/frontend/src/features/chat/components/research-activity-panel.tsx
@@ -35,16 +35,15 @@ import {
DashedLineCircleIcon as CircleDashedIcon,
Delete02Icon,
Telescope02Icon,
+ LinkSquare02Icon,
+ Edit03Icon,
+ PlusSignIcon,
+ Cancel01Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import {
ArrowDown,
- ArrowUp,
- Check,
- ExternalLink,
- Pencil,
- Plus,
- X,
+ ArrowUpIcon,
} from "lucide-react";
import {
useCallback,
@@ -72,6 +71,7 @@ import {
useResearchRunStore,
} from "../stores/research-run-store";
import type { ResearchRunStatus } from "../types/research";
+import { Tick02Icon } from "@/lib/tick-icon";
const terminalStatuses = new Set<ResearchRunStatus>([
"completed",
@@ -317,7 +317,7 @@ function ActivityIcon({
const className = "size-3.5";
if (activity.state === "running") return <Spinner className={className} />;
if (activity.state === "failed")
- return <X className={cn(className, "text-destructive")} />;
+ return <HugeiconsIcon icon={Cancel01Icon} className={cn(className, "text-destructive")} />;
if (activity.state === "cancelled")
return (
<HugeiconsIcon
@@ -331,7 +331,7 @@ function ActivityIcon({
if (activity.kind === "report") return <FileGlyph className={className} />;
if (activity.action === "fetch" || activity.action === "search")
return <InternetGlyph className={className} />;
- return <Check className={className} />;
+ return <HugeiconsIcon icon={Tick02Icon} className={className} />;
}
const ActivityRow = memo(function ActivityRow({
@@ -452,7 +452,7 @@ const ActivityRow = memo(function ActivityRow({
</span>
) : null}
</span>
- <ExternalLink className="mt-0.5 size-3 opacity-0 transition-opacity group-hover/source:opacity-100" />
+ <HugeiconsIcon icon={LinkSquare02Icon} className="mt-0.5 size-3 opacity-0 transition-opacity group-hover/source:opacity-100" />
</button>
))}
{activity.evidenceSources?.map((source) => (
@@ -648,7 +648,7 @@ function PlanReview({ runId }: { runId: string }): ReactElement | null {
disabled={index === 0}
aria-label={`Move step ${index + 1} up`}
>
- <ArrowUp />
+ <ArrowUpIcon />
</Button>
<Button
variant="ghost"
@@ -721,7 +721,7 @@ function PlanReview({ runId }: { runId: string }): ReactElement | null {
});
}}
>
- <Plus /> Add step
+ <HugeiconsIcon icon={PlusSignIcon} /> Add step
</Button>
</div>
) : (
@@ -760,7 +760,7 @@ function PlanReview({ runId }: { runId: string }): ReactElement | null {
variant="outline"
onClick={() => setEditing(runId, !editing)}
>
- <Pencil /> {editing ? "Preview plan" : "Edit plan"}
+ <HugeiconsIcon icon={Edit03Icon} /> {editing ? "Preview plan" : "Edit plan"}
</Button>
<div className="flex flex-col-reverse gap-2 sm:flex-row">
<Button variant="ghost" onClick={() => setOpen(runId, false)}>
@@ -951,7 +951,7 @@ export function ResearchActivityPanel({
onClick={onClose}
aria-label="Close research activity"
>
- <X />
+ <HugeiconsIcon icon={Cancel01Icon} />
</Button>
</div>
{session.connection === "reconnecting" ? (
diff --git a/studio/frontend/src/features/chat/components/research-message.tsx b/studio/frontend/src/features/chat/components/research-message.tsx
index bab67c591f7..791ff8cc2fa 100644
--- a/studio/frontend/src/features/chat/components/research-message.tsx
+++ b/studio/frontend/src/features/chat/components/research-message.tsx
@@ -11,9 +11,8 @@ import { Button } from "@/components/ui/button";
import { Spinner } from "@/components/ui/spinner";
import { cn } from "@/lib/utils";
import { useAuiState } from "@assistant-ui/react";
-import { Telescope02Icon } from "@hugeicons/core-free-icons";
+import { Telescope02Icon, Alert02Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { Check, TriangleAlert } from "lucide-react";
import { type ReactElement, useEffect } from "react";
import {
ensureResearchRunFollowed,
@@ -26,6 +25,7 @@ import type { ResearchMessageMetadata } from "../types/research";
import { researchReplyOwnsRun } from "../utils/research-run-binding";
import { researchCitation } from "../utils/research-citations";
import { researchStatusLabel } from "./research-activity-panel";
+import { Tick02Icon } from "@/lib/tick-icon";
export function ResearchMessage(): ReactElement | null {
const metadata = useAuiState(
@@ -111,9 +111,9 @@ export function ResearchMessage(): ReactElement | null {
>
<span className="flex size-5 items-center justify-center rounded-full bg-primary/10 text-primary">
{failed ? (
- <TriangleAlert className="size-3" />
+ <HugeiconsIcon icon={Alert02Icon} className="size-3" />
) : (
- <Check className="size-3" />
+ <HugeiconsIcon icon={Tick02Icon} className="size-3" />
)}
</span>
<span>
@@ -159,7 +159,7 @@ export function ResearchMessage(): ReactElement | null {
)}
>
{failed ? (
- <TriangleAlert className="size-4" />
+ <HugeiconsIcon icon={Alert02Icon} className="size-4" />
) : cancelled ? (
<HugeiconsIcon icon={Telescope02Icon} className="size-4" />
) : (
diff --git a/studio/frontend/src/features/chat/mcp-composer-button.tsx b/studio/frontend/src/features/chat/mcp-composer-button.tsx
index a3a95baa588..9e61283a8fe 100644
--- a/studio/frontend/src/features/chat/mcp-composer-button.tsx
+++ b/studio/frontend/src/features/chat/mcp-composer-button.tsx
@@ -3,11 +3,8 @@
import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
import { MenuTickIcon } from "@/lib/tick-icon";
-import { McpServerIcon } from "@hugeicons/core-free-icons";
+import { McpServerIcon, Cancel01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import {
- XIcon,
-} from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
import { toast } from "sonner";
@@ -377,7 +374,7 @@ export function McpComposerButton({
className="size-[calc(15px*var(--ui-space-scale,1))]"
strokeWidth={2}
/>
- <XIcon className="composer-pill-x" />
+ <HugeiconsIcon icon={Cancel01Icon} className="composer-pill-x" />
</span>
<span>MCP</span>
<HugeiconsIcon icon={ChevronDownStandardIcon} strokeWidth={1.5} className="composer-pill-caret size-[calc(15px*var(--ui-space-scale,1))]" />
diff --git a/studio/frontend/src/features/chat/projects-page.tsx b/studio/frontend/src/features/chat/projects-page.tsx
index bacae4643b1..f413ad68682 100644
--- a/studio/frontend/src/features/chat/projects-page.tsx
+++ b/studio/frontend/src/features/chat/projects-page.tsx
@@ -77,9 +77,10 @@ import {
Upload01Icon,
ViewIcon,
ViewOffSlashIcon,
+ MoreHorizontalIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { ArrowDownIcon, MoreHorizontalIcon } from "lucide-react";
+import { ArrowDownIcon } from "lucide-react";
import { MessageCircleIcon } from "@/lib/hugeicons-derived";
import { useNavigate } from "@tanstack/react-router";
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
@@ -883,7 +884,7 @@ export function ProjectsPage() {
aria-label="Project options"
className="absolute right-0 flex size-7 shrink-0 items-center justify-center rounded-full text-muted-foreground transition hover:bg-[rgb(0_0_0_/_calc(0.05*var(--contrast-wash-gain,1)))] hover:text-foreground data-[state=open]:bg-[rgb(0_0_0_/_calc(0.05*var(--contrast-wash-gain,1)))] dark:hover:bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))] dark:data-[state=open]:bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))]"
>
- <MoreHorizontalIcon strokeWidth={1.75} className="size-icon" />
+ <HugeiconsIcon icon={MoreHorizontalIcon} strokeWidth={1.75} className="size-icon" />
</button>
</DropdownMenuTrigger>
<DropdownMenuContent
@@ -990,7 +991,7 @@ export function ProjectsPage() {
aria-label="Chat options"
className="absolute right-0 flex size-7 shrink-0 items-center justify-center rounded-full text-muted-foreground opacity-0 transition hover:bg-[rgb(0_0_0_/_calc(0.05*var(--contrast-wash-gain,1)))] hover:text-foreground focus-visible:opacity-100 group-hover/chat-row:opacity-100 pointer-coarse:opacity-100 data-[state=open]:bg-[rgb(0_0_0_/_calc(0.05*var(--contrast-wash-gain,1)))] data-[state=open]:opacity-100 dark:hover:bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))] dark:data-[state=open]:bg-[rgb(255_255_255_/_calc(0.1*var(--contrast-wash-gain,1)))]"
>
- <MoreHorizontalIcon strokeWidth={1.75} className="size-icon" />
+ <HugeiconsIcon icon={MoreHorizontalIcon} strokeWidth={1.75} className="size-icon" />
</button>
</DropdownMenuTrigger>
<DropdownMenuContent
diff --git a/studio/frontend/src/features/chat/prompt-storage/prompt-storage-dialog.tsx b/studio/frontend/src/features/chat/prompt-storage/prompt-storage-dialog.tsx
index 885b35ae8f1..17882bf8e72 100644
--- a/studio/frontend/src/features/chat/prompt-storage/prompt-storage-dialog.tsx
+++ b/studio/frontend/src/features/chat/prompt-storage/prompt-storage-dialog.tsx
@@ -27,18 +27,18 @@ import {
Delete02Icon,
Download01Icon,
Search01Icon,
+ Cancel01Icon,
+ Edit03Icon,
+ PlusSignIcon,
+ Upload01Icon,
+ ViewIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import {
BookmarkIcon,
- EyeIcon,
LayoutListIcon,
- PencilIcon,
PlayIcon,
- PlusIcon,
RotateCcwIcon,
- UploadIcon,
- XIcon,
} from "lucide-react";
import { MarkdownPreview } from "@/components/markdown/markdown-preview";
import { SortablePromptItems } from "./sortable-prompt-items";
@@ -1772,9 +1772,9 @@ function PromptDetail({
)}
<Button size="sm" variant="outline" onClick={() => setPreview((v) => !v)}>
{preview ? (
- <><PencilIcon className="size-3.5 mr-1" />Edit</>
+ <><HugeiconsIcon icon={Edit03Icon} className="size-3.5 mr-1" />Edit</>
) : (
- <><EyeIcon className="size-3.5 mr-1" />Preview</>
+ <><HugeiconsIcon icon={ViewIcon} className="size-3.5 mr-1" />Preview</>
)}
</Button>
<Button size="sm" variant="outline" disabled={pending || !dirty || !text.trim()} onClick={handleSave}>
@@ -1900,7 +1900,7 @@ function NewPromptForm({
/>
<div className="flex shrink-0 flex-wrap gap-2 justify-end border-t border-border/50 pt-3">
<Button size="sm" variant="ghost" onClick={onClose}>
- <XIcon className="size-3.5 mr-1" />Cancel
+ <HugeiconsIcon icon={Cancel01Icon} className="size-3.5 mr-1" />Cancel
</Button>
<Button size="sm" onClick={handleSave} disabled={creating || !text.trim()}>
<HugeiconsIcon icon={Tick02Icon} strokeWidth={2} className="size-3.5 mr-1" />Save Prompt
@@ -2038,7 +2038,7 @@ function PromptListDetail({
onClick={() => update({ items: [...items, ""] })}
className="flex items-center gap-1.5 self-start text-xs font-medium text-foreground hover:text-foreground/80 transition-colors"
>
- <PlusIcon className="size-3.5" />Add prompt
+ <HugeiconsIcon icon={PlusSignIcon} className="size-3.5" />Add prompt
</button>
)}
</>
@@ -2061,7 +2061,7 @@ function PromptListDetail({
onClick={() => setEditorMounted(true)}
className="flex items-center gap-1.5 self-start text-xs font-medium text-foreground hover:text-foreground/80 transition-colors"
>
- <PencilIcon className="size-3.5" />Edit all {items.length} prompts
+ <HugeiconsIcon icon={Edit03Icon} className="size-3.5" />Edit all {items.length} prompts
</button>
</>
)}
@@ -2118,9 +2118,9 @@ function PromptListDetail({
{editorMounted && (
<Button size="sm" variant="outline" onClick={() => setPreview((v) => !v)}>
{preview ? (
- <><PencilIcon className="size-3.5 mr-1" />Edit</>
+ <><HugeiconsIcon icon={Edit03Icon} className="size-3.5 mr-1" />Edit</>
) : (
- <><EyeIcon className="size-3.5 mr-1" />Preview</>
+ <><HugeiconsIcon icon={ViewIcon} className="size-3.5 mr-1" />Preview</>
)}
</Button>
)}
@@ -2227,12 +2227,12 @@ function NewPromptListForm({
onClick={addItem}
className="flex items-center gap-1.5 self-start text-xs font-medium text-foreground hover:text-foreground/80 transition-colors"
>
- <PlusIcon className="size-3.5" />Add another prompt
+ <HugeiconsIcon icon={PlusSignIcon} className="size-3.5" />Add another prompt
</button>
</div>
<div className="flex shrink-0 flex-wrap gap-2 justify-end border-t border-border/50 pt-3">
<Button size="sm" variant="ghost" onClick={onClose}>
- <XIcon className="size-3.5 mr-1" />Cancel
+ <HugeiconsIcon icon={Cancel01Icon} className="size-3.5 mr-1" />Cancel
</Button>
<Button
size="sm"
@@ -2595,7 +2595,7 @@ export function PromptStorageDialog({
className="gap-1.5 text-xs"
title="Import from JSONL, CSV, or collection JSONL"
>
- <UploadIcon className="size-3.5" />
+ <HugeiconsIcon icon={Upload01Icon} className="size-3.5" />
Import
</Button>
<Button
@@ -2611,7 +2611,7 @@ export function PromptStorageDialog({
<div className="ml-1 h-5 w-px bg-border/60 shrink-0" />
<DialogClose asChild>
<Button variant="ghost" size="icon-sm">
- <XIcon className="size-4" />
+ <HugeiconsIcon icon={Cancel01Icon} className="size-4" />
<span className="sr-only">Close</span>
</Button>
</DialogClose>
@@ -2688,7 +2688,7 @@ export function PromptStorageDialog({
}}
className="btn-fill flex shrink-0 items-center justify-center gap-1.5 rounded-full border border-transparent px-3 py-2 text-xs font-medium text-muted-foreground hover:text-foreground transition-all"
>
- <PlusIcon className="size-3.5" />
+ <HugeiconsIcon icon={PlusSignIcon} className="size-3.5" />
{activeTab === "prompts" ? "New prompt" : "New prompt list"}
{(activeTab === "prompts" ? newPromptStarted : newListStarted) && (
<span
diff --git a/studio/frontend/src/features/chat/prompt-storage/sortable-prompt-items.tsx b/studio/frontend/src/features/chat/prompt-storage/sortable-prompt-items.tsx
index d42e9df5465..11d6090249b 100644
--- a/studio/frontend/src/features/chat/prompt-storage/sortable-prompt-items.tsx
+++ b/studio/frontend/src/features/chat/prompt-storage/sortable-prompt-items.tsx
@@ -5,7 +5,7 @@ import { MarkdownPreview } from "@/components/markdown/markdown-preview";
import { cn } from "@/lib/utils";
import { autoscrollDelta, clipSpan } from "./autoscroll";
import { flipShifts, insertionIndex, ownsDrag } from "./reorder";
-import { GripVerticalIcon, XIcon } from "lucide-react";
+import { GripVerticalIcon } from "lucide-react";
import {
type ReactElement,
useCallback,
@@ -14,6 +14,8 @@ import {
useRef,
useState,
} from "react";
+import { Cancel01Icon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
// Textarea that grows with its content, capped at maxHeight.
export function AutoTextarea({
@@ -387,7 +389,7 @@ export function SortablePromptItems({
className="mt-1.5 flex h-7 w-7 shrink-0 items-center justify-center rounded-full text-muted-foreground hover:bg-destructive/10 hover:text-destructive transition-colors disabled:opacity-30 disabled:cursor-not-allowed"
title="Remove"
>
- <XIcon className="size-3.5" />
+ <HugeiconsIcon icon={Cancel01Icon} className="size-3.5" />
</button>
)}
</div>
diff --git a/studio/frontend/src/features/chat/shared-composer.tsx b/studio/frontend/src/features/chat/shared-composer.tsx
index 56b4b1f3666..954cd220795 100644
--- a/studio/frontend/src/features/chat/shared-composer.tsx
+++ b/studio/frontend/src/features/chat/shared-composer.tsx
@@ -111,11 +111,6 @@ import { useAui } from "@assistant-ui/react";
import {
ArrowUpIcon,
Columns2Icon,
- MoreHorizontalIcon,
- PlusIcon,
- SquareIcon,
- SlidersHorizontalIcon,
- XIcon,
} from "lucide-react";
import {
AttachmentIcon,
@@ -128,6 +123,11 @@ import {
Image03Icon,
McpServerIcon,
Scroll01Icon,
+ MoreHorizontalIcon,
+ PlusSignIcon,
+ StopIcon,
+ SlidersHorizontalIcon,
+ Cancel01Icon,
} from "@hugeicons/core-free-icons";
import { useNavigate } from "@tanstack/react-router";
import { useChatActive } from "./runtime-provider";
@@ -556,7 +556,7 @@ function PendingImageThumb({
className="absolute top-1 right-1 flex size-5 items-center justify-center rounded-full bg-white text-muted-foreground shadow-sm hover:bg-destructive hover:text-destructive-foreground"
aria-label="Remove attachment"
>
- <XIcon className="size-3" />
+ <HugeiconsIcon icon={Cancel01Icon} className="size-3" />
</button>
</div>
);
@@ -590,7 +590,7 @@ function PillGlyph({ children }: { children: ReactNode }) {
return (
<span className="composer-pill-glyph">
{children}
- <XIcon className="composer-pill-x" />
+ <HugeiconsIcon icon={Cancel01Icon} className="composer-pill-x" />
</span>
);
}
@@ -2906,7 +2906,7 @@ export function SharedComposer({
className="flex size-4 items-center justify-center rounded-full hover:bg-destructive hover:text-destructive-foreground"
aria-label="Remove audio"
>
- <XIcon className="size-3" />
+ <HugeiconsIcon icon={Cancel01Icon} className="size-3" />
</button>
</div>
))}
@@ -2960,7 +2960,7 @@ export function SharedComposer({
data-pill-label="Add files and more"
className="unsloth-composer-plus"
>
- <PlusIcon className="size-[calc(22px*var(--ui-space-scale,1))] stroke-[1.75px]" />
+ <HugeiconsIcon icon={PlusSignIcon} className="size-[calc(22px*var(--ui-space-scale,1))] stroke-[1.75px]" />
</button>
</DropdownMenuTrigger>
<DropdownMenuContent
@@ -3062,7 +3062,7 @@ export function SharedComposer({
))}
<DropdownMenuSub>
<DropdownMenuSubTrigger>
- <MoreHorizontalIcon className="size-4" />
+ <HugeiconsIcon icon={MoreHorizontalIcon} className="size-4" />
More
</DropdownMenuSubTrigger>
<DropdownMenuSubContent className="unsloth-plus-menu w-[calc(248px*var(--ui-space-scale,1))]">
@@ -3075,7 +3075,7 @@ export function SharedComposer({
scrollTarget: "chat-composer",
})}
>
- <SlidersHorizontalIcon className="size-4" />
+ <HugeiconsIcon icon={SlidersHorizontalIcon} className="size-4" />
{t("composerSettings.settings")}
</DropdownMenuItem>
</DropdownMenuSubContent>
@@ -3513,7 +3513,7 @@ export function SharedComposer({
>
<Spinner className="size-4" />
<span>{t("settings.voice.dictation.audioUploadTranscribing")}</span>
- <XIcon className="size-3.5" aria-hidden="true" />
+ <HugeiconsIcon icon={Cancel01Icon} className="size-3.5" aria-hidden="true" />
</Button>
) : (
<TooltipIconButton
@@ -3545,7 +3545,7 @@ export function SharedComposer({
: "Stop dictation"
}
>
- <SquareIcon className="composer-glyph-snap size-3.5 animate-pulse fill-current" />
+ <HugeiconsIcon icon={StopIcon} className="composer-glyph-snap size-3.5 animate-pulse fill-current" />
</TooltipIconButton>
)}
</>
@@ -3562,7 +3562,7 @@ export function SharedComposer({
aria-label="Stop prompt queue"
className="btn-fill flex items-center gap-1.5 rounded-full border border-transparent px-2.5 py-1 text-xs font-semibold text-muted-foreground transition-colors hover:text-foreground "
>
- <SquareIcon className="size-2.5 shrink-0 fill-current" />
+ <HugeiconsIcon icon={StopIcon} className="size-2.5 shrink-0 fill-current" />
<span className="tabular-nums">
Stop queue {queueProgress.current}/{queueProgress.total}
</span>
@@ -3577,7 +3577,7 @@ export function SharedComposer({
aria-label="Stop generating"
onClick={stop}
>
- <SquareIcon className="composer-glyph-snap size-3.5 fill-current" />
+ <HugeiconsIcon icon={StopIcon} className="composer-glyph-snap size-3.5 fill-current" />
</Button>
) : (
<TooltipIconButton
diff --git a/studio/frontend/src/features/chat/skills-composer-button.tsx b/studio/frontend/src/features/chat/skills-composer-button.tsx
index 39080a2cb30..2ab905328e6 100644
--- a/studio/frontend/src/features/chat/skills-composer-button.tsx
+++ b/studio/frontend/src/features/chat/skills-composer-button.tsx
@@ -2,9 +2,8 @@
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
-import { Scroll01Icon } from "@hugeicons/core-free-icons";
+import { Scroll01Icon, Cancel01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { XIcon } from "lucide-react";
import { useState } from "react";
import { toast } from "sonner";
@@ -116,7 +115,7 @@ export function SkillsComposerButton({
className="size-[calc(15px*var(--ui-space-scale,1))]"
strokeWidth={2}
/>
- <XIcon className="composer-pill-x" />
+ <HugeiconsIcon icon={Cancel01Icon} className="composer-pill-x" />
</span>
<span>{t("skills.title")}</span>
<HugeiconsIcon
diff --git a/studio/frontend/src/features/export/components/method-picker.tsx b/studio/frontend/src/features/export/components/method-picker.tsx
index 84c44cb0f51..29cb9d9a414 100644
--- a/studio/frontend/src/features/export/components/method-picker.tsx
+++ b/studio/frontend/src/features/export/components/method-picker.tsx
@@ -9,8 +9,8 @@ import {
} from "@/components/ui/tooltip";
import { cn } from "@/lib/utils";
import {
- CheckmarkCircle01Icon,
InformationCircleIcon,
+ CheckmarkCircle02Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { EXPORT_METHODS, type ExportMethod } from "../constants";
@@ -82,7 +82,7 @@ export function MethodPicker({ value, onChange, disabledMethods = [], disabledRe
>
{selected && (
<HugeiconsIcon
- icon={CheckmarkCircle01Icon}
+ icon={CheckmarkCircle02Icon}
className="size-3 text-primary-foreground"
/>
)}
diff --git a/studio/frontend/src/features/export/components/quant-picker.tsx b/studio/frontend/src/features/export/components/quant-picker.tsx
index b115332c3ee..2427be7c7b5 100644
--- a/studio/frontend/src/features/export/components/quant-picker.tsx
+++ b/studio/frontend/src/features/export/components/quant-picker.tsx
@@ -8,9 +8,9 @@ import {
} from "@/components/ui/tooltip";
import { cn } from "@/lib/utils";
import {
- CheckmarkCircle01Icon,
InformationCircleIcon,
LayersIcon,
+ CheckmarkCircle02Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { QUANT_OPTIONS } from "../constants";
@@ -91,7 +91,7 @@ export function QuantPicker({
>
{active && (
<HugeiconsIcon
- icon={CheckmarkCircle01Icon}
+ icon={CheckmarkCircle02Icon}
className="size-3 text-primary"
/>
)}
diff --git a/studio/frontend/src/features/generation-presets/media-generation-preset-control.tsx b/studio/frontend/src/features/generation-presets/media-generation-preset-control.tsx
index 82d7a61957c..4b6797b5105 100644
--- a/studio/frontend/src/features/generation-presets/media-generation-preset-control.tsx
+++ b/studio/frontend/src/features/generation-presets/media-generation-preset-control.tsx
@@ -14,12 +14,12 @@ import { Delete02Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import {
Bookmark,
- Check,
ClipboardPaste,
ImageUp,
} from "lucide-react";
import { Fragment, useState } from "react";
import { DEFAULT_PRESET_NAME } from "./preset-policy";
+import { Tick02Icon } from "@/lib/tick-icon";
interface MediaGenerationPresetControlProps {
kind: "image" | "video";
@@ -185,7 +185,7 @@ export function MediaGenerationPresetControl({
</span>
) : null}
{isActive ? (
- <Check className="size-3.5 shrink-0 text-primary" />
+ <HugeiconsIcon icon={Tick02Icon} className="size-3.5 shrink-0 text-primary" />
) : null}
</button>
</Fragment>
diff --git a/studio/frontend/src/features/hf-auth/hf-token-warning-dialog.tsx b/studio/frontend/src/features/hf-auth/hf-token-warning-dialog.tsx
index 7bf5fef2bb2..c3a08b8e49f 100644
--- a/studio/frontend/src/features/hf-auth/hf-token-warning-dialog.tsx
+++ b/studio/frontend/src/features/hf-auth/hf-token-warning-dialog.tsx
@@ -12,9 +12,10 @@ import {
AlertDialogTitle,
} from "@/components/ui/alert-dialog";
import { Button } from "@/components/ui/button";
-import { AlertTriangle } from "lucide-react";
import { useHfTokenWarningStore } from "./store";
import { useHfTokenRejectedToast } from "./use-hf-token-rejected-toast";
+import { Alert02Icon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
export function HfTokenWarningDialog() {
useHfTokenRejectedToast();
@@ -35,7 +36,7 @@ export function HfTokenWarningDialog() {
<AlertDialogHeader>
<div className="flex items-start gap-3">
<div className="flex size-9 shrink-0 items-center justify-center rounded-full bg-amber-500/10 text-amber-600 dark:text-amber-400">
- <AlertTriangle className="size-5" />
+ <HugeiconsIcon icon={Alert02Icon} className="size-5" />
</div>
<div className="space-y-1 text-left">
<AlertDialogTitle>Hugging Face token is invalid</AlertDialogTitle>
diff --git a/studio/frontend/src/features/hub/catalog/download-card.tsx b/studio/frontend/src/features/hub/catalog/download-card.tsx
index db64cdb66dd..cd5ed7c0c90 100644
--- a/studio/frontend/src/features/hub/catalog/download-card.tsx
+++ b/studio/frontend/src/features/hub/catalog/download-card.tsx
@@ -23,7 +23,6 @@ import {
Refresh01Icon,
Delete02Icon,
Download01Icon,
- PlayIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import {
@@ -40,6 +39,7 @@ import {
downloadActionAriaLabel,
downloadActionLabel,
} from "./use-download-card-state";
+import { PlayIcon } from "lucide-react";
/**
* Shared shell for every download surface (safetensors, GGUF, dataset): card
@@ -123,7 +123,7 @@ export function ModelRunActionButton({
</>
) : (
<>
- <HugeiconsIcon icon={PlayIcon} strokeWidth={1.75} />
+ <PlayIcon strokeWidth={1.75} />
Run
</>
)}
diff --git a/studio/frontend/src/features/hub/catalog/local-on-device-card.tsx b/studio/frontend/src/features/hub/catalog/local-on-device-card.tsx
index 46e96fd3142..2b9e8ea77e1 100644
--- a/studio/frontend/src/features/hub/catalog/local-on-device-card.tsx
+++ b/studio/frontend/src/features/hub/catalog/local-on-device-card.tsx
@@ -23,7 +23,7 @@ import {
Alert02Icon,
Folder01Icon,
LayerIcon,
- Share05Icon,
+ LinkSquare02Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useCallback, useMemo, useState } from "react";
@@ -182,7 +182,7 @@ function BaseModelReference({
}}
>
<HugeiconsIcon
- icon={Share05Icon}
+ icon={LinkSquare02Icon}
strokeWidth={1.75}
className="size-3.5"
/>
diff --git a/studio/frontend/src/features/hub/catalog/model-inspector.tsx b/studio/frontend/src/features/hub/catalog/model-inspector.tsx
index c46d5e5ac29..bb089b53e31 100644
--- a/studio/frontend/src/features/hub/catalog/model-inspector.tsx
+++ b/studio/frontend/src/features/hub/catalog/model-inspector.tsx
@@ -38,7 +38,7 @@ import {
LibrariesIcon,
LicenseIcon,
PackageIcon,
- Share05Icon,
+ LinkSquare02Icon,
} from "@hugeicons/core-free-icons";
import { TextToSpeechIcon } from "@/lib/hugeicons-derived";
import type { IconSvgElement } from "@hugeicons/react";
@@ -86,7 +86,7 @@ function ViewRepositoryButton({
"inline-flex size-6 shrink-0 items-center justify-center rounded-full text-muted-foreground transition-colors";
const icon = (
<HugeiconsIcon
- icon={Share05Icon}
+ icon={LinkSquare02Icon}
strokeWidth={1.75}
className="size-[calc(13px*var(--ui-space-scale,1))]"
/>
diff --git a/studio/frontend/src/features/images/mask-from-text-panel.tsx b/studio/frontend/src/features/images/mask-from-text-panel.tsx
index e21fcad327e..cd16d236622 100644
--- a/studio/frontend/src/features/images/mask-from-text-panel.tsx
+++ b/studio/frontend/src/features/images/mask-from-text-panel.tsx
@@ -1,7 +1,7 @@
// SPDX-License-Identifier: AGPL-3.0-only
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
-import { Cancel01Icon, Download04Icon, Search01Icon } from "@hugeicons/core-free-icons";
+import { Cancel01Icon, Search01Icon, Download01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useCallback, useEffect, useRef, useState } from "react";
@@ -172,7 +172,7 @@ function SegmenterDownloadNotice({
disabled={busy}
onClick={() => void start()}
>
- {busy ? <Spinner className="size-3.5" /> : <HugeiconsIcon icon={Download04Icon} className="size-3.5" />}
+ {busy ? <Spinner className="size-3.5" /> : <HugeiconsIcon icon={Download01Icon} className="size-3.5" />}
{size ? `Download (${size})` : "Download"}
</Button>
) : (
diff --git a/studio/frontend/src/features/images/prompt-enhance-panel.tsx b/studio/frontend/src/features/images/prompt-enhance-panel.tsx
index 949615f5ebf..8ee5c18d638 100644
--- a/studio/frontend/src/features/images/prompt-enhance-panel.tsx
+++ b/studio/frontend/src/features/images/prompt-enhance-panel.tsx
@@ -2,7 +2,7 @@
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
-import { Cancel01Icon, Copy01Icon, Download04Icon, SparklesIcon } from "@hugeicons/core-free-icons";
+import { Cancel01Icon, Copy01Icon, SparklesIcon, Download01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useCallback, useEffect, useRef, useState } from "react";
@@ -171,7 +171,7 @@ function UpsamplerDownloadNotice({
disabled={busy}
onClick={() => void start()}
>
- {busy ? <Spinner className="size-3.5" /> : <HugeiconsIcon icon={Download04Icon} className="size-3.5" />}
+ {busy ? <Spinner className="size-3.5" /> : <HugeiconsIcon icon={Download01Icon} className="size-3.5" />}
{size ? `Download (${size})` : "Download"}
</Button>
) : (
diff --git a/studio/frontend/src/features/interface-zoom/components/interface-zoom.tsx b/studio/frontend/src/features/interface-zoom/components/interface-zoom.tsx
index 44d45a9849a..24816e584a3 100644
--- a/studio/frontend/src/features/interface-zoom/components/interface-zoom.tsx
+++ b/studio/frontend/src/features/interface-zoom/components/interface-zoom.tsx
@@ -20,7 +20,7 @@ import {
import { useT } from "@/i18n";
import { isTauri } from "@/lib/api-base";
import { Z_LAYER } from "@/lib/z-layers";
-import { MinusIcon, PlusIcon } from "lucide-react";
+import { MinusIcon } from "lucide-react";
import { useEffect, useState, useSyncExternalStore } from "react";
import { createPortal } from "react-dom";
import {
@@ -37,6 +37,8 @@ import {
zoomDirectionForKey,
} from "../lib/zoom-chords.ts";
import { createWheelZoomAccumulator, isZoomWheel } from "../lib/zoom-wheel.ts";
+import { PlusSignIcon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
/** Hide delay after the last zoom, paused while hovered or focused. */
export const ZOOM_POPUP_HIDE_MS = 2500;
@@ -135,7 +137,7 @@ function ZoomPopup() {
aria-label={t("shell.zoom.zoomIn")}
title={withChord(t("shell.zoom.zoomIn"), 1)}
>
- <PlusIcon
+ <HugeiconsIcon icon={PlusSignIcon}
strokeWidth={1.75}
className="size-[calc(16px*var(--ui-space-scale,1))]"
/>
diff --git a/studio/frontend/src/features/library/chats/chats-library.tsx b/studio/frontend/src/features/library/chats/chats-library.tsx
index 77edebed48b..ea757891d98 100644
--- a/studio/frontend/src/features/library/chats/chats-library.tsx
+++ b/studio/frontend/src/features/library/chats/chats-library.tsx
@@ -62,7 +62,6 @@ import {
Archive03Icon,
ArchiveRestoreIcon,
Cancel01Icon,
- CheckmarkSquare02Icon,
Delete02Icon,
Folder02Icon,
FolderAddIcon,
@@ -72,6 +71,7 @@ import {
PinIcon,
PinOffIcon,
PlusSignIcon,
+ CheckmarkCircle02Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon, type IconSvgElement } from "@hugeicons/react";
import { useNavigate } from "@tanstack/react-router";
@@ -1611,7 +1611,7 @@ export function ChatsLibrary({
<DropdownMenuItem
onSelect={() => setSelection(new Set(shownChats.map((chat) => chat.id)))}
>
- <HugeiconsIcon icon={CheckmarkSquare02Icon} strokeWidth={1.75} className="size-icon" />
+ <HugeiconsIcon icon={CheckmarkCircle02Icon} strokeWidth={1.75} className="size-icon" />
{t("settings.data.library.selectAll")}
</DropdownMenuItem>
)}
diff --git a/studio/frontend/src/features/library/chats/chats-toolbar.tsx b/studio/frontend/src/features/library/chats/chats-toolbar.tsx
index 7c295674361..a5f651d39fc 100644
--- a/studio/frontend/src/features/library/chats/chats-toolbar.tsx
+++ b/studio/frontend/src/features/library/chats/chats-toolbar.tsx
@@ -21,7 +21,6 @@ import {
PencilEdit02Icon,
PinIcon,
Search01Icon,
- Tick02Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { ArrowDownUpIcon, Columns2Icon, GitBranchIcon } from "lucide-react";
@@ -37,6 +36,7 @@ import {
NO_SECTION,
chatFiltersActive,
} from "./model";
+import { Tick02Icon } from "@/lib/tick-icon";
const ICON = "size-icon";
const MENU_LABEL = "px-3 pb-1 pt-2 text-muted-foreground font-normal";
diff --git a/studio/frontend/src/features/library/components/library-actions.tsx b/studio/frontend/src/features/library/components/library-actions.tsx
index 924b6bf074b..2b9fe85ae55 100644
--- a/studio/frontend/src/features/library/components/library-actions.tsx
+++ b/studio/frontend/src/features/library/components/library-actions.tsx
@@ -17,7 +17,6 @@ import {
ArrowTurnBackwardIcon,
Delete02Icon,
Download01Icon,
- Edit02Icon,
Edit03Icon,
Folder01Icon,
FolderAddIcon,
@@ -123,7 +122,7 @@ export function LibraryActionsMenu({
</DropdownMenuItem>
{item && hasImagePreview(item) && (
<DropdownMenuItem onSelect={() => actions.editImage(item)}>
- <HugeiconsIcon icon={Edit02Icon} strokeWidth={1.75} className={ICON} />
+ <HugeiconsIcon icon={Edit03Icon} strokeWidth={1.75} className={ICON} />
{t("library.menu.editImage")}
</DropdownMenuItem>
)}
diff --git a/studio/frontend/src/features/library/components/library-cards.tsx b/studio/frontend/src/features/library/components/library-cards.tsx
index 7bc22c19212..09f8600a42a 100644
--- a/studio/frontend/src/features/library/components/library-cards.tsx
+++ b/studio/frontend/src/features/library/components/library-cards.tsx
@@ -4,7 +4,7 @@
import { Checkbox } from "@/components/ui/checkbox";
import { useLocale, useT } from "@/i18n";
import { cn } from "@/lib/utils";
-import { Folder01Icon, PauseIcon, PlayIcon } from "@hugeicons/core-free-icons";
+import { Folder01Icon, PauseIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { type ReactNode, type RefObject, useContext, useRef, useState } from "react";
import type { LibraryFolder, LibraryItem } from "../api";
@@ -31,6 +31,7 @@ import {
} from "../surface";
import { CardSelectionContext } from "./card-selection";
import { LibraryActionsMenu } from "./library-actions";
+import { PlayIcon } from "lucide-react";
export const CARD_SURFACE = cn(
RAISED_SURFACE,
@@ -112,7 +113,7 @@ function ImageThumb({
)}
{loaded && fileKind(item) === "video" && (
<span className="pointer-events-none absolute inset-0 m-auto flex aspect-square w-1/4 max-w-10 items-center justify-center rounded-full bg-white/30 text-white backdrop-blur-md dark:bg-black/40">
- <HugeiconsIcon icon={PlayIcon} strokeWidth={2} className="size-1/2 [&_path]:fill-current" />
+ <PlayIcon strokeWidth={2} className="size-1/2 [&_path]:fill-current" />
</span>
)}
</div>
@@ -199,11 +200,15 @@ function PlayButton({ item }: { item: LibraryItem }) {
"absolute bottom-3 left-4 flex size-7 items-center justify-center rounded-full text-foreground outline-none transition-colors hover:bg-muted focus-visible:ring-2 focus-visible:ring-ring dark:hover:bg-neutral-600",
)}
>
- <HugeiconsIcon
- icon={playing ? PauseIcon : PlayIcon}
- strokeWidth={2}
- className="size-3.5 [&_path]:fill-current"
- />
+ {playing ? (
+ <HugeiconsIcon
+ icon={PauseIcon}
+ strokeWidth={2}
+ className="size-3.5 [&_path]:fill-current"
+ />
+ ) : (
+ <PlayIcon strokeWidth={2} className="size-3.5 [&_path]:fill-current" />
+ )}
</button>
);
}
diff --git a/studio/frontend/src/features/library/components/library-preview.tsx b/studio/frontend/src/features/library/components/library-preview.tsx
index 3c44589758e..8792ce54791 100644
--- a/studio/frontend/src/features/library/components/library-preview.tsx
+++ b/studio/frontend/src/features/library/components/library-preview.tsx
@@ -18,7 +18,7 @@ import { MessageCircleIcon } from "@/lib/hugeicons-derived";
import { toast } from "@/lib/toast";
import { useBlocker } from "@tanstack/react-router";
import { cn } from "@/lib/utils";
-import { Download04Icon, PlayIcon } from "@hugeicons/core-free-icons";
+import { Download01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { type ReactNode, useEffect, useMemo, useRef, useState } from "react";
import {
@@ -46,6 +46,7 @@ import { type NoteFormat, type NoteReadOnlyReason, encodeNote } from "../note-te
import { canReveal, revealInFolder, useRevealLabel } from "../reveal";
import { KindIcon } from "./library-cards";
import { UnsavedChangesDialog } from "./library-dialogs";
+import { PlayIcon } from "lucide-react";
const PAGE_SCALES = [0.5, 0.75, 1, 1.25, 1.5, 2];
@@ -273,7 +274,7 @@ function RunStrip({
</Button>
))}
<Button variant="outline" size="sm" className="ml-auto rounded-full px-3" onClick={onDownloadRun}>
- <HugeiconsIcon icon={Download04Icon} strokeWidth={1.75} className="size-4" />
+ <HugeiconsIcon icon={Download01Icon} strokeWidth={1.75} className="size-4" />
{t("library.audio.downloadRun")}
</Button>
</div>
@@ -694,7 +695,7 @@ export function LibraryPreview({
active={!showCode}
onClick={() => setCodeFor(null)}
>
- <HugeiconsIcon icon={PlayIcon} strokeWidth={1.75} className="size-5" />
+ <PlayIcon strokeWidth={1.75} className="size-5" />
</ViewButton>
</div>
)}
diff --git a/studio/frontend/src/features/library/components/library-toolbar.tsx b/studio/frontend/src/features/library/components/library-toolbar.tsx
index 376733f458b..ea3bcc1c2c7 100644
--- a/studio/frontend/src/features/library/components/library-toolbar.tsx
+++ b/studio/frontend/src/features/library/components/library-toolbar.tsx
@@ -23,7 +23,6 @@ import {
Presentation01Icon,
Search01Icon,
Settings02Icon,
- Tick02Icon,
Upload01Icon,
} from "@hugeicons/core-free-icons";
import { type TranslationKey, useT } from "@/i18n";
@@ -37,6 +36,7 @@ import type { LibraryAudioWorkflow } from "../audio-items";
import type { LibraryTypeFilter } from "../file-kind";
import { EMPTY_FILTERS, type LibraryFilters, filtersActive } from "../filters";
import type { LibrarySortKey, LibraryView } from "../settings-store";
+import { Tick02Icon } from "@/lib/tick-icon";
const ICON = "size-icon";
export const ROUND_BUTTON =
diff --git a/studio/frontend/src/features/model-picker/components/saved-run-settings-row.tsx b/studio/frontend/src/features/model-picker/components/saved-run-settings-row.tsx
index 8a203f03679..519312fce02 100644
--- a/studio/frontend/src/features/model-picker/components/saved-run-settings-row.tsx
+++ b/studio/frontend/src/features/model-picker/components/saved-run-settings-row.tsx
@@ -16,7 +16,6 @@ import { cn } from "@/lib/utils";
import {
Delete02Icon,
Edit03Icon,
- Tick02Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import type { MouseEvent, PointerEvent } from "react";
@@ -25,6 +24,7 @@ import {
type SavedRunSettings,
normalizeSavedRunSettingsName,
} from "../model-config/saved-run-settings";
+import { Tick02Icon } from "@/lib/tick-icon";
/** ``target`` is the set being renamed. */
export type RunSettingsNaming =
diff --git a/studio/frontend/src/features/native-intents/components/native-model-chip.tsx b/studio/frontend/src/features/native-intents/components/native-model-chip.tsx
index 61ee6f47a64..faabaea03ec 100644
--- a/studio/frontend/src/features/native-intents/components/native-model-chip.tsx
+++ b/studio/frontend/src/features/native-intents/components/native-model-chip.tsx
@@ -1,9 +1,10 @@
import { revealPathToken } from "../api";
import { useNativeIntentStore } from "../store";
import type { NativeIntent } from "../types";
-import { XIcon } from "lucide-react";
import { useEffect, useState } from "react";
import { toast } from "@/lib/toast";
+import { Cancel01Icon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
interface NativeModelChipProps {
intent: NativeIntent;
@@ -100,7 +101,7 @@ export function NativeModelChip({
className="flex size-5 items-center justify-center rounded-full text-muted-foreground hover:bg-destructive hover:text-destructive-foreground"
aria-label="Dismiss local model"
>
- <XIcon className="size-3" />
+ <HugeiconsIcon icon={Cancel01Icon} className="size-3" />
</button>
</div>
);
diff --git a/studio/frontend/src/features/rag/components/document-status-chip.tsx b/studio/frontend/src/features/rag/components/document-status-chip.tsx
index 5fccdf5c777..496cf6920ba 100644
--- a/studio/frontend/src/features/rag/components/document-status-chip.tsx
+++ b/studio/frontend/src/features/rag/components/document-status-chip.tsx
@@ -4,9 +4,8 @@
import { Badge } from "@/components/assistant-ui/badge";
import { Spinner } from "@/components/ui/spinner";
import { cn } from "@/lib/utils";
-import { FileEmpty02Icon, Folder02Icon } from "@hugeicons/core-free-icons";
+import { FileEmpty02Icon, Folder02Icon, Cancel01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { XIcon } from "lucide-react";
import type { ReactElement, ReactNode } from "react";
import type { DocumentStatus } from "../types/rag";
@@ -115,7 +114,7 @@ export function DocumentStatusChip({
aria-label={`Remove ${filename}`}
className="shrink-0 rounded-full text-muted-foreground hover:text-foreground"
>
- <XIcon className="size-3" />
+ <HugeiconsIcon icon={Cancel01Icon} className="size-3" />
</button>
) : null}
</Badge>
diff --git a/studio/frontend/src/features/rag/components/knowledge-base-composer-button.tsx b/studio/frontend/src/features/rag/components/knowledge-base-composer-button.tsx
index 238edb2bb20..58721a5f5d3 100644
--- a/studio/frontend/src/features/rag/components/knowledge-base-composer-button.tsx
+++ b/studio/frontend/src/features/rag/components/knowledge-base-composer-button.tsx
@@ -2,12 +2,9 @@
// Copyright 2026-present the Unsloth AI Inc. team. All rights reserved. See /studio/LICENSE.AGPL-3.0
import { ChevronDownStandardIcon } from "@/lib/chevron-icons";
-import {
- XIcon,
-} from "lucide-react";
import { Tick02Icon } from "@/lib/tick-icon";
import { HugeiconsIcon } from "@hugeicons/react";
-import { FileDatabaseIcon } from "@hugeicons/core-free-icons";
+import { FileDatabaseIcon, Cancel01Icon } from "@hugeicons/core-free-icons";
import { FileGlyph } from "@/lib/file-icon";
import { useCallback, useEffect, useLayoutEffect, useRef, useState } from "react";
@@ -147,7 +144,7 @@ export function KnowledgeBaseComposerButton({
strokeWidth={2}
className="size-[calc(15px*var(--ui-space-scale,1))]"
/>
- <XIcon className="composer-pill-x" />
+ <HugeiconsIcon icon={Cancel01Icon} className="composer-pill-x" />
</span>
<span>Files</span>
<HugeiconsIcon icon={ChevronDownStandardIcon} strokeWidth={1.5} className="composer-pill-caret size-[calc(15px*var(--ui-space-scale,1))]" />
diff --git a/studio/frontend/src/features/rag/components/knowledge-base-dialog.tsx b/studio/frontend/src/features/rag/components/knowledge-base-dialog.tsx
index d4f1e90268e..9f9758ddeec 100644
--- a/studio/frontend/src/features/rag/components/knowledge-base-dialog.tsx
+++ b/studio/frontend/src/features/rag/components/knowledge-base-dialog.tsx
@@ -6,9 +6,9 @@ import {
Delete02Icon,
Edit03Icon,
PlusSignIcon,
+ Upload01Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { UploadIcon } from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
import {
@@ -483,7 +483,7 @@ function KnowledgeBaseDocuments({
All knowledge bases
</Button>
<Button size="sm" onClick={() => fileInputRef.current?.click()}>
- {uploading ? <Spinner /> : <UploadIcon className="size-3.5" />}
+ {uploading ? <Spinner /> : <HugeiconsIcon icon={Upload01Icon} className="size-3.5" />}
Upload
</Button>
<input
diff --git a/studio/frontend/src/features/rag/components/linked-folders-manager.tsx b/studio/frontend/src/features/rag/components/linked-folders-manager.tsx
index 47918dc1486..53cfe446805 100644
--- a/studio/frontend/src/features/rag/components/linked-folders-manager.tsx
+++ b/studio/frontend/src/features/rag/components/linked-folders-manager.tsx
@@ -25,9 +25,8 @@ import { cn } from "@/lib/utils";
import { isTauri } from "@/lib/api-base";
import { SOURCE_FOLDER_DESCRIPTION, sourceFolderUnavailableMessage } from "./source-folder-copy";
import { RefreshGlyph } from "@/lib/refresh-icon";
-import { FolderAddIcon, FolderSyncIcon } from "@hugeicons/core-free-icons";
+import { FolderAddIcon, FolderSyncIcon, MoreHorizontalIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { MoreHorizontalIcon } from "lucide-react";
import { useState } from "react";
import type {
FolderSyncJob,
@@ -173,7 +172,7 @@ export function LinkedFoldersManager({
{running ? (
<Spinner className="size-3.5" />
) : (
- <MoreHorizontalIcon className="size-4" />
+ <HugeiconsIcon icon={MoreHorizontalIcon} className="size-4" />
)}
</Button>
</DropdownMenuTrigger>
diff --git a/studio/frontend/src/features/rag/components/project-source-dropzone.tsx b/studio/frontend/src/features/rag/components/project-source-dropzone.tsx
index d158da2a061..8124e5116b2 100644
--- a/studio/frontend/src/features/rag/components/project-source-dropzone.tsx
+++ b/studio/frontend/src/features/rag/components/project-source-dropzone.tsx
@@ -9,9 +9,8 @@ import {
} from "@/features/native-intents";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
-import { FileEmpty02Icon, PlusSignIcon } from "@hugeicons/core-free-icons";
+import { FileEmpty02Icon, PlusSignIcon, Cancel01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { XIcon } from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
import {
announceProjectSourcesUpdated,
@@ -430,7 +429,7 @@ export function ProjectSourceDropzone({
}
className="shrink-0 rounded-full text-muted-foreground transition-colors hover:text-foreground disabled:opacity-50"
>
- <XIcon className="size-3.5" />
+ <HugeiconsIcon icon={Cancel01Icon} className="size-3.5" />
</button>
</li>
))}
diff --git a/studio/frontend/src/features/rag/components/thread-documents-bar.tsx b/studio/frontend/src/features/rag/components/thread-documents-bar.tsx
index 7b9d35db485..d33c9f2e730 100644
--- a/studio/frontend/src/features/rag/components/thread-documents-bar.tsx
+++ b/studio/frontend/src/features/rag/components/thread-documents-bar.tsx
@@ -13,7 +13,6 @@ import {
useRef,
useState,
} from "react";
-import { PlusIcon, XIcon } from "lucide-react";
import { HugeiconsIcon } from "@hugeicons/react";
import {
AttachmentIcon,
@@ -21,6 +20,7 @@ import {
Folder02Icon,
FolderAttachmentIcon,
PlusSignIcon,
+ Cancel01Icon,
} from "@hugeicons/core-free-icons";
import {
AttachmentKindIcon,
@@ -545,7 +545,7 @@ function DocumentCard({
)}
>
{/* Inline 12px: the font-scaled svg size rules give 11.25px, an odd inset that sits off centre. */}
- <XIcon className="stroke-[2.5px]" style={{ width: 12, height: 12 }} />
+ <HugeiconsIcon icon={Cancel01Icon} className="stroke-[2.5px]" style={{ width: 12, height: 12 }} />
</button>
) : null;
const wrapDialog = (trigger: ReactElement) =>
@@ -682,7 +682,7 @@ function AddFilesCard({
CARD_SIZE,
)}
>
- <PlusIcon className="size-5 stroke-[1.5px]" />
+ <HugeiconsIcon icon={PlusSignIcon} className="size-5 stroke-[1.5px]" />
Add files
</button>
</div>
@@ -773,7 +773,7 @@ function ChatFilesPanel({
>
{acceptsDrop ? (
<div className="unsloth-files-panel-drop-overlay" aria-hidden={true}>
- <PlusIcon className="size-5" />
+ <HugeiconsIcon icon={PlusSignIcon} className="size-5" />
Drop to chat with these files
</div>
) : null}
@@ -837,7 +837,7 @@ function ChatFilesPanel({
onClick={onClose}
aria-label={closeLabel ?? "Close"}
>
- <XIcon style={HEADER_ICON} />
+ <HugeiconsIcon icon={Cancel01Icon} style={HEADER_ICON} />
</button>
</HeaderTip>
) : null}
diff --git a/studio/frontend/src/features/recipe-studio/components/controls/viewport-controls.tsx b/studio/frontend/src/features/recipe-studio/components/controls/viewport-controls.tsx
index 4fda696a8fe..7b0f72b4f54 100644
--- a/studio/frontend/src/features/recipe-studio/components/controls/viewport-controls.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/controls/viewport-controls.tsx
@@ -10,11 +10,12 @@ import {
Maximize2,
Minimize2,
Minus,
- Plus,
} from "lucide-react";
import { type ReactElement, useCallback } from "react";
import { buildFitViewOptions } from "../../utils/graph/fit-view";
import { RECIPE_FLOATING_ICON_BUTTON_CLASS } from "../recipe-floating-icon-button-class";
+import { PlusSignIcon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
type ViewportControlsProps = {
interactive: boolean;
@@ -59,7 +60,7 @@ export function ViewportControls({
onClick={handleZoomIn}
aria-label="Zoom in"
>
- <Plus className="size-4" />
+ <HugeiconsIcon icon={PlusSignIcon} className="size-4" />
</Button>
<Button
type="button"
diff --git a/studio/frontend/src/features/recipe-studio/components/executions/executions-view.tsx b/studio/frontend/src/features/recipe-studio/components/executions/executions-view.tsx
index 4f640ed8379..e844dc5242c 100644
--- a/studio/frontend/src/features/recipe-studio/components/executions/executions-view.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/executions/executions-view.tsx
@@ -7,7 +7,7 @@ import {
CheckmarkCircle02Icon,
Download01Icon,
Flag02Icon,
- Share08Icon,
+ Share01Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { publishRecipeJob } from "../../api";
@@ -522,7 +522,7 @@ export function ExecutionsView({
variant="outline"
onClick={() => setPublishDialogOpen(true)}
>
- <HugeiconsIcon icon={Share08Icon} className="mr-2 size-4" />
+ <HugeiconsIcon icon={Share01Icon} className="mr-2 size-4" />
Publish to Hugging Face
</Button>
)}
diff --git a/studio/frontend/src/features/recipe-studio/components/recipe-studio-header.tsx b/studio/frontend/src/features/recipe-studio/components/recipe-studio-header.tsx
index 72bd054ecca..06d98c31892 100644
--- a/studio/frontend/src/features/recipe-studio/components/recipe-studio-header.tsx
+++ b/studio/frontend/src/features/recipe-studio/components/recipe-studio-header.tsx
@@ -12,9 +12,9 @@ import {
import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs";
import {
Alert02Icon,
- AlertDiamondIcon,
CookBookIcon,
FloppyDiskIcon,
+ AlertCircleIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { type KeyboardEvent, type ReactElement, useState } from "react";
@@ -168,7 +168,7 @@ export function RecipeStudioHeader({
>
<HugeiconsIcon
icon={
- w.severity === "error" ? AlertDiamondIcon : Alert02Icon
+ w.severity === "error" ? AlertCircleIcon : Alert02Icon
}
className={`mt-0.5 size-3 shrink-0 ${w.severity === "error" ? "text-destructive" : RECIPE_STUDIO_WARNING_ICON_TONE}`}
/>
diff --git a/studio/frontend/src/features/recipe-studio/easy/github-crawler-easy-view.tsx b/studio/frontend/src/features/recipe-studio/easy/github-crawler-easy-view.tsx
index 4ba9dce312f..144efc3a554 100644
--- a/studio/frontend/src/features/recipe-studio/easy/github-crawler-easy-view.tsx
+++ b/studio/frontend/src/features/recipe-studio/easy/github-crawler-easy-view.tsx
@@ -3,13 +3,14 @@
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
-import { GithubIcon, PlayCircleIcon } from "@hugeicons/core-free-icons";
+import { GithubIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { type ReactElement, useEffect, useMemo, useState } from "react";
import { LocalRecipeModelSelector } from "../dialogs/models/local-recipe-model-selector";
import { GithubRepoSeedForm } from "../dialogs/seed/seed-dialog";
import { FieldLabel } from "../dialogs/shared/field-label";
import type { ModelConfig, NodeConfig, SeedConfig } from "../types";
+import { PlayIcon } from "lucide-react";
type GithubCrawlerEasyViewProps = {
configs: Record<string, NodeConfig>;
@@ -232,7 +233,7 @@ export function GithubCrawlerEasyView({
Advanced (drag and drop canvas)
</button>
<Button variant="dark" type="button" size="lg" onClick={onRun} disabled={runLoading}>
- <HugeiconsIcon icon={PlayCircleIcon} className="size-4" />
+ <PlayIcon className="size-4" />
{runLoading ? "Running..." : "Run"}
</Button>
</div>
diff --git a/studio/frontend/src/features/scheduled-tasks/tasks-page.tsx b/studio/frontend/src/features/scheduled-tasks/tasks-page.tsx
index c08338af4f2..d7629eddec4 100644
--- a/studio/frontend/src/features/scheduled-tasks/tasks-page.tsx
+++ b/studio/frontend/src/features/scheduled-tasks/tasks-page.tsx
@@ -9,10 +9,11 @@ import {
PencilEdit02Icon,
Search01Icon,
Clock01Icon,
+ PauseIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useNavigate, useSearch } from "@tanstack/react-router";
-import { PauseIcon, PlayIcon } from "lucide-react";
+import { PlayIcon } from "lucide-react";
import { useEffect, useMemo, useState } from "react";
import { useShallow } from "zustand/react/shallow";
import {
@@ -296,7 +297,7 @@ function TaskRow({
}
>
{task.enabled ? (
- <PauseIcon strokeWidth={1.75} className="size-icon" />
+ <HugeiconsIcon icon={PauseIcon} strokeWidth={1.75} className="size-icon" />
) : (
<PlayIcon strokeWidth={1.75} className="size-icon" />
)}
diff --git a/studio/frontend/src/features/settings/components/archived-chats-dialog.tsx b/studio/frontend/src/features/settings/components/archived-chats-dialog.tsx
index c601fcde9d2..08a509e3d47 100644
--- a/studio/frontend/src/features/settings/components/archived-chats-dialog.tsx
+++ b/studio/frontend/src/features/settings/components/archived-chats-dialog.tsx
@@ -32,8 +32,7 @@ import {
DropdownMenuItem,
DropdownMenuTrigger,
} from "@/components/ui/dropdown-menu";
-import { Delete02Icon } from "@hugeicons/core-free-icons";
-import { MoreHorizontalIcon } from "lucide-react";
+import { Delete02Icon, MoreHorizontalIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useNavigate, useRouterState } from "@tanstack/react-router";
import { useEffect, useMemo, useRef, useState } from "react";
@@ -268,7 +267,7 @@ export function ArchivedChatsView() {
group: group.name,
})}
>
- <MoreHorizontalIcon className="size-4" />
+ <HugeiconsIcon icon={MoreHorizontalIcon} className="size-4" />
</Button>
</DropdownMenuTrigger>
<DropdownMenuContent align="end">
diff --git a/studio/frontend/src/features/settings/components/decision-api-section.tsx b/studio/frontend/src/features/settings/components/decision-api-section.tsx
index c7afff9accb..e70e5ced8ab 100644
--- a/studio/frontend/src/features/settings/components/decision-api-section.tsx
+++ b/studio/frontend/src/features/settings/components/decision-api-section.tsx
@@ -42,7 +42,6 @@ import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
import {
ArrowUpRight01Icon,
- PlayIcon,
TaskDone01Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
@@ -68,6 +67,7 @@ import {
} from "../lib/decision-model-labels";
import { DecisionTryDialog } from "./decision-try-dialog";
import { SettingsRow } from "./settings-row";
+import { PlayIcon } from "lucide-react";
const DOWNLOAD_SCOPE = "systemone";
const DOCS_URL = "https://unsloth.ai/docs/models/decision-laya";
@@ -386,8 +386,7 @@ export function DecisionApiSection(): ReactElement | null {
disabled={!enabled}
onClick={() => setTryOpen(true)}
>
- <HugeiconsIcon
- icon={PlayIcon}
+ <PlayIcon
strokeWidth={2}
className="size-3.5"
/>
diff --git a/studio/frontend/src/features/settings/components/decision-try-dialog.tsx b/studio/frontend/src/features/settings/components/decision-try-dialog.tsx
index 2299b679f4a..0fb99decf22 100644
--- a/studio/frontend/src/features/settings/components/decision-try-dialog.tsx
+++ b/studio/frontend/src/features/settings/components/decision-try-dialog.tsx
@@ -36,7 +36,6 @@ import {
BookOpen01Icon,
Cancel01Icon,
CodeIcon,
- PlayIcon,
SlidersHorizontalIcon,
ViewIcon,
} from "@hugeicons/core-free-icons";
@@ -81,6 +80,7 @@ import {
isClefDecisionModel,
} from "../lib/decision-model-labels";
import { isModEnter, modEnterLabel } from "../lib/keyboard-shortcuts";
+import { type LucideIcon, PlayIcon } from "lucide-react";
const SHORTCUT = modEnterLabel();
@@ -632,14 +632,23 @@ function Notice({
title,
children,
}: {
- icon: IconSvgElement;
+ icon: IconSvgElement | LucideIcon;
title: string;
children?: ReactNode;
}): ReactElement {
+ const Glyph = Array.isArray(icon) ? null : (icon as LucideIcon);
return (
<div className="flex min-h-64 flex-col items-center justify-center gap-3 rounded-xl border border-dashed border-border/70 px-6 py-10 text-center">
<span className="flex size-10 items-center justify-center rounded-full bg-muted text-muted-foreground">
- <HugeiconsIcon icon={icon} strokeWidth={1.75} className="size-4" />
+ {Glyph ? (
+ <Glyph strokeWidth={1.75} className="size-4" />
+ ) : (
+ <HugeiconsIcon
+ icon={icon as IconSvgElement}
+ strokeWidth={1.75}
+ className="size-4"
+ />
+ )}
</span>
<div className="flex max-w-xs flex-col items-center gap-3">
<span className="text-sm font-medium text-foreground">{title}</span>
@@ -1228,11 +1237,7 @@ export function DecisionTryDialog({
{running ? (
<Spinner className="size-4 text-background" />
) : (
- <HugeiconsIcon
- icon={PlayIcon}
- strokeWidth={1.75}
- className="size-4"
- />
+ <PlayIcon strokeWidth={1.75} className="size-4" />
)}
{t("decisions.run")}
<kbd className="rounded-full bg-background/20 px-1.5 py-0.5 font-mono text-ui-10 text-background/90">
diff --git a/studio/frontend/src/features/settings/tabs/data-tab.tsx b/studio/frontend/src/features/settings/tabs/data-tab.tsx
index 50558032ecd..c7f4201d37f 100644
--- a/studio/frontend/src/features/settings/tabs/data-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/data-tab.tsx
@@ -83,7 +83,6 @@ import {
FlimSlateIcon,
Image03Icon,
LibrariesIcon,
- Tick02Icon,
} from "@hugeicons/core-free-icons";
import { AiSpeechIcon, MessageCircleIcon } from "@/lib/hugeicons-derived";
import { HugeiconsIcon } from "@hugeicons/react";
@@ -112,6 +111,7 @@ import {
type FineTuneAction,
useSettingsPanelPrefsStore,
} from "../stores/settings-panel-prefs-store";
+import { Tick02Icon } from "@/lib/tick-icon";
// display order, and the guard against a persisted action this build dropped.
const FINE_TUNE_ACTIONS: FineTuneAction[] = ["export", "train", "recipes"];
diff --git a/studio/frontend/src/features/settings/tabs/debugging-tab.tsx b/studio/frontend/src/features/settings/tabs/debugging-tab.tsx
index 0e9a356de62..d45a9542ba8 100644
--- a/studio/frontend/src/features/settings/tabs/debugging-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/debugging-tab.tsx
@@ -39,7 +39,6 @@ import {
Search01Icon,
Shield01Icon,
TextWrapIcon,
- Tick02Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { ArrowDownIcon } from "lucide-react";
@@ -85,6 +84,7 @@ import {
pendingLogRequestKey,
useSettingsDialogStore,
} from "../stores/settings-dialog-store";
+import { Tick02Icon } from "@/lib/tick-icon";
const MODES: RefreshMode[] = ["live", "3s", "manual"];
diff --git a/studio/frontend/src/features/settings/tabs/general-tab.tsx b/studio/frontend/src/features/settings/tabs/general-tab.tsx
index db4dcd1bc17..92a69c29ecb 100644
--- a/studio/frontend/src/features/settings/tabs/general-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/general-tab.tsx
@@ -43,7 +43,6 @@ import {
} from "@/lib/spellcheck";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
-import { Check, Eye, EyeOff } from "lucide-react";
import { useEffect, useRef, useState } from "react";
import {
type HelperPrecacheSettings,
@@ -95,6 +94,9 @@ import { KEYBOARD_SHORTCUTS_STORAGE_KEY } from "../stores/keyboard-shortcuts-sto
import { INTERFACE_SCALE_STORAGE_KEY } from "../stores/interface-scale-store";
import { SETTINGS_PANEL_PREFS_STORAGE_KEY } from "../stores/settings-panel-prefs-store";
import { CHAT_PROJECT_ATTACHMENT_TARGET_KEY } from "@/features/chat/utils/project-attachment-target";
+import { Tick02Icon } from "@/lib/tick-icon";
+import { HugeiconsIcon } from "@hugeicons/react";
+import { ViewIcon, ViewOffSlashIcon } from "@hugeicons/core-free-icons";
// whisper.cpp rides along with llama.cpp's card, so it has no line of its own.
const UPDATE_REMINDER_CHANNELS: {
@@ -584,7 +586,7 @@ export function GeneralTab() {
role="img"
aria-label={t("settings.general.tokenValidated")}
>
- <Check className="size-4" strokeWidth={2.5} />
+ <HugeiconsIcon icon={Tick02Icon} className="size-4" strokeWidth={2.5} />
</span>
) : null}
<button
@@ -599,9 +601,9 @@ export function GeneralTab() {
tabIndex={-1}
>
{showToken ? (
- <EyeOff className="size-3.5" />
+ <HugeiconsIcon icon={ViewOffSlashIcon} className="size-3.5" />
) : (
- <Eye className="size-3.5" />
+ <HugeiconsIcon icon={ViewIcon} className="size-3.5" />
)}
</button>
</div>
diff --git a/studio/frontend/src/features/settings/tabs/voice-tab.tsx b/studio/frontend/src/features/settings/tabs/voice-tab.tsx
index 82d64c9aba2..e81800d2a03 100644
--- a/studio/frontend/src/features/settings/tabs/voice-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/voice-tab.tsx
@@ -63,12 +63,12 @@ import { MicIcon } from "@/lib/mic-icon";
import { toast } from "@/lib/toast";
import {
Search01Icon,
+ StopIcon,
} from "@hugeicons/core-free-icons";
import { AiSpeechIcon } from "@/lib/hugeicons-derived";
import { Volume02Icon } from "@/lib/volume-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useNavigate } from "@tanstack/react-router";
-import { SquareIcon } from "lucide-react";
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
import { resetMicrophonePermission } from "../api/microphone-permission";
import {
@@ -1932,7 +1932,7 @@ export function VoiceTab() {
</>
) : previewing ? (
<>
- <SquareIcon className="mr-1.5 size-3 animate-pulse fill-current text-destructive" />
+ <HugeiconsIcon icon={StopIcon} className="mr-1.5 size-3 animate-pulse fill-current text-destructive" />
{t("settings.voice.readAloud.stopAction")}
</>
) : (
diff --git a/studio/frontend/src/features/studio/historical-training-view.tsx b/studio/frontend/src/features/studio/historical-training-view.tsx
index 3f5b7c49ecb..1cf7881abc8 100644
--- a/studio/frontend/src/features/studio/historical-training-view.tsx
+++ b/studio/frontend/src/features/studio/historical-training-view.tsx
@@ -12,12 +12,12 @@ import {
useTrainingActions,
} from "@/features/training";
import { translate, useT } from "@/i18n";
-import { PlayIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { type ReactElement, useEffect, useState } from "react";
import { ChartsSection } from "./sections/charts-section";
import { ProgressSection } from "./sections/progress-section";
import { mapRunConfigToOverride } from "./sections/run-config-override";
+import { PlayIcon } from "lucide-react";
type StudioT = ReturnType<typeof useT>;
@@ -211,7 +211,7 @@ export function HistoricalTrainingView({
{resuming ? (
<Spinner className="size-3.5" />
) : (
- <HugeiconsIcon icon={PlayIcon} className="size-3.5" />
+ <PlayIcon className="size-3.5" />
)}
{stopRequested
? t("studio.training.stopping")
diff --git a/studio/frontend/src/features/studio/sections/dataset-upload.tsx b/studio/frontend/src/features/studio/sections/dataset-upload.tsx
index 7e6a1d27051..c4edc092d14 100644
--- a/studio/frontend/src/features/studio/sections/dataset-upload.tsx
+++ b/studio/frontend/src/features/studio/sections/dataset-upload.tsx
@@ -18,10 +18,10 @@ import { useT } from "@/i18n";
import { cn } from "@/lib/utils";
import {
Cancel01Icon,
- CloudUploadIcon,
FileAttachmentIcon,
InformationCircleIcon,
PlusSignIcon,
+ Upload01Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useRef } from "react";
@@ -173,7 +173,7 @@ export function EvaluationDatasetUpload({
{uploads.isUploading ? (
<Spinner className="size-3.5" />
) : (
- <HugeiconsIcon icon={CloudUploadIcon} className="size-3.5" />
+ <HugeiconsIcon icon={Upload01Icon} className="size-3.5" />
)}
{uploads.isUploading
? t("studio.dataset.uploading")
diff --git a/studio/frontend/src/features/studio/sections/token-preview-dialog.tsx b/studio/frontend/src/features/studio/sections/token-preview-dialog.tsx
index 0414a24c598..71b8a3ae2ee 100644
--- a/studio/frontend/src/features/studio/sections/token-preview-dialog.tsx
+++ b/studio/frontend/src/features/studio/sections/token-preview-dialog.tsx
@@ -27,8 +27,10 @@ import { useT } from "@/i18n";
import { copyToClipboard } from "@/lib/copy-to-clipboard";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
-import { CopyIcon, ShuffleIcon, TextSelectIcon } from "lucide-react";
+import { ShuffleIcon, TextSelectIcon } from "lucide-react";
import { type ReactNode, memo, useEffect, useMemo, useState } from "react";
+import { Copy01Icon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
// Neighbouring tokens alternate shades so their boundaries stay visible.
const TRAINED_SHADES = [
@@ -143,7 +145,7 @@ function SampleCard({
className="ml-auto h-6 px-2 text-xs"
onClick={copyIds}
>
- <CopyIcon className="size-3" />
+ <HugeiconsIcon icon={Copy01Icon} className="size-3" />
{t("studio.dataset.tokenPreview.copyIds")}
</Button>
</div>
diff --git a/studio/frontend/src/features/studio/wizard/config-actions.tsx b/studio/frontend/src/features/studio/wizard/config-actions.tsx
index cbb77c27c91..cffae4b6ebe 100644
--- a/studio/frontend/src/features/studio/wizard/config-actions.tsx
+++ b/studio/frontend/src/features/studio/wizard/config-actions.tsx
@@ -23,7 +23,7 @@ import { toast } from "@/lib/toast";
import {
Archive04Icon,
CleanIcon,
- CloudUploadIcon,
+ Upload01Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { type ChangeEvent, useRef } from "react";
@@ -142,7 +142,7 @@ export function ConfigActions() {
className="h-9 cursor-pointer rounded-full"
onClick={() => void handleLoadConfig()}
>
- <HugeiconsIcon icon={CloudUploadIcon} className="size-3.5" />
+ <HugeiconsIcon icon={Upload01Icon} className="size-3.5" />
{t("studio.wizard.loadYaml")}
</Button>
</TooltipTrigger>
diff --git a/studio/frontend/src/features/studio/wizard/training-wizard.tsx b/studio/frontend/src/features/studio/wizard/training-wizard.tsx
index 4c64600a2fa..2b024005f39 100644
--- a/studio/frontend/src/features/studio/wizard/training-wizard.tsx
+++ b/studio/frontend/src/features/studio/wizard/training-wizard.tsx
@@ -36,7 +36,7 @@ import {
AiBrain01Icon,
Database02Icon,
FloppyDiskIcon,
- Settings05Icon,
+ Settings02Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon, type IconSvgElement } from "@hugeicons/react";
import type { CSSProperties, ReactNode } from "react";
@@ -441,7 +441,7 @@ export function TrainingWizard({
<SectionBox
title={t("studio.wizard.paramsTitle")}
description={t("studio.wizard.paramsDescription")}
- icon={Settings05Icon}
+ icon={Settings02Icon}
chipTint="var(--chart-1)"
dataTour="studio-params"
titleAction={
diff --git a/studio/frontend/src/features/tour/components/guided-tour.tsx b/studio/frontend/src/features/tour/components/guided-tour.tsx
index 609f5ddbfe3..1a4b1ce96e4 100644
--- a/studio/frontend/src/features/tour/components/guided-tour.tsx
+++ b/studio/frontend/src/features/tour/components/guided-tour.tsx
@@ -7,7 +7,7 @@ import { cn } from "@/lib/utils";
import { HugeiconsIcon } from "@hugeicons/react";
import {
Cancel01Icon,
- CheckmarkCircle01Icon,
+ CheckmarkCircle02Icon,
} from "@hugeicons/core-free-icons";
import { Dialog as DialogPrimitive } from "radix-ui";
import { AnimatePresence, motion } from "motion/react";
@@ -373,7 +373,7 @@ export function GuidedTour({
className="bg-control-accent text-control-accent-foreground hover:bg-control-accent/90"
onClick={() => requestClose("complete")}
>
- <HugeiconsIcon icon={CheckmarkCircle01Icon} className="size-4" />
+ <HugeiconsIcon icon={CheckmarkCircle02Icon} className="size-4" />
Done
</Button>
) : (
diff --git a/studio/frontend/src/lib/action-bar-icons.ts b/studio/frontend/src/lib/action-bar-icons.ts
index 9ddf33470e2..ab303942896 100644
--- a/studio/frontend/src/lib/action-bar-icons.ts
+++ b/studio/frontend/src/lib/action-bar-icons.ts
@@ -31,15 +31,6 @@ export const ContinueArrowIcon = [
path("M13.25 19.5C13.25 19.5 20.75 13.9764 20.75 12C20.75 10.0235 13.25 4.5 13.25 4.5", "1"),
] as unknown as IconSvgElement;
-// edit-03 at 0.92x: its corner-to-corner diagonal reads larger than the other icons.
-export const EditResponseIcon = [
- path(
- "M4.4393 15.9645L3.72 20.28L8.0356 19.5607C8.785 19.4359 9.4767 19.08 10.0139 18.5427L19.7462 8.8102C20.4579 8.0985 20.4579 6.9445 19.7461 6.2328L17.7672 4.2538C17.0554 3.5421 15.9014 3.5421 15.1895 4.2538L5.4573 13.9863C4.9201 14.5235 4.5642 15.2151 4.4393 15.9645Z",
- "0",
- ),
- path("M13.84 6.48L17.52 10.16", "1"),
-] as unknown as IconSvgElement;
-
// Plain straight chevrons for the branch picker.
export const BranchPrevIcon = [path("M15 6L9 12L15 18", "0")] as unknown as IconSvgElement;
diff --git a/studio/frontend/tests/composer-icon-alignment.test.ts b/studio/frontend/tests/composer-icon-alignment.test.ts
index 4f54b4afb3d..057cfe2ecde 100644
--- a/studio/frontend/tests/composer-icon-alignment.test.ts
+++ b/studio/frontend/tests/composer-icon-alignment.test.ts
@@ -35,8 +35,8 @@ test("every composer send arrow uses the shared sizing class", () => {
test("every isolated composer stop square draws at size-3.5, about a third of its circle", () => {
const stops = componentSources
- .flatMap((source) => tags(source, "SquareIcon"))
- .filter((tag) => /\bsize-3\.5(?![\w.-])/.test(tag));
+ .flatMap((source) => tags(source, "HugeiconsIcon"))
+ .filter((tag) => /icon=\{StopIcon\}/.test(tag) && /\bsize-3\.5(?![\w.-])/.test(tag));
assert.equal(stops.length, 6);
});
diff --git a/studio/frontend/tests/debug-log-export.test.ts b/studio/frontend/tests/debug-log-export.test.ts
index 2ab42f67e33..ac9f9b65d9f 100644
--- a/studio/frontend/tests/debug-log-export.test.ts
+++ b/studio/frontend/tests/debug-log-export.test.ts
@@ -197,6 +197,7 @@ function makeWorld(options: {
},
"@hugeicons/core-free-icons": new Proxy({}, { get: () => ({}) }),
"@hugeicons/react": { HugeiconsIcon: () => null },
+ "@/lib/tick-icon": { Tick02Icon: {} },
"lucide-react": { ArrowDownIcon: () => null },
"../api/debug-logs": api,
"../components/settings-row": {
diff --git a/studio/frontend/tests/file-viewer-polish.test.ts b/studio/frontend/tests/file-viewer-polish.test.ts
index f5a7cc51e5d..0695ab250da 100644
--- a/studio/frontend/tests/file-viewer-polish.test.ts
+++ b/studio/frontend/tests/file-viewer-polish.test.ts
@@ -45,7 +45,9 @@ test("the lightbox backdrop is a faint grey in light mode and near black in dark
test("the video player uses Studio's icons and full screen turns into exit full screen", () => {
const video = read("features/browser/video-file.tsx");
- assert.doesNotMatch(video, /from "lucide-react"/);
+ // Studio's play glyph is lucide's; everything else here stays Hugeicons.
+ assert.match(video, /import \{ PlayIcon \} from "lucide-react";/);
+ assert.doesNotMatch(video, /import \{[^}]*\w[^}]*,[^}]*\} from "lucide-react"/);
assert.match(video, /addEventListener\("fullscreenchange", sync\)/);
assert.match(video, /icon=\{fullscreened \? ArrowShrink01Icon : ArrowExpand01Icon\}/);
assert.match(video, /fullscreened \? t\("browser\.video\.exitFullscreen"\) : t\("browser\.video\.fullscreen"\)/);
diff --git a/studio/frontend/tests/general-settings-token-sync.test.ts b/studio/frontend/tests/general-settings-token-sync.test.ts
index d52363b255f..9a6a3ba2408 100644
--- a/studio/frontend/tests/general-settings-token-sync.test.ts
+++ b/studio/frontend/tests/general-settings-token-sync.test.ts
@@ -156,6 +156,9 @@ function generalTab(initialToken: string) {
cn: (...values: unknown[]) => values.filter(Boolean).join(" "),
},
"lucide-react": componentStub,
+ "@/lib/tick-icon": { Tick02Icon: {} },
+ "@hugeicons/react": { HugeiconsIcon: "HugeiconsIcon" },
+ "@hugeicons/core-free-icons": new Proxy({}, { get: () => ({}) }),
"../api/helper-precache": {
loadHelperPrecacheSettings: never,
updateHelperPrecacheSettings: never,
diff --git a/studio/frontend/tests/login-account-modes.test.ts b/studio/frontend/tests/login-account-modes.test.ts
index a9c4156774c..e3ea72d4d89 100644
--- a/studio/frontend/tests/login-account-modes.test.ts
+++ b/studio/frontend/tests/login-account-modes.test.ts
@@ -135,7 +135,8 @@ function mountForm(
routes.push(to);
},
},
- "lucide-react": { Eye: "Eye", EyeOff: "EyeOff" },
+ "@hugeicons/core-free-icons": { ViewIcon: "ViewIcon", ViewOffSlashIcon: "ViewOffSlashIcon" },
+ "@hugeicons/react": { HugeiconsIcon: "HugeiconsIcon" },
"../api": {
refreshSession: async () => true,
refreshSessionOutcome: async () => session.outcome ?? "ok",
diff --git a/studio/frontend/tests/projects-page-rows.test.ts b/studio/frontend/tests/projects-page-rows.test.ts
index e257af73055..29721fb376c 100644
--- a/studio/frontend/tests/projects-page-rows.test.ts
+++ b/studio/frontend/tests/projects-page-rows.test.ts
@@ -108,7 +108,7 @@ test("the pin and the menu are on show, the disclosure follows the cursor", () =
test("the Updated column names the list's order and turns it around", () => {
assert.ok(!PAGE.includes(">Modified<"), "the old column name is still rendered");
assert.match(PAGE, /\n\s*Updated\n(?:\s*\{\/\*[^\n]*\*\/\}\n)?\s*<ArrowDownIcon/);
- assert.match(PAGE, /import \{ ArrowDownIcon, MoreHorizontalIcon \} from "lucide-react";/);
+ assert.match(PAGE, /import \{ ArrowDownIcon \} from "lucide-react";/);
assert.match(
PAGE,
/onClick=\{\(\) => setSortDir\(\(dir\) => \(dir === "desc" \? "asc" : "desc"\)\)\}/,
diff --git a/studio/frontend/tests/skills-composer-pill.test.ts b/studio/frontend/tests/skills-composer-pill.test.ts
index a428e8f1c74..4dd81c4fb51 100644
--- a/studio/frontend/tests/skills-composer-pill.test.ts
+++ b/studio/frontend/tests/skills-composer-pill.test.ts
@@ -36,7 +36,7 @@ test("unticking every skill keeps the pill; its X and the + menu switch Skills o
assert.equal(skillsSwitchedOn(null, 2), true);
assert.equal(skillsSwitchedOn(true, 0), true);
assert.equal(skillsSwitchedOn(false, 2), false);
- assert.match(PILL, /role="button"[\s\S]*?setSkillsOn\(false\);[\s\S]*?<XIcon className="composer-pill-x" \/>/);
+ assert.match(PILL, /role="button"[\s\S]*?setSkillsOn\(false\);[\s\S]*?<HugeiconsIcon icon=\{Cancel01Icon\} className="composer-pill-x" \/>/);
for (const source of [THREAD, SHARED]) {
assert.match(source, /onSelect=\{\(\) => setSkillsOn\(!skillsOn\)\}/);
}