Skip to content

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

Studio: use Refresh01Icon and FileEmpty02Icon everywhere (#12331)

Michael Han57a1176ef027
diff --git a/studio/frontend/src/components/assistant-ui/image.tsx b/studio/frontend/src/components/assistant-ui/image.tsx
index ae98da4e94e..d38d4fa6e0f 100644
--- a/studio/frontend/src/components/assistant-ui/image.tsx
+++ b/studio/frontend/src/components/assistant-ui/image.tsx
@@ -12,6 +12,7 @@ import {
isDownloadCancelled,
urlToBlob,
} from "@/lib/native-files";
+import { RefreshGlyph } from "@/lib/refresh-icon";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
import type {
@@ -21,12 +22,7 @@ import type {
import { Copy01Icon, Download01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { type VariantProps, cva } from "class-variance-authority";
-import {
- ImageIcon,
- ImageOffIcon,
- RefreshCwIcon,
- ShieldAlertIcon,
-} from "lucide-react";
+import { ImageIcon, ImageOffIcon, ShieldAlertIcon } from "lucide-react";
import {
type ComponentProps,
type PropsWithChildren,
@@ -381,7 +377,7 @@ function RegenerateButton({
aria-label="Regenerate image"
className="inline-flex size-7 items-center justify-center rounded hover:bg-muted disabled:opacity-50"
>
- <RefreshCwIcon
+ <RefreshGlyph
className={cn("size-4", isRegenerating && "animate-spin")}
/>
</button>
diff --git a/studio/frontend/src/components/assistant-ui/thread.tsx b/studio/frontend/src/components/assistant-ui/thread.tsx
index 2f3359c8652..94a787d39a0 100644
--- a/studio/frontend/src/components/assistant-ui/thread.tsx
+++ b/studio/frontend/src/components/assistant-ui/thread.tsx
@@ -347,6 +347,7 @@ import {
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { Volume02Icon } from "@/lib/volume-icons";
+import { RefreshGlyph } from "@/lib/refresh-icon";
import { useNavigate } from "@tanstack/react-router";
import {
ArrowDownIcon,
@@ -361,7 +362,6 @@ import {
Loader2Icon,
MoreHorizontalIcon,
PlusIcon,
- RefreshCwIcon,
SquareIcon,
TerminalIcon,
XIcon,
@@ -7331,7 +7331,7 @@ const MessageError: FC = () => {
type="button"
className="aui-message-error-retry inline-flex shrink-0 items-center gap-1.5 rounded-md border border-destructive/40 px-2.5 py-1 text-xs font-medium transition-colors hover:bg-destructive/15"
>
- <RefreshCwIcon strokeWidth={1.75} className="size-3.5" />
+ <RefreshGlyph strokeWidth={1.75} className="size-3.5" />
Retry
</button>
</ActionBarPrimitive.Reload>
@@ -8437,7 +8437,7 @@ const AssistantActionBar: FC = () => {
{!researchRunId && !researchActive && (
<ActionBarPrimitive.Reload asChild={true}>
<TooltipIconButton tooltip="Refresh">
- <RefreshCwIcon strokeWidth={1.75} className="size-icon" />
+ <RefreshGlyph strokeWidth={1.75} className="size-icon" />
</TooltipIconButton>
</ActionBarPrimitive.Reload>
)}
diff --git a/studio/frontend/src/components/assistant-ui/tool-ui-code-execution.tsx b/studio/frontend/src/components/assistant-ui/tool-ui-code-execution.tsx
index cbb64bd2516..a00e9d98c36 100644
--- a/studio/frontend/src/components/assistant-ui/tool-ui-code-execution.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-ui-code-execution.tsx
@@ -3,15 +3,16 @@
"use client";
+import { FileGlyph } from "@/lib/file-icon";
import { stringifyToolResult } from "@/lib/strip-ansi";
import {
type ToolCallMessagePartComponent,
useAuiState,
} from "@assistant-ui/react";
-import { FileTextIcon, TerminalIcon } from "lucide-react";
+import { TerminalIcon } from "lucide-react";
import { Spinner } from "@/components/ui/spinner";
import { isToolCallRunning, toolArgText } from "./tool-arg-text";
-import { memo, useMemo } from "react";
+import { type ComponentType, memo, useMemo } from "react";
import { useToolAwaitingApproval } from "@/features/chat";
import {
ToolFallbackContent,
@@ -109,9 +110,9 @@ const CodeExecutionToolUIImpl: ToolCallMessagePartComponent = ({
let runningLabel: string;
let completedLabel: string;
- let Icon = TerminalIcon;
+ let Icon: ComponentType<{ className?: string }> = TerminalIcon;
if (kind === "text_editor") {
- Icon = FileTextIcon;
+ Icon = FileGlyph;
if (command === "view") {
runningLabel = path ? `Viewing ${path}…` : "Viewing file…";
completedLabel = path ? `Viewed ${path}` : "Viewed file";
diff --git a/studio/frontend/src/components/assistant-ui/tool-ui-knowledge-base.tsx b/studio/frontend/src/components/assistant-ui/tool-ui-knowledge-base.tsx
index 7364cfc5d4f..1e1484184c9 100644
--- a/studio/frontend/src/components/assistant-ui/tool-ui-knowledge-base.tsx
+++ b/studio/frontend/src/components/assistant-ui/tool-ui-knowledge-base.tsx
@@ -7,10 +7,11 @@ import {
type ToolCallMessagePartComponent,
useAuiState,
} from "@assistant-ui/react";
-import { FileTextIcon, LibraryBigIcon } from "lucide-react";
+import { LibraryBigIcon } from "lucide-react";
import { Spinner } from "@/components/ui/spinner";
import { useToolAwaitingApproval } from "@/features/chat";
+import { FileGlyph } from "@/lib/file-icon";
import { stringifyToolResult } from "@/lib/strip-ansi";
import { memo, useMemo } from "react";
import { Badge } from "./badge";
@@ -65,7 +66,7 @@ export function CitationBadge({
}`}
>
<span className="tabular-nums text-muted-foreground">{index + 1}</span>
- <FileTextIcon className="size-3 shrink-0" />
+ <FileGlyph className="size-3 shrink-0" />
<span className="truncate">{label}</span>
</Badge>
);
diff --git a/studio/frontend/src/components/resource-picker/picker-states.tsx b/studio/frontend/src/components/resource-picker/picker-states.tsx
index 92504c1a3dd..b9a80748a40 100644
--- a/studio/frontend/src/components/resource-picker/picker-states.tsx
+++ b/studio/frontend/src/components/resource-picker/picker-states.tsx
@@ -3,7 +3,7 @@
import { useT } from "@/i18n";
import { cn } from "@/lib/utils";
-import { RefreshIcon } from "@hugeicons/core-free-icons";
+import { Refresh01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { PICKER_OPTION_FOCUS_VISIBLE_CLASS } from "./picker-focus";
@@ -18,7 +18,7 @@ export function RetryButton({ onRetry }: { onRetry: () => void }) {
PICKER_OPTION_FOCUS_VISIBLE_CLASS,
)}
>
- <HugeiconsIcon icon={RefreshIcon} strokeWidth={1.75} className="size-3" />
+ <HugeiconsIcon icon={Refresh01Icon} strokeWidth={1.75} className="size-3" />
{t("picker.retry")}
</button>
);
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 fe60adb6095..ac187027e4e 100644
--- a/studio/frontend/src/features/api-monitor/api-monitor-page.tsx
+++ b/studio/frontend/src/features/api-monitor/api-monitor-page.tsx
@@ -38,7 +38,7 @@ import {
PauseIcon,
PlayIcon,
PowerSocket01Icon,
- RefreshIcon,
+ Refresh01Icon,
Settings02Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
@@ -774,7 +774,7 @@ export function ApiMonitorPage(): ReactElement {
className="h-9 gap-1.5 rounded-full"
>
<HugeiconsIcon
- icon={RefreshIcon}
+ icon={Refresh01Icon}
strokeWidth={1.75}
className={cn("size-4", refreshing && "animate-spin")}
/>
diff --git a/studio/frontend/src/features/chat/artifacts/artifact-surface.tsx b/studio/frontend/src/features/chat/artifacts/artifact-surface.tsx
index e5e4ce01e9e..c1d11406428 100644
--- a/studio/frontend/src/features/chat/artifacts/artifact-surface.tsx
+++ b/studio/frontend/src/features/chat/artifacts/artifact-surface.tsx
@@ -16,13 +16,14 @@ import { copyToClipboard } from "@/lib/copy-to-clipboard";
import { downloadFile, isDownloadCancelled } from "@/lib/native-files";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
-import { EyeIcon, RotateCwIcon, TerminalIcon, XIcon } from "lucide-react";
+import { EyeIcon, TerminalIcon, XIcon } from "lucide-react";
import {
Copy01Icon,
Download01Icon,
ExpandIcon,
} from "@hugeicons/core-free-icons";
import { Tick02Icon } from "@/lib/tick-icon";
+import { RefreshGlyph } from "@/lib/refresh-icon";
import { HugeiconsIcon } from "@hugeicons/react";
import {
type KeyboardEvent,
@@ -331,7 +332,7 @@ export function ArtifactSurface({
isLoadingArtifact && "cursor-not-allowed opacity-50",
)}
>
- <RotateCwIcon className="size-4" />
+ <RefreshGlyph className="size-4" />
</button>
<button
type="button"
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 f0578bc058d..af329434384 100644
--- a/studio/frontend/src/features/chat/chat-mcp-servers-dialog.tsx
+++ b/studio/frontend/src/features/chat/chat-mcp-servers-dialog.tsx
@@ -7,7 +7,7 @@ import {
PlusSignIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { RefreshCwIcon, UploadIcon } from "lucide-react";
+import { UploadIcon } from "lucide-react";
import {
type ChangeEvent,
useCallback,
@@ -58,6 +58,7 @@ import {
resolveMcpStdioUrl,
} from "./mcp-server-form";
import { BlenderMcpSetup } from "./blender-mcp-setup";
+import { RefreshGlyph } from "@/lib/refresh-icon";
type HeaderRow = { id: string; key: string; value: string };
type ArgumentRow = { id: string; value: string };
@@ -1158,7 +1159,7 @@ export function ChatMcpServersDialog({
{refreshingIds.has(server.id) ? (
<Spinner />
) : (
- <RefreshCwIcon className="size-3.5" />
+ <RefreshGlyph className="size-3.5" />
)}
</Button>
<Button
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 541b5161225..6df15ca0365 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
@@ -24,7 +24,7 @@ import {
} from "@/components/ui/alert-dialog";
import { Button } from "@/components/ui/button";
import { Input } from "@/components/ui/input";
-import { TrashIcon, RefreshCwIcon, PlusIcon } from "lucide-react";
+import { TrashIcon, PlusIcon } from "lucide-react";
import {
createOpenAIContainer,
deleteOpenAIContainer,
@@ -40,6 +40,7 @@ import {
listStoredChatThreads,
updateStoredChatThread,
} from "../utils/chat-history-storage";
+import { RefreshGlyph } from "@/lib/refresh-icon";
const DEFAULT_TTL_MINUTES = 20;
const TTL_MIN = 1;
@@ -440,7 +441,7 @@ export function OpenAICodeExecSection({
disabled={isLoading || !hasCredential}
aria-label="Refresh container list"
>
- <RefreshCwIcon
+ <RefreshGlyph
className={`size-3.5 ${isLoading ? "animate-spin" : ""}`}
/>
</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 6edc2689ba1..439796edc25 100644
--- a/studio/frontend/src/features/chat/components/research-activity-panel.tsx
+++ b/studio/frontend/src/features/chat/components/research-activity-panel.tsx
@@ -28,6 +28,8 @@ import { InternetGlyph } from "@/lib/internet-icon";
import { openLink } from "@/lib/open-link";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
+import { RefreshGlyph } from "@/lib/refresh-icon";
+import { FileGlyph } from "@/lib/file-icon";
import {
DashedLineCircleIcon as CircleDashedIcon,
Telescope02Icon,
@@ -39,10 +41,8 @@ import {
Check,
ChevronDown,
ExternalLink,
- FileText,
Pencil,
Plus,
- RotateCcw,
Trash2,
X,
} from "lucide-react";
@@ -326,8 +326,8 @@ function ActivityIcon({
);
if (activity.kind === "reasoning")
return <BulbIcon className={className} />;
- if (activity.kind === "plan") return <FileText className={className} />;
- if (activity.kind === "report") return <FileText className={className} />;
+ if (activity.kind === "plan") return <FileGlyph className={className} />;
+ if (activity.kind === "report") return <FileGlyph className={className} />;
if (activity.action === "fetch" || activity.action === "search")
return <InternetGlyph className={className} />;
return <Check className={className} />;
@@ -819,7 +819,7 @@ function ResearchActions({ runId }: { runId: string }): ReactElement | null {
disabled={pending}
onClick={() => void retry()}
>
- {pending ? <Spinner /> : <RotateCcw />} Retry research
+ {pending ? <Spinner /> : <RefreshGlyph />} Retry research
</Button>
</div>
);
diff --git a/studio/frontend/src/features/chat/lib/attachment-file-kind.ts b/studio/frontend/src/features/chat/lib/attachment-file-kind.ts
index 986997ef4fe..e8a689bfe32 100644
--- a/studio/frontend/src/features/chat/lib/attachment-file-kind.ts
+++ b/studio/frontend/src/features/chat/lib/attachment-file-kind.ts
@@ -5,7 +5,6 @@
import {
AudioWave01Icon,
- File02Icon,
FileEmpty02Icon,
FlimSlateIcon,
Image02Icon,
@@ -88,12 +87,12 @@ export const ATTACHMENT_KIND_ICONS = {
pdf: Pdf01Icon,
audio: AudioWave01Icon,
video: FlimSlateIcon,
- document: File02Icon,
+ document: FileEmpty02Icon,
spreadsheet: SheetIcon,
presentation: Presentation01Icon,
web: InternetIcon,
code: SourceCodeIcon,
- text: File02Icon,
+ text: FileEmpty02Icon,
archive: Zip02Icon,
file: FileEmpty02Icon,
} as const satisfies Record<AttachmentFileKind, unknown>;
diff --git a/studio/frontend/src/features/hub/catalog/download-card.tsx b/studio/frontend/src/features/hub/catalog/download-card.tsx
index 262a06bca6c..fef8697ea70 100644
--- a/studio/frontend/src/features/hub/catalog/download-card.tsx
+++ b/studio/frontend/src/features/hub/catalog/download-card.tsx
@@ -20,7 +20,7 @@ import {
} from "@/components/ui/tooltip";
import { cn } from "@/lib/utils";
import {
- ArrowReloadHorizontalIcon,
+ Refresh01Icon,
Delete02Icon,
Download01Icon,
PlayIcon,
@@ -189,7 +189,7 @@ export function CardUpdateButton({
className="inline-flex h-7 shrink-0 cursor-pointer items-center gap-1.5 rounded-full bg-amber-500/[0.07] pl-2 pr-2.5 text-ui-12 font-medium text-amber-800/90 transition-colors duration-150 hover:bg-amber-500/[0.12] focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-amber-500/25 dark:bg-amber-400/[0.08] dark:text-amber-200/85 dark:hover:bg-amber-400/[0.16]"
>
<HugeiconsIcon
- icon={ArrowReloadHorizontalIcon}
+ icon={Refresh01Icon}
strokeWidth={2}
className="size-3.5"
/>
@@ -215,7 +215,7 @@ export function CardUpdateButton({
className="inline-flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-full text-muted-foreground opacity-0 transition-[opacity,background-color,color] duration-150 hover:bg-amber-500/10 hover:text-amber-600 focus-visible:opacity-100 group-hover/dl:opacity-100 dark:hover:bg-amber-500/15 dark:hover:text-amber-400"
>
<HugeiconsIcon
- icon={ArrowReloadHorizontalIcon}
+ icon={Refresh01Icon}
strokeWidth={1.75}
className="size-4"
/>
diff --git a/studio/frontend/src/features/hub/catalog/gguf-download-card.tsx b/studio/frontend/src/features/hub/catalog/gguf-download-card.tsx
index fd075833919..7468c2cef65 100644
--- a/studio/frontend/src/features/hub/catalog/gguf-download-card.tsx
+++ b/studio/frontend/src/features/hub/catalog/gguf-download-card.tsx
@@ -30,7 +30,7 @@ import { type GgufFitClass, classifyGgufVariantFit } from "@/lib/gguf-fit";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
import {
- ArrowReloadHorizontalIcon,
+ Refresh01Icon,
Copy01Icon,
Delete02Icon,
Download01Icon,
@@ -1176,7 +1176,7 @@ export function GgufDownloadCard({
className="hub-action-btn ml-1 text-amber-700 dark:text-amber-300"
>
<HugeiconsIcon
- icon={ArrowReloadHorizontalIcon}
+ icon={Refresh01Icon}
strokeWidth={1.75}
/>
Update
diff --git a/studio/frontend/src/features/hub/catalog/on-device-folders-dialog.tsx b/studio/frontend/src/features/hub/catalog/on-device-folders-dialog.tsx
index 79900f0d74d..fbb134a9b3e 100644
--- a/studio/frontend/src/features/hub/catalog/on-device-folders-dialog.tsx
+++ b/studio/frontend/src/features/hub/catalog/on-device-folders-dialog.tsx
@@ -46,7 +46,7 @@ import {
FolderOpenIcon,
FolderSearchIcon,
PlusSignIcon,
- RefreshIcon,
+ Refresh01Icon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useCallback, useEffect, useMemo, useRef, useState } from "react";
@@ -438,7 +438,7 @@ export function OnDeviceFoldersDialog({
className="inline-flex size-7 items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground disabled:opacity-50"
>
<HugeiconsIcon
- icon={RefreshIcon}
+ icon={Refresh01Icon}
strokeWidth={1.75}
className={cn("size-3.5", loading && "animate-spin")}
/>
diff --git a/studio/frontend/src/features/images/images-page.tsx b/studio/frontend/src/features/images/images-page.tsx
index 49b9b74daa0..6c8bc757d33 100644
--- a/studio/frontend/src/features/images/images-page.tsx
+++ b/studio/frontend/src/features/images/images-page.tsx
@@ -16,7 +16,7 @@ import {
ArrowExpand01Icon,
ArrowLeftRightIcon,
ArrowUpDownIcon,
- ArrowReloadHorizontalIcon,
+ Refresh01Icon,
Delete02Icon,
Download01Icon,
Image03Icon,
@@ -1152,7 +1152,7 @@ function RecipePopover({
</div>
<div className="shrink-0 border-t border-border/60 px-3 py-2.5">
<Button size="sm" className="w-full gap-1.5" onClick={() => onRestore(image)}>
- <HugeiconsIcon icon={ArrowReloadHorizontalIcon} className="size-4" />
+ <HugeiconsIcon icon={Refresh01Icon} className="size-4" />
Restore these settings
</Button>
</div>
@@ -5409,7 +5409,7 @@ export function ImagesPage({
disabled={busy !== null}
onClick={handleReapply}
>
- <HugeiconsIcon icon={ArrowReloadHorizontalIcon} className="mr-2 size-4" />
+ <HugeiconsIcon icon={Refresh01Icon} className="mr-2 size-4" />
Reapply
</Button>
</TooltipTrigger>
diff --git a/studio/frontend/src/features/library/components/library-toolbar.tsx b/studio/frontend/src/features/library/components/library-toolbar.tsx
index a5984ba1ca1..403dd378dbe 100644
--- a/studio/frontend/src/features/library/components/library-toolbar.tsx
+++ b/studio/frontend/src/features/library/components/library-toolbar.tsx
@@ -12,7 +12,7 @@ import {
import {
AiEditingIcon,
AudioWave01Icon,
- File02Icon,
+ FileEmpty02Icon,
FilterMailIcon,
FlimSlateIcon,
Folder01Icon,
@@ -57,7 +57,7 @@ const TYPE_OPTIONS: MenuOption<LibraryTypeFilter>[] = [
{ value: "images", label: "library.tabs.images", icon: Image02Icon },
{ value: "videos", label: "library.tabs.videos", icon: FlimSlateIcon },
{ value: "audio", label: "library.tabs.audio", icon: AudioWave01Icon },
- { value: "documents", label: "library.toolbar.documents", icon: File02Icon },
+ { value: "documents", label: "library.toolbar.documents", icon: FileEmpty02Icon },
{ value: "spreadsheets", label: "library.toolbar.spreadsheets", icon: SheetIcon },
{ value: "presentations", label: "library.toolbar.presentations", icon: Presentation01Icon },
{ value: "pdfs", label: "library.toolbar.pdfs", icon: Pdf01Icon },
diff --git a/studio/frontend/src/features/library/file-kind.ts b/studio/frontend/src/features/library/file-kind.ts
index a8ec285171e..1d84cb09fae 100644
--- a/studio/frontend/src/features/library/file-kind.ts
+++ b/studio/frontend/src/features/library/file-kind.ts
@@ -3,7 +3,7 @@
import {
AudioWave01Icon,
- File02Icon,
+ FileEmpty02Icon,
FlimSlateIcon,
Image02Icon,
InternetIcon,
@@ -166,7 +166,7 @@ export const TYPE_FILTER_KINDS: Record<LibraryTypeFilter, LibraryFileKind[]> = {
export const KIND_ICONS: Record<LibraryFileKind, IconSvgElement> = {
image: Image02Icon,
web: InternetIcon,
- document: File02Icon,
+ document: FileEmpty02Icon,
spreadsheet: SheetIcon,
presentation: Presentation01Icon,
pdf: Pdf01Icon,
diff --git a/studio/frontend/src/features/model-picker/components/model-selector/model-row-menu.tsx b/studio/frontend/src/features/model-picker/components/model-selector/model-row-menu.tsx
index 1965cb0a6d3..bf3b0e8ffd9 100644
--- a/studio/frontend/src/features/model-picker/components/model-selector/model-row-menu.tsx
+++ b/studio/frontend/src/features/model-picker/components/model-selector/model-row-menu.tsx
@@ -23,6 +23,7 @@ import {
import { useRevealLabel } from "@/features/library";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
+import { RefreshGlyph } from "@/lib/refresh-icon";
import {
Delete02Icon,
Folder01Icon,
@@ -31,7 +32,6 @@ import {
PinOffIcon,
} from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { RefreshCw } from "lucide-react";
import {
type ReactNode,
useCallback,
@@ -271,7 +271,7 @@ export function ModelRowMenu({
setUpdateOpen(true);
}}
>
- <RefreshCw className="size-icon" />
+ <RefreshGlyph className="size-icon" />
<span>Update</span>
</DropdownMenuItem>
)}
diff --git a/studio/frontend/src/features/rag/components/document-preview-sheet.tsx b/studio/frontend/src/features/rag/components/document-preview-sheet.tsx
index 032da956d19..ee16e86a3dd 100644
--- a/studio/frontend/src/features/rag/components/document-preview-sheet.tsx
+++ b/studio/frontend/src/features/rag/components/document-preview-sheet.tsx
@@ -8,7 +8,6 @@ import { Document, Page, pdfjs } from "react-pdf";
import {
ChevronLeftIcon,
ChevronRightIcon,
- FileTextIcon,
ZoomInIcon,
ZoomOutIcon,
} from "lucide-react";
@@ -23,6 +22,7 @@ import {
} from "@/components/ui/sheet";
import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";
+import { FileGlyph } from "@/lib/file-icon";
import { getDocumentFileUrl, getPreviewTarget } from "../api/rag-api";
import type { PdfRegion, PreviewTarget } from "../types/rag";
import { useDocumentPreviewStore } from "./preview-store";
@@ -433,7 +433,7 @@ export function DocumentPreviewSheet() {
<SheetHeader className="gap-1 border-b p-4">
<div className="relative">
<SheetTitle className="flex items-center gap-2 pr-10 text-sm">
- <FileTextIcon className="size-4 shrink-0" />
+ <FileGlyph className="size-4 shrink-0" />
<span className="min-w-0 truncate">{headerName}</span>
{headerPage != null && (
<span className="shrink-0 text-muted-foreground">
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 c6feabeb646..2f18536d6b0 100644
--- a/studio/frontend/src/features/rag/components/document-status-chip.tsx
+++ b/studio/frontend/src/features/rag/components/document-status-chip.tsx
@@ -4,7 +4,7 @@
import { Badge } from "@/components/assistant-ui/badge";
import { Spinner } from "@/components/ui/spinner";
import { cn } from "@/lib/utils";
-import { File02Icon, Folder02Icon } from "@hugeicons/core-free-icons";
+import { FileEmpty02Icon, Folder02Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { XIcon } from "lucide-react";
import type { DocumentStatus } from "../types/rag";
@@ -57,7 +57,7 @@ export function DocumentStatusChip({
>
{/* file, or folder when the doc is a project-wide source */}
<HugeiconsIcon
- icon={shared ? Folder02Icon : File02Icon}
+ icon={shared ? Folder02Icon : FileEmpty02Icon}
strokeWidth={2}
className="size-3 shrink-0"
/>
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 972368d5400..1598a4ee6bd 100644
--- a/studio/frontend/src/features/rag/components/linked-folders-manager.tsx
+++ b/studio/frontend/src/features/rag/components/linked-folders-manager.tsx
@@ -22,9 +22,10 @@ import {
import { Progress } from "@/components/ui/progress";
import { Spinner } from "@/components/ui/spinner";
import { cn } from "@/lib/utils";
+import { RefreshGlyph } from "@/lib/refresh-icon";
import { FolderAddIcon, FolderSyncIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
-import { MoreHorizontalIcon, RotateCwIcon } from "lucide-react";
+import { MoreHorizontalIcon } from "lucide-react";
import { useState } from "react";
import type { FolderSyncJob, LinkedFolderScope } from "../types/rag";
import { useLinkedFolders } from "./use-linked-folders";
@@ -113,7 +114,7 @@ export function LinkedFoldersManager({
disabled={running}
onSelect={() => void manager.rebuild(folder.id)}
>
- <RotateCwIcon className="size-3.5" /> Rebuild index
+ <RefreshGlyph className="size-3.5" /> Rebuild index
</DropdownMenuItem>
<DropdownMenuSeparator />
<DropdownMenuItem
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 e571e6f3118..726b7d285b8 100644
--- a/studio/frontend/src/features/rag/components/project-source-dropzone.tsx
+++ b/studio/frontend/src/features/rag/components/project-source-dropzone.tsx
@@ -9,7 +9,7 @@ import {
} from "@/features/native-intents";
import { toast } from "@/lib/toast";
import { cn } from "@/lib/utils";
-import { File02Icon, FolderAddIcon } from "@hugeicons/core-free-icons";
+import { FileEmpty02Icon, FolderAddIcon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { XIcon } from "lucide-react";
import { useCallback, useEffect, useRef, useState } from "react";
@@ -402,7 +402,7 @@ export function ProjectSourceDropzone({
className="flex items-center gap-2.5 rounded-[10px] px-2.5 py-2 hover:bg-muted/50"
>
<HugeiconsIcon
- icon={File02Icon}
+ icon={FileEmpty02Icon}
strokeWidth={1.75}
className="size-4 shrink-0 text-muted-foreground"
/>
diff --git a/studio/frontend/src/features/recipe-studio/dialogs/models/local-recipe-model-selector.tsx b/studio/frontend/src/features/recipe-studio/dialogs/models/local-recipe-model-selector.tsx
index 4aa9bbb3c1c..d1b4933bfaa 100644
--- a/studio/frontend/src/features/recipe-studio/dialogs/models/local-recipe-model-selector.tsx
+++ b/studio/frontend/src/features/recipe-studio/dialogs/models/local-recipe-model-selector.tsx
@@ -17,8 +17,9 @@ import {
listLocalModels,
} from "@/features/chat";
import { cn } from "@/lib/utils";
+import { RefreshGlyph } from "@/lib/refresh-icon";
import { Link } from "@tanstack/react-router";
-import { ChevronDownIcon, ChevronRightIcon, RefreshCwIcon } from "lucide-react";
+import { ChevronDownIcon, ChevronRightIcon } from "lucide-react";
import { ggufVariantDisplayLabel } from "@/features/hub";
import {
type ComponentPropsWithoutRef,
@@ -624,7 +625,7 @@ export function LocalRecipeModelSelector({
onClick={requestModelRefresh}
aria-label="Refresh local models"
>
- <RefreshCwIcon className="size-3.5" />
+ <RefreshGlyph className="size-3.5" />
</Button>
</div>
</div>
diff --git a/studio/frontend/src/features/settings/tabs/debugging-tab.tsx b/studio/frontend/src/features/settings/tabs/debugging-tab.tsx
index 0f9fda6b410..cab1673ea66 100644
--- a/studio/frontend/src/features/settings/tabs/debugging-tab.tsx
+++ b/studio/frontend/src/features/settings/tabs/debugging-tab.tsx
@@ -35,7 +35,7 @@ import {
Download01Icon,
FolderOpenIcon,
InformationCircleIcon,
- RefreshIcon,
+ Refresh01Icon,
Search01Icon,
Shield01Icon,
TextWrapIcon,
@@ -596,7 +596,7 @@ export function DebuggingTab() {
void poll();
}}
>
- <HugeiconsIcon strokeWidth={1.75} icon={RefreshIcon} />
+ <HugeiconsIcon strokeWidth={1.75} icon={Refresh01Icon} />
{t("settings.debugging.refreshNow")}
</Button>
</div>
diff --git a/studio/frontend/src/features/studio/wizard/start-training-cta.tsx b/studio/frontend/src/features/studio/wizard/start-training-cta.tsx
index 6188480ffa6..205419b7392 100644
--- a/studio/frontend/src/features/studio/wizard/start-training-cta.tsx
+++ b/studio/frontend/src/features/studio/wizard/start-training-cta.tsx
@@ -11,7 +11,7 @@ import {
import { useT } from "@/i18n";
import { cn } from "@/lib/utils";
import type { DatasetSource } from "@/types/training";
-import { RefreshIcon, Rocket01Icon } from "@hugeicons/core-free-icons";
+import { Refresh01Icon, Rocket01Icon } from "@hugeicons/core-free-icons";
import { HugeiconsIcon } from "@hugeicons/react";
import { useShallow } from "zustand/react/shallow";
import { resolveStartTrainingButtonLabelKey } from "./start-training-cta-state";
@@ -175,7 +175,7 @@ export function StartTrainingCta() {
className="inline-flex shrink-0 items-center gap-1 rounded-md px-1.5 py-0.5 font-medium text-foreground transition-colors hover:bg-[color-mix(in_oklab,var(--foreground)_calc(6%*var(--contrast-wash-gain,1)),transparent)] focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-ring"
>
<HugeiconsIcon
- icon={RefreshIcon}
+ icon={Refresh01Icon}
strokeWidth={1.75}
className="size-3"
/>
diff --git a/studio/frontend/src/features/video/video-page.tsx b/studio/frontend/src/features/video/video-page.tsx
index 5d7c3ca8f23..891eb553572 100644
--- a/studio/frontend/src/features/video/video-page.tsx
+++ b/studio/frontend/src/features/video/video-page.tsx
@@ -5,7 +5,7 @@ import { generationFailureLogsAction } from "@/features/settings/lib/view-logs-a
import { useCallback, useEffect, useMemo, useRef, useState, type ReactNode } from "react";
import {
ArrowExpand01Icon,
- ArrowReloadHorizontalIcon,
+ Refresh01Icon,
Cancel01Icon,
Delete02Icon,
Download01Icon,
@@ -4321,7 +4321,7 @@ function VideoGenerator({
disabled={busy !== null}
onClick={handleReapply}
>
- <HugeiconsIcon icon={ArrowReloadHorizontalIcon} className="mr-2 size-4" />
+ <HugeiconsIcon icon={Refresh01Icon} className="mr-2 size-4" />
Reapply
</Button>
</TooltipTrigger>
diff --git a/studio/frontend/src/lib/file-icon.tsx b/studio/frontend/src/lib/file-icon.tsx
new file mode 100644
index 00000000000..2915d4f26cb
--- /dev/null
+++ b/studio/frontend/src/lib/file-icon.tsx
@@ -0,0 +1,11 @@
+// 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 { FileEmpty02Icon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
+import type { ComponentProps } from "react";
+
+// The file icon as a component, for slots that take one. Stroke 2 matches the lucide icons beside it.
+export const FileGlyph = (
+ props: Omit<ComponentProps<typeof HugeiconsIcon>, "icon">,
+) => <HugeiconsIcon icon={FileEmpty02Icon} strokeWidth={2} {...props} />;
diff --git a/studio/frontend/src/lib/refresh-icon.tsx b/studio/frontend/src/lib/refresh-icon.tsx
new file mode 100644
index 00000000000..bcc06be40d6
--- /dev/null
+++ b/studio/frontend/src/lib/refresh-icon.tsx
@@ -0,0 +1,11 @@
+// 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 { Refresh01Icon } from "@hugeicons/core-free-icons";
+import { HugeiconsIcon } from "@hugeicons/react";
+import type { ComponentProps } from "react";
+
+// The refresh icon as a component, for slots that take one. Stroke 2 matches the lucide icons beside it.
+export const RefreshGlyph = (
+ props: Omit<ComponentProps<typeof HugeiconsIcon>, "icon">,
+) => <HugeiconsIcon icon={Refresh01Icon} strokeWidth={2} {...props} />;