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: speedometer icon for generation speed on the API page (#15769)

Michael Han52ced465b382
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 dd8cb3b27bf..0f6c7c2f2ed 100644
--- a/studio/frontend/src/features/api-monitor/api-monitor-page.tsx
+++ b/studio/frontend/src/features/api-monitor/api-monitor-page.tsx
@@ -59,7 +59,6 @@ import {
ComputerTerminal01Icon,
Delete02Icon,
FileSearchIcon,
- FlashIcon,
PlusSignIcon,
Refresh01Icon,
RemoveCircleIcon,
@@ -69,6 +68,7 @@ import {
import { Copy01Icon } from "@/lib/copy-icon";
import { PauseIcon } from "@/lib/media-control-icons";
import { ReloadIcon } from "@/lib/reload-icon";
+import { SpeedMeterIcon } from "@/lib/hugeicons-derived";
import { HugeiconsIcon, type IconSvgElement } from "@hugeicons/react";
import {
type CSSProperties,
@@ -642,7 +642,7 @@ const RequestRow = memo(function RequestRow({
{speed ? (
<span className="flex items-center gap-1" title="Generation speed">
<HugeiconsIcon
- icon={FlashIcon}
+ icon={SpeedMeterIcon}
strokeWidth={1.75}
className="size-3"
/>
@@ -1433,7 +1433,7 @@ export function ApiMonitorPage(): ReactElement {
</dl>
<dl className={FACT_CELL}>
{rowStats.tokensPerSecond != null ? (
- <Fact label="Speed" icon={FlashIcon}>
+ <Fact label="Speed" icon={SpeedMeterIcon}>
<span className="tabular-nums">
{rowStats.tokensPerSecond.toFixed(1)} tok/s
</span>
diff --git a/studio/frontend/src/lib/hugeicons-derived.ts b/studio/frontend/src/lib/hugeicons-derived.ts
index 3b8e559812c..d4f6079ad7d 100644
--- a/studio/frontend/src/lib/hugeicons-derived.ts
+++ b/studio/frontend/src/lib/hugeicons-derived.ts
@@ -126,3 +126,11 @@ export function withNoticeDot(icon: IconSvgElement): IconSvgElement {
],
] as unknown as IconSvgElement;
}
+
+// Speedometer: open-bottom dial broken where the needle points; HugeIcons' DashboardSpeed icons are framed or half-dial.
+export const SpeedMeterIcon: IconSvgElement = [
+ ["path", { d: "M4.929 19.571A10 10 0 0 1 16.226 3.437", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "0" }],
+ ["path", { d: "M21.063 8.274A10 10 0 0 1 19.071 19.571", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "1" }],
+ ["circle", { cx: "12", cy: "12.5", r: "2.25", stroke: "currentColor", strokeWidth: "1.5", key: "2" }],
+ ["path", { d: "M13.59 10.91L18.01 6.49", stroke: "currentColor", strokeLinecap: "round", strokeWidth: "1.5", key: "3" }],
+];