Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

refactor: migrate from Hugeicons to Lucide icons

Naiyuan Qing6037be2efa65
diff --git a/apps/desktop/package.json b/apps/desktop/package.json
index f9411f118d..d09a1e9855 100644
--- a/apps/desktop/package.json
+++ b/apps/desktop/package.json
@@ -13,13 +13,12 @@
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0"
},
"dependencies": {
- "@hugeicons/core-free-icons": "catalog:",
- "@hugeicons/react": "catalog:",
"@multica/core": "workspace:*",
"@multica/hooks": "workspace:*",
"@multica/sdk": "workspace:*",
"@multica/store": "workspace:*",
"@multica/ui": "workspace:*",
+ "lucide-react": "^0.563.0",
"qrcode.react": "^4.2.0",
"react": "catalog:",
"react-dom": "catalog:",
diff --git a/apps/desktop/src/renderer/src/components/agent-settings-dialog.tsx b/apps/desktop/src/renderer/src/components/agent-settings-dialog.tsx
index bcd28a1731..a8223bee95 100644
--- a/apps/desktop/src/renderer/src/components/agent-settings-dialog.tsx
+++ b/apps/desktop/src/renderer/src/components/agent-settings-dialog.tsx
@@ -11,8 +11,7 @@ import { Button } from '@multica/ui/components/ui/button'
import { Input } from '@multica/ui/components/ui/input'
import { Textarea } from '@multica/ui/components/ui/textarea'
import { Label } from '@multica/ui/components/ui/label'
-import { HugeiconsIcon } from '@hugeicons/react'
-import { Loading03Icon } from '@hugeicons/core-free-icons'
+import { Loader2 } from 'lucide-react'
interface AgentSettingsDialogProps {
open: boolean
@@ -72,7 +71,7 @@ export function AgentSettingsDialog({ open, onOpenChange }: AgentSettingsDialogP
{loading ? (
<div className="flex items-center justify-center py-8">
- <HugeiconsIcon icon={Loading03Icon} className="size-6 animate-spin text-muted-foreground" />
+ <Loader2 className="size-6 animate-spin text-muted-foreground" />
</div>
) : (
<div className="space-y-4">
@@ -109,7 +108,7 @@ export function AgentSettingsDialog({ open, onOpenChange }: AgentSettingsDialogP
Cancel
</Button>
<Button onClick={handleSave} disabled={loading || saving}>
- {saving && <HugeiconsIcon icon={Loading03Icon} className="size-4 animate-spin mr-2" />}
+ {saving && <Loader2 className="size-4 animate-spin mr-2" />}
Save
</Button>
</DialogFooter>
diff --git a/apps/desktop/src/renderer/src/components/api-key-dialog.tsx b/apps/desktop/src/renderer/src/components/api-key-dialog.tsx
index d07a4a5dfb..548648533a 100644
--- a/apps/desktop/src/renderer/src/components/api-key-dialog.tsx
+++ b/apps/desktop/src/renderer/src/components/api-key-dialog.tsx
@@ -10,8 +10,7 @@ import {
import { Button } from '@multica/ui/components/ui/button'
import { Input } from '@multica/ui/components/ui/input'
import { Label } from '@multica/ui/components/ui/label'
-import { HugeiconsIcon } from '@hugeicons/react'
-import { Loading03Icon, Key01Icon, Tick02Icon } from '@hugeicons/core-free-icons'
+import { Loader2, Key, Check } from 'lucide-react'
type Phase = 'input' | 'saving' | 'testing' | 'success' | 'error'
@@ -111,7 +110,7 @@ export function ApiKeyDialog({
<DialogContent className="max-w-md">
<DialogHeader>
<DialogTitle className="flex items-center gap-2">
- <HugeiconsIcon icon={Key01Icon} className="size-5" />
+ <Key className="size-5" />
Configure {providerName}
</DialogTitle>
<DialogDescription>
@@ -153,21 +152,21 @@ export function ApiKeyDialog({
{/* Status messages */}
{phase === 'saving' && (
<div className="flex items-center gap-2 text-sm text-muted-foreground">
- <HugeiconsIcon icon={Loading03Icon} className="size-4 animate-spin" />
+ <Loader2 className="size-4 animate-spin" />
Saving API key...
</div>
)}
{phase === 'testing' && (
<div className="flex items-center gap-2 text-sm text-muted-foreground">
- <HugeiconsIcon icon={Loading03Icon} className="size-4 animate-spin" />
+ <Loader2 className="size-4 animate-spin" />
Testing connection...
</div>
)}
{phase === 'success' && (
<div className="flex items-center gap-2 text-sm text-green-600 dark:text-green-400">
- <HugeiconsIcon icon={Tick02Icon} className="size-4" />
+ <Check className="size-4" />
Connected successfully!
</div>
)}
diff --git a/apps/desktop/src/renderer/src/components/cron-job-list.tsx b/apps/desktop/src/renderer/src/components/cron-job-list.tsx
index 26f8d172b6..5fb26718af 100644
--- a/apps/desktop/src/renderer/src/components/cron-job-list.tsx
+++ b/apps/desktop/src/renderer/src/components/cron-job-list.tsx
@@ -1,16 +1,15 @@
import { useState } from 'react'
import { Switch } from '@multica/ui/components/ui/switch'
import { Button } from '@multica/ui/components/ui/button'
-import { HugeiconsIcon } from '@hugeicons/react'
import {
- RotateClockwiseIcon,
- Delete02Icon,
- Loading03Icon,
- Time04Icon,
- CheckmarkCircle02Icon,
- CancelCircleIcon,
- AlertCircleIcon,
-} from '@hugeicons/core-free-icons'
+ RotateCw,
+ Trash2,
+ Loader2,
+ Clock,
+ CheckCircle,
+ XCircle,
+ AlertCircle,
+} from 'lucide-react'
import type { CronJobInfo } from '../stores/cron-jobs'
interface CronJobListProps {
@@ -32,14 +31,14 @@ function StatusBadge({ status }: { status: CronJobInfo['lastStatus'] }) {
}
const config = {
- ok: { icon: CheckmarkCircle02Icon, className: 'text-emerald-600', label: 'ok' },
- error: { icon: CancelCircleIcon, className: 'text-destructive', label: 'error' },
- skipped: { icon: AlertCircleIcon, className: 'text-yellow-600', label: 'skipped' },
+ ok: { Icon: CheckCircle, className: 'text-emerald-600', label: 'ok' },
+ error: { Icon: XCircle, className: 'text-destructive', label: 'error' },
+ skipped: { Icon: AlertCircle, className: 'text-yellow-600', label: 'skipped' },
}[status]
return (
<span className={`flex items-center gap-1 text-xs ${config.className}`}>
- <HugeiconsIcon icon={config.icon} className="size-3.5" />
+ <config.Icon className="size-3.5" />
{config.label}
</span>
)
@@ -101,7 +100,7 @@ export function CronJobList({
if (loading && jobs.length === 0) {
return (
<div className="flex items-center justify-center py-12">
- <HugeiconsIcon icon={Loading03Icon} className="size-6 animate-spin text-muted-foreground" />
+ <Loader2 className="size-6 animate-spin text-muted-foreground" />
<span className="ml-2 text-muted-foreground">Loading cron jobs...</span>
</div>
)
@@ -121,10 +120,11 @@ export function CronJobList({
className="gap-1.5"
disabled={loading}
>
- <HugeiconsIcon
- icon={loading ? Loading03Icon : RotateClockwiseIcon}
- className={`size-4 ${loading ? 'animate-spin' : ''}`}
- />
+ {loading ? (
+ <Loader2 className="size-4 animate-spin" />
+ ) : (
+ <RotateCw className="size-4" />
+ )}
Refresh
</Button>
</div>
@@ -139,7 +139,7 @@ export function CronJobList({
{/* Empty state */}
{jobs.length === 0 && !loading && (
<div className="flex flex-col items-center justify-center py-12 text-center">
- <HugeiconsIcon icon={Time04Icon} className="size-10 text-muted-foreground/50 mb-3" />
+ <Clock className="size-10 text-muted-foreground/50 mb-3" />
<p className="text-sm text-muted-foreground">No scheduled tasks</p>
<p className="text-xs text-muted-foreground/70 mt-1">
Use the cron tool in Chat to create one.
@@ -189,13 +189,13 @@ export function CronJobList({
disabled={isRemoving}
>
{isRemoving ? (
- <HugeiconsIcon icon={Loading03Icon} className="size-4 animate-spin" />
+ <Loader2 className="size-4 animate-spin" />
) : (
- <HugeiconsIcon icon={Delete02Icon} className="size-4" />
+ <Trash2 className="size-4" />
)}
</Button>
{isToggling && (
- <HugeiconsIcon icon={Loading03Icon} className="size-4 animate-spin text-muted-foreground" />
+ <Loader2 className="size-4 animate-spin text-muted-foreground" />
)}
<Switch
checked={job.enabled}
diff --git a/apps/desktop/src/renderer/src/components/device-list.tsx b/apps/desktop/src/renderer/src/components/device-list.tsx
index 76183e165f..6ff2045d5b 100644
--- a/apps/desktop/src/renderer/src/components/device-list.tsx
+++ b/apps/desktop/src/renderer/src/components/device-list.tsx
@@ -1,12 +1,11 @@
import { useState } from 'react'
import { Button } from '@multica/ui/components/ui/button'
-import { HugeiconsIcon } from '@hugeicons/react'
import {
- SmartPhone01Icon,
- Delete02Icon,
- Loading03Icon,
- RotateClockwiseIcon,
-} from '@hugeicons/core-free-icons'
+ Smartphone,
+ Trash2,
+ Loader2,
+ RotateCw,
+} from 'lucide-react'
import { useDevices, type DeviceEntry } from '../hooks/use-devices'
import { parseUserAgent } from '../lib/parse-user-agent'
@@ -62,7 +61,7 @@ function DeviceItem({
return (
<div className="flex items-center justify-between px-4 py-3 hover:bg-muted/20 transition-colors">
<div className="flex items-center gap-3 min-w-0 flex-1">
- <HugeiconsIcon icon={SmartPhone01Icon} className="size-4 text-muted-foreground shrink-0" />
+ <Smartphone className="size-4 text-muted-foreground shrink-0" />
<div className="min-w-0">
<div className="text-sm font-medium truncate">{displayName}</div>
<div className="flex items-center gap-2 text-xs text-muted-foreground">
@@ -80,9 +79,9 @@ function DeviceItem({
disabled={revoking}
>
{revoking ? (
- <HugeiconsIcon icon={Loading03Icon} className="size-4 animate-spin" />
+ <Loader2 className="size-4 animate-spin" />
) : (
- <HugeiconsIcon icon={Delete02Icon} className="size-4" />
+ <Trash2 className="size-4" />
)}
</Button>
</div>
@@ -112,7 +111,7 @@ export function DeviceList() {
className="h-7 px-2 text-xs gap-1"
onClick={refresh}
>
- <HugeiconsIcon icon={RotateClockwiseIcon} className="size-3" />
+ <RotateCw className="size-3" />
Refresh
</Button>
</div>
diff --git a/apps/desktop/src/renderer/src/components/mode-toggle.tsx b/apps/desktop/src/renderer/src/components/mode-toggle.tsx
index 443a8f699e..b65c59952e 100644
--- a/apps/desktop/src/renderer/src/components/mode-toggle.tsx
+++ b/apps/desktop/src/renderer/src/components/mode-toggle.tsx
@@ -1,5 +1,4 @@
-import { HugeiconsIcon } from "@hugeicons/react"
-import { Sun03Icon, Moon02Icon, ComputerIcon } from "@hugeicons/core-free-icons"
+import { Sun, Moon, Monitor } from "lucide-react"
import {
DropdownMenu,
DropdownMenuContent,
@@ -11,25 +10,25 @@ import { useTheme } from "./theme-provider"
export function ModeToggle() {
const { theme, setTheme } = useTheme()
- const icon = theme === "light" ? Sun03Icon : theme === "dark" ? Moon02Icon : ComputerIcon
+ const Icon = theme === "light" ? Sun : theme === "dark" ? Moon : Monitor
return (
<DropdownMenu>
<DropdownMenuTrigger className="inline-flex items-center justify-center size-8 rounded-md text-muted-foreground hover:bg-accent hover:text-accent-foreground transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring">
- <HugeiconsIcon icon={icon} className="size-4" />
+ <Icon className="size-4" />
<span className="sr-only">Toggle theme</span>
</DropdownMenuTrigger>
<DropdownMenuContent align="end">
<DropdownMenuItem onClick={() => setTheme("light")}>
- <HugeiconsIcon icon={Sun03Icon} className="size-4" />
+ <Sun className="size-4" />
Light
</DropdownMenuItem>
<DropdownMenuItem onClick={() => setTheme("dark")}>
- <HugeiconsIcon icon={Moon02Icon} className="size-4" />
+ <Moon className="size-4" />
Dark
</DropdownMenuItem>
<DropdownMenuItem onClick={() => setTheme("system")}>
- <HugeiconsIcon icon={ComputerIcon} className="size-4" />
+ <Monitor className="size-4" />
System
</DropdownMenuItem>
</DropdownMenuContent>
diff --git a/apps/desktop/src/renderer/src/components/oauth-dialog.tsx b/apps/desktop/src/renderer/src/components/oauth-dialog.tsx
index e6573cf0b8..3631bbd939 100644
--- a/apps/desktop/src/renderer/src/components/oauth-dialog.tsx
+++ b/apps/desktop/src/renderer/src/components/oauth-dialog.tsx
@@ -8,8 +8,7 @@ import {
DialogDescription,
} from '@multica/ui/components/ui/dialog'
import { Button } from '@multica/ui/components/ui/button'
-import { HugeiconsIcon } from '@hugeicons/react'
-import { Loading03Icon, CommandLineIcon, RefreshIcon, Tick02Icon } from '@hugeicons/core-free-icons'
+import { Loader2, Terminal, RefreshCw, Check } from 'lucide-react'
interface OAuthDialogProps {
open: boolean
@@ -82,7 +81,7 @@ export function OAuthDialog({
<DialogContent className="max-w-md">
<DialogHeader>
<DialogTitle className="flex items-center gap-2">
- <HugeiconsIcon icon={CommandLineIcon} className="size-5" />
+ <Terminal className="size-5" />
Configure {providerName}
</DialogTitle>
<DialogDescription>
@@ -116,7 +115,7 @@ export function OAuthDialog({
{success && (
<div className="bg-green-500/10 text-green-600 dark:text-green-400 rounded-md p-3 text-sm flex items-center gap-2">
- <HugeiconsIcon icon={Tick02Icon} className="size-4" />
+ <Check className="size-4" />
<span>
Credentials imported successfully!
{expiresAt && ` (expires in ${formatExpiry(expiresAt)})`}
@@ -131,9 +130,9 @@ export function OAuthDialog({
</Button>
<Button onClick={handleImport} disabled={importing || success}>
{importing ? (
- <HugeiconsIcon icon={Loading03Icon} className="size-4 animate-spin mr-2" />
+ <Loader2 className="size-4 animate-spin mr-2" />
) : (
- <HugeiconsIcon icon={RefreshIcon} className="size-4 mr-2" />
+ <RefreshCw className="size-4 mr-2" />
)}
Refresh
</Button>
diff --git a/apps/desktop/src/renderer/src/components/onboarding/permission-item.tsx b/apps/desktop/src/renderer/src/components/onboarding/permission-item.tsx
index d11ebdcdc0..dc07a94f91 100644
--- a/apps/desktop/src/renderer/src/components/onboarding/permission-item.tsx
+++ b/apps/desktop/src/renderer/src/components/onboarding/permission-item.tsx
@@ -1,9 +1,8 @@
import { Switch } from '@multica/ui/components/ui/switch'
-import { HugeiconsIcon } from '@hugeicons/react'
-import type { IconSvgElement } from '@hugeicons/react'
+import type { LucideIcon } from 'lucide-react'
interface AcknowledgementItemProps {
- icon: IconSvgElement
+ icon: LucideIcon
title: string
description: string
checked: boolean
@@ -11,7 +10,7 @@ interface AcknowledgementItemProps {
}
export function AcknowledgementItem({
- icon,
+ icon: Icon,
title,
description,
checked,
@@ -20,7 +19,7 @@ export function AcknowledgementItem({
return (
<label className="flex items-start gap-4 p-4 rounded-xl border border-border bg-card cursor-pointer hover:bg-accent/30 transition-colors">
<div className="mt-0.5 flex items-center justify-center size-8 rounded-lg bg-muted shrink-0">
- <HugeiconsIcon icon={icon} className="size-4 text-muted-foreground" />
+ <Icon className="size-4 text-muted-foreground" />
</div>
<div className="flex-1 space-y-0.5">
<p className="font-medium text-sm">{title}</p>
diff --git a/apps/desktop/src/renderer/src/components/onboarding/privacy-panel.tsx b/apps/desktop/src/renderer/src/components/onboarding/privacy-panel.tsx
index e3f4c2cf2e..50eb287b73 100644
--- a/apps/desktop/src/renderer/src/components/onboarding/privacy-panel.tsx
+++ b/apps/desktop/src/renderer/src/components/onboarding/privacy-panel.tsx
@@ -1,25 +1,20 @@
-import { HugeiconsIcon } from '@hugeicons/react'
-import {
- Key01Icon,
- Database01Icon,
- CommandLineIcon,
-} from '@hugeicons/core-free-icons'
+import { Key, Database, Terminal } from 'lucide-react'
const privacyItems = [
{
- icon: Database01Icon,
+ icon: Database,
title: 'Everything stays local',
description:
'All sessions, history, and profiles are stored on your device. Nothing leaves your computer.',
},
{
- icon: Key01Icon,
+ icon: Key,
title: 'Your data, your control',
description:
'API keys and credentials are saved locally in ~/.super-multica/. We never access them.',
},
{
- icon: CommandLineIcon,
+ icon: Terminal,
title: 'Transparent execution',
description:
'Every shell command the agent wants to run requires your explicit approval first.',
@@ -32,7 +27,7 @@ export function PrivacyPanel() {
{privacyItems.map((item) => (
<div key={item.title} className="flex gap-3">
<div className="mt-0.5 flex items-center justify-center size-7 rounded-lg bg-primary/10 shrink-0">
- <HugeiconsIcon icon={item.icon} className="size-4 text-primary" />
+ <item.icon className="size-4 text-primary" />
</div>
<div className="space-y-0.5">
<p className="font-medium text-sm text-primary">{item.title}</p>
diff --git a/apps/desktop/src/renderer/src/components/onboarding/provider-setup.tsx b/apps/desktop/src/renderer/src/components/onboarding/provider-setup.tsx
index a5af721c05..bec86f5de9 100644
--- a/apps/desktop/src/renderer/src/components/onboarding/provider-setup.tsx
+++ b/apps/desktop/src/renderer/src/components/onboarding/provider-setup.tsx
@@ -1,6 +1,5 @@
import { Button } from '@multica/ui/components/ui/button'
-import { HugeiconsIcon } from '@hugeicons/react'
-import { Tick02Icon } from '@hugeicons/core-free-icons'
+import { Check } from 'lucide-react'
import { cn } from '@multica/ui/lib/utils'
interface ProviderSetupProps {
@@ -64,7 +63,7 @@ function ProviderCard({
{provider.available ? (
<div className="flex items-center gap-2">
- <HugeiconsIcon icon={Tick02Icon} className="size-4 text-primary" />
+ <Check className="size-4 text-primary" />
<Button
size="sm"
variant="ghost"
diff --git a/apps/desktop/src/renderer/src/components/onboarding/sample-prompt.tsx b/apps/desktop/src/renderer/src/components/onboarding/sample-prompt.tsx
index 25676ddde8..996b32ddb4 100644
--- a/apps/desktop/src/renderer/src/components/onboarding/sample-prompt.tsx
+++ b/apps/desktop/src/renderer/src/components/onboarding/sample-prompt.tsx
@@ -1,5 +1,4 @@
-import { HugeiconsIcon } from '@hugeicons/react'
-import { ArrowRight01Icon } from '@hugeicons/core-free-icons'
+import { ArrowRight } from 'lucide-react'
interface SamplePromptProps {
title: string
@@ -17,10 +16,7 @@ export function SamplePrompt({ title, prompt, onClick }: SamplePromptProps) {
<p className="font-medium text-sm">{title}</p>
<p className="text-xs text-muted-foreground truncate">{prompt}</p>
</div>
- <HugeiconsIcon
- icon={ArrowRight01Icon}
- className="size-4 text-muted-foreground group-hover:text-foreground transition-colors shrink-0"
- />
+ <ArrowRight className="size-4 text-muted-foreground group-hover:text-foreground transition-colors shrink-0" />
</button>
)
}
diff --git a/apps/desktop/src/renderer/src/components/onboarding/stepper.tsx b/apps/desktop/src/renderer/src/components/onboarding/stepper.tsx
index 1b154054f2..1c28b2df06 100644
--- a/apps/desktop/src/renderer/src/components/onboarding/stepper.tsx
+++ b/apps/desktop/src/renderer/src/components/onboarding/stepper.tsx
@@ -1,6 +1,5 @@
import { cn } from '@multica/ui/lib/utils'
-import { HugeiconsIcon } from '@hugeicons/react'
-import { Tick02Icon } from '@hugeicons/core-free-icons'
+import { Check } from 'lucide-react'
const steps = [
{ label: 'Privacy' },
@@ -49,10 +48,7 @@ export function Stepper({ currentStep }: StepperProps) {
)}
>
{isCompleted && (
- <HugeiconsIcon
- icon={Tick02Icon}
- className="size-3.5 text-foreground"
- />
+ <Check className="size-3.5 text-foreground" />
)}
{step.label}
</span>
diff --git a/apps/desktop/src/renderer/src/components/qr-code.tsx b/apps/desktop/src/renderer/src/components/qr-code.tsx
index 17dd2dc1bd..28026d4981 100644
--- a/apps/desktop/src/renderer/src/components/qr-code.tsx
+++ b/apps/desktop/src/renderer/src/components/qr-code.tsx
@@ -1,12 +1,7 @@
import { useState, useEffect, useCallback, useMemo } from 'react'
import { QRCodeSVG } from 'qrcode.react'
import { Button } from '@multica/ui/components/ui/button'
-import { HugeiconsIcon } from '@hugeicons/react'
-import {
- RefreshIcon,
- CheckmarkCircle02Icon,
- Copy01Icon,
-} from '@hugeicons/core-free-icons'
+import { RefreshCw, CheckCircle, Copy } from 'lucide-react'
export interface QRCodeData {
type: 'multica-connect'
@@ -177,7 +172,7 @@ export function ConnectionQRCode({
{isExpired && (
<div className="absolute inset-0 bg-background/80 backdrop-blur-sm rounded-xl flex items-center justify-center">
<Button variant="outline" size="sm" onClick={handleRefresh}>
- <HugeiconsIcon icon={RefreshIcon} className="size-4 mr-2" />
+ <RefreshCw className="size-4 mr-2" />
Refresh
</Button>
</div>
@@ -204,10 +199,13 @@ export function ConnectionQRCode({
size="sm"
onClick={isExpired ? handleRefresh : handleCopyLink}
>
- <HugeiconsIcon
- icon={isExpired ? RefreshIcon : (copied ? CheckmarkCircle02Icon : Copy01Icon)}
- className="size-3.5 mr-1"
- />
+ {isExpired ? (
+ <RefreshCw className="size-3.5 mr-1" />
+ ) : copied ? (
+ <CheckCircle className="size-3.5 mr-1" />
+ ) : (
+ <Copy className="size-3.5 mr-1" />
+ )}
{isExpired ? 'Refresh' : (copied ? 'Copied!' : 'Copy Link')}
</Button>
</div>
diff --git a/apps/desktop/src/renderer/src/components/skill-list.tsx b/apps/desktop/src/renderer/src/components/skill-list.tsx
index c74dc2c9d0..642109485c 100644
--- a/apps/desktop/src/renderer/src/components/skill-list.tsx
+++ b/apps/desktop/src/renderer/src/components/skill-list.tsx
@@ -2,13 +2,12 @@ import { useState } from 'react'
import { Button } from '@multica/ui/components/ui/button'
import { Badge } from '@multica/ui/components/ui/badge'
import { Switch } from '@multica/ui/components/ui/switch'
-import { HugeiconsIcon } from '@hugeicons/react'
import {
- RotateClockwiseIcon,
- Loading03Icon,
- CheckmarkCircle02Icon,
- Cancel01Icon,
-} from '@hugeicons/core-free-icons'
+ RotateCw,
+ Loader2,
+ CheckCircle,
+ X,
+} from 'lucide-react'
import type { SkillInfo, SkillSource } from '../stores/skills'
// Source badge colors
@@ -69,7 +68,7 @@ export function SkillList({
if (loading && skills.length === 0) {
return (
<div className="flex items-center justify-center py-12">
- <HugeiconsIcon icon={Loading03Icon} className="size-6 animate-spin text-muted-foreground" />
+ <Loader2 className="size-6 animate-spin text-muted-foreground" />
<span className="ml-2 text-muted-foreground">Loading skills...</span>
</div>
)
@@ -89,10 +88,11 @@ export function SkillList({
disabled={loading}
className="gap-1.5"
>
- <HugeiconsIcon
- icon={loading ? Loading03Icon : RotateClockwiseIcon}
- className={`size-4 ${loading ? 'animate-spin' : ''}`}
- />
+ {loading ? (
+ <Loader2 className="size-4 animate-spin" />
+ ) : (
+ <RotateCw className="size-4" />
+ )}
Refresh
</Button>
</div>
@@ -175,10 +175,11 @@ export function SkillList({
: 'text-muted-foreground'
}`}
>
- <HugeiconsIcon
- icon={skill.enabled ? CheckmarkCircle02Icon : Cancel01Icon}
- className="size-4"
- />
+ {skill.enabled ? (
+ <CheckCircle className="size-4" />
+ ) : (
+ <X className="size-4" />
+ )}
<span className="text-xs font-medium">
{skill.enabled ? 'Enabled' : 'Disabled'}
</span>
@@ -188,10 +189,7 @@ export function SkillList({
{/* Right: Toggle */}
<div className="flex items-center gap-2">
{isToggling && (
- <HugeiconsIcon
- icon={Loading03Icon}
- className="size-4 animate-spin text-muted-foreground"
- />
+ <Loader2 className="size-4 animate-spin text-muted-foreground" />
)}
<Switch
checked={skill.enabled}
diff --git a/apps/desktop/src/renderer/src/components/toaster.tsx b/apps/desktop/src/renderer/src/components/toaster.tsx
index 99782b86e8..67d3d8cd51 100644
--- a/apps/desktop/src/renderer/src/components/toaster.tsx
+++ b/apps/desktop/src/renderer/src/components/toaster.tsx
@@ -1,12 +1,5 @@
import { Toaster as Sonner, type ToasterProps } from 'sonner'
-import { HugeiconsIcon } from '@hugeicons/react'
-import {
- CheckmarkCircle02Icon,
- InformationCircleIcon,
- Alert02Icon,
- MultiplicationSignCircleIcon,
- Loading03Icon,
-} from '@hugeicons/core-free-icons'
+import { CheckCircle, Info, AlertCircle, XCircle, Loader2 } from 'lucide-react'
import { useTheme } from './theme-provider'
export function Toaster(props: ToasterProps) {
@@ -17,41 +10,11 @@ export function Toaster(props: ToasterProps) {
theme={resolvedTheme as ToasterProps['theme']}
className="toaster group"
icons={{
- success: (
- <HugeiconsIcon
- icon={CheckmarkCircle02Icon}
- strokeWidth={2}
- className="size-4 text-emerald-500"
- />
- ),
- info: (
- <HugeiconsIcon
- icon={InformationCircleIcon}
- strokeWidth={2}
- className="size-4 text-blue-500"
- />
- ),
- warning: (
- <HugeiconsIcon
- icon={Alert02Icon}
- strokeWidth={2}
- className="size-4 text-amber-500"
- />
- ),
- error: (
- <HugeiconsIcon
- icon={MultiplicationSignCircleIcon}
- strokeWidth={2}
- className="size-4 text-red-500"
- />
- ),
- loading: (
- <HugeiconsIcon
- icon={Loading03Icon}
- strokeWidth={2}
- className="size-4 text-muted-foreground animate-spin"
- />
- ),
+ success: <CheckCircle className="size-4 text-emerald-500" />,
+ info: <Info className="size-4 text-blue-500" />,
+ warning: <AlertCircle className="size-4 text-amber-500" />,
+ error: <XCircle className="size-4 text-red-500" />,
+ loading: <Loader2 className="size-4 text-muted-foreground animate-spin" />,
}}
style={
{
diff --git a/apps/desktop/src/renderer/src/components/tool-list.tsx b/apps/desktop/src/renderer/src/components/tool-list.tsx
index 9c4f556d1d..9b2501fdff 100644
--- a/apps/desktop/src/renderer/src/components/tool-list.tsx
+++ b/apps/desktop/src/renderer/src/components/tool-list.tsx
@@ -1,19 +1,18 @@
import { useState, useMemo } from 'react'
import { Switch } from '@multica/ui/components/ui/switch'
import { Button } from '@multica/ui/components/ui/button'
-import { HugeiconsIcon } from '@hugeicons/react'
import {
- RotateClockwiseIcon,
- FolderOpenIcon,
- CodeIcon,
- GlobalIcon,
- AiBrainIcon,
- ArrowDown01Icon,
- ArrowUp01Icon,
- Loading03Icon,
- Time04Icon,
- UserMultipleIcon,
-} from '@hugeicons/core-free-icons'
+ RotateCw,
+ FolderOpen,
+ Code,
+ Globe,
+ Brain,
+ ChevronDown,
+ ChevronUp,
+ Loader2,
+ Clock,
+ Users,
+} from 'lucide-react'
import type { ToolInfo } from '../stores/tools'
// Group display names
@@ -28,14 +27,14 @@ const GROUP_NAMES: Record<string, string> = {
}
// Group icons
-const GROUP_ICONS: Record<string, typeof FolderOpenIcon> = {
- fs: FolderOpenIcon,
- runtime: CodeIcon,
- web: GlobalIcon,
- memory: AiBrainIcon,
- subagent: UserMultipleIcon,
- cron: Time04Icon,
- other: CodeIcon,
+const GROUP_ICONS: Record<string, typeof FolderOpen> = {
+ fs: FolderOpen,
+ runtime: Code,
+ web: Globe,
+ memory: Brain,
+ subagent: Users,
+ cron: Clock,
+ other: Code,
}
interface ToolListProps {
@@ -101,7 +100,7 @@ export function ToolList({
if (loading && tools.length === 0) {
return (
<div className="flex items-center justify-center py-12">
- <HugeiconsIcon icon={Loading03Icon} className="size-6 animate-spin text-muted-foreground" />
+ <Loader2 className="size-6 animate-spin text-muted-foreground" />
<span className="ml-2 text-muted-foreground">Loading tools...</span>
</div>
)
@@ -122,10 +121,11 @@ export function ToolList({
className="gap-1.5"
disabled={loading}
>
- <HugeiconsIcon
- icon={loading ? Loading03Icon : RotateClockwiseIcon}
- className={`size-4 ${loading ? 'animate-spin' : ''}`}
- />
+ {loading ? (
+ <Loader2 className="size-4 animate-spin" />
+ ) : (
+ <RotateCw className="size-4" />
+ )}
Refresh
</Button>
</div>
@@ -141,7 +141,7 @@ export function ToolList({
<div className="space-y-2">
{groups.map((group) => {
const isExpanded = expandedGroups.has(group.id)
- const GroupIcon = GROUP_ICONS[group.id] || CodeIcon
+ const GroupIcon = GROUP_ICONS[group.id] || Code
return (
<div
@@ -154,16 +154,17 @@ export function ToolList({
className="w-full flex items-center justify-between px-4 py-3 bg-muted/30 hover:bg-muted/50 transition-colors"
>
<div className="flex items-center gap-3">
- <HugeiconsIcon icon={GroupIcon} className="size-5 text-muted-foreground" />
+ <GroupIcon className="size-5 text-muted-foreground" />
<span className="font-medium">{group.name}</span>
<span className="text-xs text-muted-foreground">
{group.enabledCount}/{group.totalCount} enabled
</span>
</div>
- <HugeiconsIcon
- icon={isExpanded ? ArrowUp01Icon : ArrowDown01Icon}
- className="size-4 text-muted-foreground"
- />
+ {isExpanded ? (
+ <ChevronUp className="size-4 text-muted-foreground" />
+ ) : (
+ <ChevronDown className="size-4 text-muted-foreground" />
+ )}
</button>
{/* Group tools */}
@@ -196,7 +197,7 @@ export function ToolList({
</div>
<div className="flex items-center gap-2">
{isToggling && (
- <HugeiconsIcon icon={Loading03Icon} className="size-4 animate-spin text-muted-foreground" />
+ <Loader2 className="size-4 animate-spin text-muted-foreground" />
)}
<Switch
checked={tool.enabled}
diff --git a/apps/desktop/src/renderer/src/pages/admin.tsx b/apps/desktop/src/renderer/src/pages/admin.tsx
index bf962d698e..9e14fd796b 100644
--- a/apps/desktop/src/renderer/src/pages/admin.tsx
+++ b/apps/desktop/src/renderer/src/pages/admin.tsx
@@ -1,17 +1,16 @@
import { useState, useEffect, useRef } from 'react'
import { useNavigate } from 'react-router-dom'
import { Button } from '@multica/ui/components/ui/button'
-import { HugeiconsIcon } from '@hugeicons/react'
import {
- Comment01Icon,
- LinkSquare01Icon,
- Loading03Icon,
- AlertCircleIcon,
- Edit02Icon,
- ArrowDown01Icon,
- Tick02Icon,
- Alert02Icon,
-} from '@hugeicons/core-free-icons'
+ MessageSquare,
+ Link2,
+ Loader2,
+ AlertCircle,
+ Pencil,
+ ChevronDown,
+ Check,
+ AlertTriangle,
+} from 'lucide-react'
import { ConnectionQRCode } from '../components/qr-code'
import { DeviceList } from '../components/device-list'
import { AgentSettingsDialog } from '../components/agent-settings-dialog'
@@ -89,7 +88,7 @@ export default function HomePage() {
return (
<div className="h-full flex items-center justify-center">
<div className="flex items-center gap-3 text-muted-foreground">
- <HugeiconsIcon icon={Loading03Icon} className="size-5 animate-spin" />
+ <Loader2 className="size-5 animate-spin" />
<span>Connecting to Hub...</span>
</div>
</div>
@@ -101,7 +100,7 @@ export default function HomePage() {
return (
<div className="h-full flex items-center justify-center">
<div className="flex flex-col items-center gap-3 text-destructive">
- <HugeiconsIcon icon={AlertCircleIcon} className="size-8" />
+ <AlertCircle className="size-8" />
<span className="font-medium">Connection Error</span>
<span className="text-sm text-muted-foreground">{error}</span>
</div>
@@ -180,7 +179,7 @@ export default function HomePage() {
size="icon-sm"
onClick={() => setSettingsOpen(true)}
>
- <HugeiconsIcon icon={Edit02Icon} className="size-4" />
+ <Pencil className="size-4" />
</Button>
</div>
<p className="font-medium">{agentName || 'Unnamed Agent'}</p>
@@ -198,17 +197,16 @@ export default function HomePage() {
>
<div className="flex items-center gap-2">
{current?.available ? (
- <HugeiconsIcon icon={Tick02Icon} className="size-4 text-green-500" />
+ <Check className="size-4 text-green-500" />
) : (
- <HugeiconsIcon icon={Alert02Icon} className="size-4 text-yellow-500" />
+ <AlertTriangle className="size-4 text-yellow-500" />
)}
<div className="text-left">
<p className="font-medium text-sm">{current?.providerName ?? current?.provider ?? 'Loading...'}</p>
<p className="text-xs text-muted-foreground">{current?.model ?? '-'}</p>
</div>
</div>
- <HugeiconsIcon
- icon={ArrowDown01Icon}
+ <ChevronDown
className={`size-4 text-muted-foreground transition-transform ${providerDropdownOpen ? 'rotate-180' : ''}`}
/>
</button>
@@ -389,7 +387,7 @@ export default function HomePage() {
onClick={() => navigate('/chat')}
disabled={!isConnected}
>
- <HugeiconsIcon icon={Comment01Icon} className="size-5" />
+ <MessageSquare className="size-5" />
Open Chat
</Button>
@@ -399,7 +397,7 @@ export default function HomePage() {
size="sm"
className="text-muted-foreground gap-1.5"
>
- <HugeiconsIcon icon={LinkSquare01Icon} className="size-4" />
+ <Link2 className="size-4" />
Connect to Remote Agent
</Button>
</div>
diff --git a/apps/desktop/src/renderer/src/pages/home.tsx b/apps/desktop/src/renderer/src/pages/home.tsx
index 98de475c73..70b92d1a5f 100644
--- a/apps/desktop/src/renderer/src/pages/home.tsx
+++ b/apps/desktop/src/renderer/src/pages/home.tsx
@@ -11,23 +11,21 @@ import {
TooltipTrigger,
TooltipContent,
} from '@multica/ui/components/ui/tooltip'
-import { HugeiconsIcon } from '@hugeicons/react'
import {
- Comment01Icon,
- Loading03Icon,
- ArrowDown01Icon,
- Tick02Icon,
- Alert02Icon,
- ArrowRight01Icon,
- QrCodeIcon,
- Edit02Icon,
- PlugIcon,
- CodeIcon,
- Share08Icon,
- Time04Icon,
- AiBrain01Icon,
- ArrowReloadHorizontalIcon,
-} from '@hugeicons/core-free-icons'
+ Loader2,
+ ChevronDown,
+ Check,
+ AlertCircle,
+ ArrowRight,
+ QrCode,
+ Pencil,
+ Plug,
+ Code,
+ Share,
+ Clock,
+ Brain,
+ RefreshCw,
+} from 'lucide-react'
import { ConnectionQRCode } from '../components/qr-code'
import { DeviceList } from '../components/device-list'
import { AgentSettingsDialog } from '../components/agent-settings-dialog'
@@ -127,7 +125,7 @@ export default function HomePage() {
return (
<div className="h-full flex items-center justify-center">
<div className="flex items-center gap-3 text-muted-foreground">
- <HugeiconsIcon icon={Loading03Icon} className="size-5 animate-spin" />
+ <Loader2 className="size-5 animate-spin" />
<span>Starting agent...</span>
</div>
</div>
@@ -139,10 +137,10 @@ export default function HomePage() {
setCapabilitiesRefreshing(true)
try {
await Promise.all([
- useSkillsStore.getState().refresh(),
- useToolsStore.getState().refresh(),
- useChannelsStore.getState().refresh(),
- useCronJobsStore.getState().refresh(),
+ useSkillsStore.getState().refresh({ silent: true }),
+ useToolsStore.getState().refresh({ silent: true }),
+ useChannelsStore.getState().refresh({ silent: true }),
+ useCronJobsStore.getState().refresh({ silent: true }),
])
toast.success('Status refreshed')
} catch (err) {
@@ -153,7 +151,7 @@ export default function HomePage() {
}
}
- // Build capability summary (always show all, even if zero)
+ // Build capability summary
const capabilitySummary = `${skillStats.enabled} skills, ${enabledTools} tools, ${connectedChannels} channels, ${cronCount} scheduled tasks`
return (
@@ -202,13 +200,14 @@ export default function HomePage() {
</p>
<Button
+ variant="outline"
size="lg"
className="gap-2"
onClick={() => navigate('/chat')}
disabled={!agentReady}
>
- <HugeiconsIcon icon={Comment01Icon} className="size-5" />
Start Chat
+ <ArrowRight className="size-4" />
</Button>
</div>
@@ -226,7 +225,7 @@ export default function HomePage() {
onClick={() => setSettingsOpen(true)}
>
<span>{agentName || 'Unnamed Agent'}</span>
- <HugeiconsIcon icon={Edit02Icon} className="size-4 text-muted-foreground" />
+ <Pencil className="size-4 text-muted-foreground" />
</Button>
</div>
@@ -241,16 +240,15 @@ export default function HomePage() {
>
<span className="flex items-center gap-2">
{current?.available ? (
- <HugeiconsIcon icon={Tick02Icon} className="size-4 text-green-500" />
+ <Check className="size-4 text-green-500" />
) : (
- <HugeiconsIcon icon={Alert02Icon} className="size-4 text-yellow-500" />
+ <AlertCircle className="size-4 text-yellow-500" />
)}
<span>{current?.providerName ?? 'Loading...'}</span>
<span className="text-muted-foreground">·</span>
<span className="text-muted-foreground text-xs font-mono">{current?.model ?? '-'}</span>
</span>
- <HugeiconsIcon
- icon={ArrowDown01Icon}
+ <ChevronDown
className={cn(
'size-4 text-muted-foreground transition-transform',
providerDropdownOpen && 'rotate-180'
@@ -368,45 +366,42 @@ export default function HomePage() {
{/* Section 3: Capabilities (Collapsible) */}
<Collapsible open={capabilitiesOpen} onOpenChange={setCapabilitiesOpen} className="mb-6">
- <CollapsibleTrigger className="group flex items-center justify-between w-full text-left py-2">
+ <div className="flex items-center justify-between py-2">
<span className="flex items-center gap-2 text-sm">
- <HugeiconsIcon icon={AiBrain01Icon} className="size-4 text-muted-foreground" />
+ <Brain className="size-4 text-muted-foreground" />
Your agent has {capabilitySummary}
<Tooltip>
<TooltipTrigger
- onClick={(e) => {
- e.stopPropagation()
- refreshCapabilities()
- }}
+ onClick={refreshCapabilities}
disabled={capabilitiesRefreshing}
className="p-1 text-muted-foreground hover:text-foreground transition-colors disabled:opacity-50"
>
- <HugeiconsIcon
- icon={capabilitiesRefreshing ? Loading03Icon : ArrowReloadHorizontalIcon}
- className={cn('size-4', capabilitiesRefreshing && 'animate-spin')}
- />
+ {capabilitiesRefreshing ? (
+ <Loader2 className="size-4 animate-spin" />
+ ) : (
+ <RefreshCw className="size-4" />
+ )}
</TooltipTrigger>
<TooltipContent>Refresh status</TooltipContent>
</Tooltip>
</span>
- <span className="flex items-center gap-1 text-sm text-muted-foreground group-hover:text-foreground transition-colors">
+ <CollapsibleTrigger className="group flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground transition-colors">
{capabilitiesOpen ? 'Hide' : 'Details'}
- <HugeiconsIcon
- icon={ArrowDown01Icon}
+ <ChevronDown
className={cn(
'size-4 transition-transform',
capabilitiesOpen && 'rotate-180'
)}
/>
- </span>
- </CollapsibleTrigger>
+ </CollapsibleTrigger>
+ </div>
<CollapsibleContent className="pt-4 space-y-4">
{/* Skills */}
<div className="space-y-2">
<div className="flex items-center justify-between">
<div className="flex items-center gap-2 text-sm font-medium">
- <HugeiconsIcon icon={PlugIcon} className="size-4 text-muted-foreground" />
+ <Plug className="size-4 text-muted-foreground" />
<span>Skills ({skillStats.enabled})</span>
</div>
<Button
@@ -416,7 +411,7 @@ export default function HomePage() {
onClick={() => navigate('/skills')}
>
View all
- <HugeiconsIcon icon={ArrowRight01Icon} className="size-3" />
+ <ArrowRight className="size-3" />
</Button>
</div>
{skillStats.enabled > 0 ? (
@@ -445,7 +440,7 @@ export default function HomePage() {
<div className="space-y-2">
<div className="flex items-center justify-between">
<div className="flex items-center gap-2 text-sm font-medium">
- <HugeiconsIcon icon={CodeIcon} className="size-4 text-muted-foreground" />
+ <Code className="size-4 text-muted-foreground" />
<span>Tools ({enabledTools})</span>
</div>
<Button
@@ -455,7 +450,7 @@ export default function HomePage() {
onClick={() => navigate('/tools')}
>
View all
- <HugeiconsIcon icon={ArrowRight01Icon} className="size-3" />
+ <ArrowRight className="size-3" />
</Button>
</div>
{enabledTools > 0 ? (
@@ -484,7 +479,7 @@ export default function HomePage() {
<div className="space-y-2">
<div className="flex items-center justify-between">
<div className="flex items-center gap-2 text-sm font-medium">
- <HugeiconsIcon icon={Share08Icon} className="size-4 text-muted-foreground" />
+ <Share className="size-4 text-muted-foreground" />
<span>Channels ({connectedChannels})</span>
</div>
<Button
@@ -494,7 +489,7 @@ export default function HomePage() {
onClick={() => navigate('/channels')}
>
View all
- <HugeiconsIcon icon={ArrowRight01Icon} className="size-3" />
+ <ArrowRight className="size-3" />
</Button>
</div>
{connectedChannels > 0 ? (
@@ -522,7 +517,7 @@ export default function HomePage() {
<div className="space-y-2">
<div className="flex items-center justify-between">
<div className="flex items-center gap-2 text-sm font-medium">
- <HugeiconsIcon icon={Time04Icon} className="size-4 text-muted-foreground" />
+ <Clock className="size-4 text-muted-foreground" />
<span>Scheduled Tasks ({cronCount})</span>
</div>
<Button
@@ -532,7 +527,7 @@ export default function HomePage() {
onClick={() => navigate('/crons')}
>
View all
- <HugeiconsIcon icon={ArrowRight01Icon} className="size-3" />
+ <ArrowRight className="size-3" />
</Button>
</div>
{cronCount > 0 ? (
@@ -574,7 +569,7 @@ export default function HomePage() {
size="sm"
onClick={() => setQrCodeExpanded(!qrCodeExpanded)}
>
- <HugeiconsIcon icon={QrCodeIcon} className="size-4 mr-1.5" />
+ <QrCode className="size-4 mr-1.5" />
{qrCodeExpanded ? 'Hide' : 'Show'}
</Button>
</div>
@@ -597,7 +592,7 @@ export default function HomePage() {
onClick={() => setQrCodeExpanded(true)}
className="flex flex-col items-center justify-center gap-3 p-8 rounded-xl border-2 border-dashed border-muted-foreground/25 hover:border-muted-foreground/50 transition-colors cursor-pointer"
>
- <HugeiconsIcon icon={QrCodeIcon} className="size-12 text-muted-foreground/40" />
+ <QrCode className="size-12 text-muted-foreground/40" />
<span className="text-sm text-muted-foreground">Click to show QR code</span>
</button>
)}
diff --git a/apps/desktop/src/renderer/src/pages/layout.tsx b/apps/desktop/src/renderer/src/pages/layout.tsx
index 0192131898..e9cf256d3e 100644
--- a/apps/desktop/src/renderer/src/pages/layout.tsx
+++ b/apps/desktop/src/renderer/src/pages/layout.tsx
@@ -1,17 +1,15 @@
import { Outlet, NavLink, useLocation, useNavigate } from 'react-router-dom'
-import { Toaster } from '@multica/ui/components/ui/sonner'
import { Button } from '@multica/ui/components/ui/button'
-import { HugeiconsIcon } from '@hugeicons/react'
import {
- Home01Icon,
- Comment01Icon,
- PuzzleIcon,
- Wrench01Icon,
- Message01Icon,
- RepeatIcon,
- ArrowLeft02Icon,
- ArrowRight02Icon,
-} from '@hugeicons/core-free-icons'
+ Home,
+ MessageSquare,
+ Puzzle,
+ Wrench,
+ Mail,
+ Repeat,
+ ChevronLeft,
+ ChevronRight,
+} from 'lucide-react'
import {
Sidebar,
SidebarContent,
@@ -31,15 +29,15 @@ import { ModeToggle } from '../components/mode-toggle'
import { DeviceConfirmDialog } from '../components/device-confirm-dialog'
const mainNavItems = [
- { path: '/', label: 'Home', icon: Home01Icon },
- { path: '/chat', label: 'Chat', icon: Comment01Icon },
+ { path: '/', label: 'Home', icon: Home },
+ { path: '/chat', label: 'Chat', icon: MessageSquare },
]
const configNavItems = [
- { path: '/skills', label: 'Skills', icon: PuzzleIcon },
- { path: '/tools', label: 'Tools', icon: Wrench01Icon },
- { path: '/channels', label: 'Channels', icon: Message01Icon },
- { path: '/crons', label: 'Crons', icon: RepeatIcon },
+ { path: '/skills', label: 'Skills', icon: Puzzle },
+ { path: '/tools', label: 'Tools', icon: Wrench },
+ { path: '/channels', label: 'Channels', icon: Mail },
+ { path: '/crons', label: 'Crons', icon: Repeat },
]
// All nav items for header lookup
@@ -65,7 +63,7 @@ function NavigationButtons() {
onClick={() => navigate(-1)}
disabled={!canGoBack}
>
- <HugeiconsIcon icon={ArrowLeft02Icon} />
+ <ChevronLeft />
</Button>
<Button
variant="ghost"
@@ -73,7 +71,7 @@ function NavigationButtons() {
onClick={() => navigate(1)}
disabled={!canGoForward}
>
- <HugeiconsIcon icon={ArrowRight02Icon} />
+ <ChevronRight />
</Button>
</div>
)
@@ -108,7 +106,7 @@ function MainHeader() {
<div className="flex-1 flex justify-center">
{currentPage && (
<div className="flex items-center gap-2 text-sm text-muted-foreground">
- <HugeiconsIcon icon={currentPage.icon} className="size-4" />
+ <currentPage.icon className="size-4" />
<span>{currentPage.label}</span>
</div>
)}
@@ -147,8 +145,7 @@ export default function Layout() {
<SidebarMenuItem key={item.path}>
<NavLink to={item.path}>
<SidebarMenuButton isActive={isActive}>
- <HugeiconsIcon
- icon={item.icon}
+ <item.icon
className={cn(
'size-4 transition-colors',
!isActive && 'text-muted-foreground/50 group-hover/menu-button:text-foreground'
@@ -173,8 +170,7 @@ export default function Layout() {
<SidebarMenuItem key={item.path}>
<NavLink to={item.path}>
<SidebarMenuButton isActive={isActive}>
- <HugeiconsIcon
- icon={item.icon}
+ <item.icon
className={cn(
'size-4 transition-colors',
!isActive && 'text-muted-foreground/50 group-hover/menu-button:text-foreground'
@@ -200,7 +196,6 @@ export default function Layout() {
</main>
</SidebarInset>
- <Toaster />
<DeviceConfirmDialog />
</SidebarProvider>
</div>
diff --git a/apps/desktop/src/renderer/src/pages/onboarding/components/connect-step.tsx b/apps/desktop/src/renderer/src/pages/onboarding/components/connect-step.tsx
index bdabb52a0f..1ab0198a29 100644
--- a/apps/desktop/src/renderer/src/pages/onboarding/components/connect-step.tsx
+++ b/apps/desktop/src/renderer/src/pages/onboarding/components/connect-step.tsx
@@ -8,15 +8,14 @@ import {
HoverCardContent,
HoverCardTrigger,
} from '@multica/ui/components/ui/hover-card'
-import { HugeiconsIcon } from '@hugeicons/react'
import {
- ArrowLeft02Icon,
- Loading03Icon,
- HelpCircleIcon,
- Share08Icon,
- Tick02Icon,
- InformationCircleIcon,
-} from '@hugeicons/core-free-icons'
+ ChevronLeft,
+ Loader2,
+ HelpCircle,
+ Share2,
+ Check,
+ Info,
+} from 'lucide-react'
import { useChannelsStore } from '../../../stores/channels'
import { StepDots } from './step-dots'
@@ -78,7 +77,7 @@ export default function ConnectStep({ onNext, onBack }: ConnectStepProps) {
onClick={onBack}
className="flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground transition-colors"
>
- <HugeiconsIcon icon={ArrowLeft02Icon} className="size-4" />
+ <ChevronLeft className="size-4" />
Back
</button>
@@ -99,7 +98,7 @@ export default function ConnectStep({ onNext, onBack }: ConnectStepProps) {
chat from your phone, tablet, or any device.
</p>
<p className="text-xs text-muted-foreground/70 flex items-center gap-1.5">
- <HugeiconsIcon icon={InformationCircleIcon} className="size-3.5 shrink-0" />
+ <Info className="size-3.5 shrink-0" />
Telegram now. Discord, Slack, Mobile app coming soon.
</p>
</div>
@@ -109,10 +108,7 @@ export default function ConnectStep({ onNext, onBack }: ConnectStepProps) {
<div className="flex items-center justify-between px-4 py-3 border-b border-border">
<div className="flex items-center gap-3">
<div className="flex items-center justify-center size-8 rounded-lg bg-muted shrink-0">
- <HugeiconsIcon
- icon={Share08Icon}
- className="size-4 text-muted-foreground"
- />
+ <Share2 className="size-4 text-muted-foreground" />
</div>
<div>
<p className="text-sm font-medium">Telegram</p>
@@ -133,7 +129,7 @@ export default function ConnectStep({ onNext, onBack }: ConnectStepProps) {
{/* Help hover card */}
<HoverCard>
<HoverCardTrigger className="p-1 text-muted-foreground hover:text-foreground transition-colors">
- <HugeiconsIcon icon={HelpCircleIcon} className="size-4" />
+ <HelpCircle className="size-4" />
</HoverCardTrigger>
<HoverCardContent align="end" side="top" className="w-56">
<p className="font-medium text-sm mb-2">
@@ -161,10 +157,7 @@ export default function ConnectStep({ onNext, onBack }: ConnectStepProps) {
<div className="p-4">
{hasToken ? (
<div className="flex items-center gap-2">
- <HugeiconsIcon
- icon={Tick02Icon}
- className="size-4 text-green-600 dark:text-green-500 shrink-0"
- />
+ <Check className="size-4 text-green-600 dark:text-green-500 shrink-0" />
<p className="text-sm text-muted-foreground">
{isRunning
? 'Bot is running. Send it a message to test.'
@@ -190,10 +183,7 @@ export default function ConnectStep({ onNext, onBack }: ConnectStepProps) {
disabled={saving || !token.trim()}
>
{saving && (
- <HugeiconsIcon
- icon={Loading03Icon}
- className="size-4 animate-spin mr-1.5"
- />
+ <Loader2 className="size-4 animate-spin mr-1.5" />
)}
Connect
</Button>
diff --git a/apps/desktop/src/renderer/src/pages/onboarding/components/permissions-step.tsx b/apps/desktop/src/renderer/src/pages/onboarding/components/permissions-step.tsx
index e9832b000c..c51057b5cf 100644
--- a/apps/desktop/src/renderer/src/pages/onboarding/components/permissions-step.tsx
+++ b/apps/desktop/src/renderer/src/pages/onboarding/components/permissions-step.tsx
@@ -2,33 +2,32 @@ import { useState } from 'react'
import { Button } from '@multica/ui/components/ui/button'
import { Checkbox } from '@multica/ui/components/ui/checkbox'
import { Separator } from '@multica/ui/components/ui/separator'
-import { HugeiconsIcon } from '@hugeicons/react'
import {
- FolderOpenIcon,
- CommandLineIcon,
- AiBrainIcon,
- Database01Icon,
-} from '@hugeicons/core-free-icons'
+ FolderOpen,
+ Terminal,
+ Brain,
+ Database,
+} from 'lucide-react'
import { StepDots } from './step-dots'
const capabilities = [
{
- icon: FolderOpenIcon,
+ icon: FolderOpen,
title: 'File access',
description: 'Read & write files to complete tasks you assign',
},
{
- icon: CommandLineIcon,
+ icon: Terminal,
title: 'Shell commands',
description: 'Run commands — every one requires your approval',
},
{
- icon: AiBrainIcon,
+ icon: Brain,
title: 'LLM requests',
description: 'Send prompts using your API key directly',
},
{
- icon: Database01Icon,
+ icon: Database,
title: 'Local storage',
description: 'Sessions & credentials saved in ~/.super-multica/',
},
@@ -59,10 +58,7 @@ export default function PermissionsStep({ onNext }: PermissionsStepProps) {
{capabilities.map((item) => (
<div key={item.title} className="flex items-start gap-3 p-4">
<div className="mt-0.5 flex items-center justify-center size-8 rounded-lg bg-muted shrink-0">
- <HugeiconsIcon
- icon={item.icon}
- className="size-4 text-muted-foreground"
- />
+ <item.icon className="size-4 text-muted-foreground" />
</div>
<div className="space-y-0.5">
<p className="text-sm font-medium">{item.title}</p>
diff --git a/apps/desktop/src/renderer/src/pages/onboarding/components/setup-step.tsx b/apps/desktop/src/renderer/src/pages/onboarding/components/setup-step.tsx
index b5423a7fc3..81831024d4 100644
--- a/apps/desktop/src/renderer/src/pages/onboarding/components/setup-step.tsx
+++ b/apps/desktop/src/renderer/src/pages/onboarding/components/setup-step.tsx
@@ -7,8 +7,7 @@ import {
HoverCardTrigger,
} from '@multica/ui/components/ui/hover-card'
import { Link } from '@multica/ui/components/ui/link'
-import { HugeiconsIcon } from '@hugeicons/react'
-import { ArrowLeft02Icon, HelpCircleIcon } from '@hugeicons/core-free-icons'
+import { ChevronLeft, HelpCircle } from 'lucide-react'
import { cn } from '@multica/ui/lib/utils'
import { useProviderStore } from '../../../stores/provider'
import { ApiKeyDialog } from '../../../components/api-key-dialog'
@@ -70,7 +69,7 @@ export default function SetupStep({ onNext, onBack }: SetupStepProps) {
onClick={onBack}
className="flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground transition-colors"
>
- <HugeiconsIcon icon={ArrowLeft02Icon} className="size-4" />
+ <ChevronLeft className="size-4" />
Back
</button>
@@ -214,7 +213,7 @@ function ProviderRow({
onClick={(e) => e.stopPropagation()}
className="p-1 text-muted-foreground hover:text-foreground transition-colors"
>
- <HugeiconsIcon icon={HelpCircleIcon} className="size-4" />
+ <HelpCircle className="size-4" />
</HoverCardTrigger>
<HoverCardContent align="end" side="top" className="w-56">
<p className="font-medium text-sm mb-2">Setup {provider.name}</p>
diff --git a/apps/desktop/src/renderer/src/pages/onboarding/components/try-it-step.tsx b/apps/desktop/src/renderer/src/pages/onboarding/components/try-it-step.tsx
index 0ccf8a8a9f..69ef582cd4 100644
--- a/apps/desktop/src/renderer/src/pages/onboarding/components/try-it-step.tsx
+++ b/apps/desktop/src/renderer/src/pages/onboarding/components/try-it-step.tsx
@@ -1,31 +1,30 @@
import { useNavigate } from 'react-router-dom'
import { Button } from '@multica/ui/components/ui/button'
import { Separator } from '@multica/ui/components/ui/separator'
-import { HugeiconsIcon } from '@hugeicons/react'
import {
- ArrowLeft02Icon,
- ArrowRight01Icon,
- Search01Icon,
- FolderOpenIcon,
- CommandLineIcon,
-} from '@hugeicons/core-free-icons'
+ ChevronLeft,
+ ArrowRight,
+ Search,
+ FolderOpen,
+ Terminal,
+} from 'lucide-react'
import { StepDots } from './step-dots'
const tryPrompts = [
{
- icon: Search01Icon,
+ icon: Search,
title: 'Search the web',
description: "Get today's AI news",
prompt: "Search the web for today's top AI news and give me a 3-bullet summary with sources.",
},
{
- icon: FolderOpenIcon,
+ icon: FolderOpen,
title: 'Read your files',
description: 'Summarize this directory',
prompt: 'Look at the files in my current directory and give me a brief summary of what this project is about.',
},
{
- icon: CommandLineIcon,
+ icon: Terminal,
title: 'Run a command',
description: 'Show system info',
prompt: 'Write a one-liner shell command that shows my system info (OS, CPU cores, memory) and run it.',
@@ -55,7 +54,7 @@ export default function TryItStep({ onComplete, onBack }: TryItStepProps) {
onClick={onBack}
className="flex items-center gap-1.5 text-sm text-muted-foreground hover:text-foreground transition-colors"
>
- <HugeiconsIcon icon={ArrowLeft02Icon} className="size-4" />
+ <ChevronLeft className="size-4" />
Back
</button>
@@ -83,10 +82,7 @@ export default function TryItStep({ onComplete, onBack }: TryItStepProps) {
>
<div className="flex items-center gap-3">
<div className="flex items-center justify-center size-8 rounded-lg bg-muted shrink-0">
- <HugeiconsIcon
- icon={item.icon}
- className="size-4 text-muted-foreground"
- />
+ <item.icon className="size-4 text-muted-foreground" />
</div>
<div>
<p className="text-sm font-medium">{item.title}</p>
@@ -95,10 +91,7 @@ export default function TryItStep({ onComplete, onBack }: TryItStepProps) {
</p>
</div>
</div>
- <HugeiconsIcon
- icon={ArrowRight01Icon}
- className="size-4 text-muted-foreground"
- />
+ <ArrowRight className="size-4 text-muted-foreground" />
</button>
))}
</div>
diff --git a/apps/desktop/src/renderer/src/stores/channels.ts b/apps/desktop/src/renderer/src/stores/channels.ts
index ea6e1be8e2..1c7e9f0d0d 100644
--- a/apps/desktop/src/renderer/src/stores/channels.ts
+++ b/apps/desktop/src/renderer/src/stores/channels.ts
@@ -14,7 +14,7 @@ interface ChannelsStore {
// Actions
fetch: () => Promise<void>
- refresh: () => Promise<void>
+ refresh: (options?: { silent?: boolean }) => Promise<void>
saveToken: (channelId: string, accountId: string, token: string) => Promise<{ ok: boolean; error?: string }>
removeToken: (channelId: string, accountId: string) => Promise<{ ok: boolean; error?: string }>
stopChannel: (channelId: string, accountId: string) => Promise<{ ok: boolean; error?: string }>
@@ -54,7 +54,7 @@ export const useChannelsStore = create<ChannelsStore>()((set, get) => ({
}
},
- refresh: async () => {
+ refresh: async (options?: { silent?: boolean }) => {
set({ loading: true, error: null })
const startTime = Date.now()
@@ -75,6 +75,7 @@ export const useChannelsStore = create<ChannelsStore>()((set, get) => ({
states: stateList,
config: channelConfig,
})
+ if (!options?.silent) toast.success('Channels refreshed')
} catch (err) {
const message = err instanceof Error ? err.message : String(err)
set({ error: message })
diff --git a/apps/desktop/src/renderer/src/stores/cron-jobs.ts b/apps/desktop/src/renderer/src/stores/cron-jobs.ts
index b27fdf5c00..9257ff9c22 100644
--- a/apps/desktop/src/renderer/src/stores/cron-jobs.ts
+++ b/apps/desktop/src/renderer/src/stores/cron-jobs.ts
@@ -28,7 +28,7 @@ interface CronJobsStore {
// Actions
fetch: () => Promise<void>
- refresh: () => Promise<void>
+ refresh: (options?: { silent?: boolean }) => Promise<void>
toggleJob: (jobId: string) => Promise<void>
removeJob: (jobId: string) => Promise<void>
}
@@ -65,7 +65,7 @@ export const useCronJobsStore = create<CronJobsStore>()((set, get) => ({
}
},
- refresh: async () => {
+ refresh: async (options?: { silent?: boolean }) => {
set({ loading: true, error: null })
const startTime = Date.now()
@@ -81,6 +81,7 @@ export const useCronJobsStore = create<CronJobsStore>()((set, get) => ({
if (Array.isArray(result)) {
set({ jobs: result as CronJobInfo[] })
+ if (!options?.silent) toast.success('Tasks refreshed')
} else {
set({ error: 'Invalid response from cron:list' })
}
diff --git a/apps/desktop/src/renderer/src/stores/skills.ts b/apps/desktop/src/renderer/src/stores/skills.ts
index d26658e42f..64a5fceb71 100644
--- a/apps/desktop/src/renderer/src/stores/skills.ts
+++ b/apps/desktop/src/renderer/src/stores/skills.ts
@@ -26,7 +26,7 @@ interface SkillsStore {
// Actions
fetch: () => Promise<void>
- refresh: () => Promise<void>
+ refresh: (options?: { silent?: boolean }) => Promise<void>
toggleSkill: (skillId: string) => Promise<void>
setSkillStatus: (skillId: string, enabled: boolean) => Promise<void>
}
@@ -63,7 +63,7 @@ export const useSkillsStore = create<SkillsStore>()((set, get) => ({
}
},
- refresh: async () => {
+ refresh: async (options?: { silent?: boolean }) => {
set({ loading: true, error: null })
const startTime = Date.now()
@@ -79,6 +79,7 @@ export const useSkillsStore = create<SkillsStore>()((set, get) => ({
if (Array.isArray(result)) {
set({ skills: result })
+ if (!options?.silent) toast.success('Skills refreshed')
} else {
set({ error: 'Invalid response from skills:list' })
}
diff --git a/apps/desktop/src/renderer/src/stores/tools.ts b/apps/desktop/src/renderer/src/stores/tools.ts
index 6069f245f1..9bbb14a7a7 100644
--- a/apps/desktop/src/renderer/src/stores/tools.ts
+++ b/apps/desktop/src/renderer/src/stores/tools.ts
@@ -39,7 +39,7 @@ interface ToolsStore {
// Actions
fetch: () => Promise<void>
- refresh: () => Promise<void>
+ refresh: (options?: { silent?: boolean }) => Promise<void>
toggleTool: (toolName: string) => Promise<void>
setToolStatus: (toolName: string, enabled: boolean) => Promise<void>
}
@@ -81,7 +81,7 @@ export const useToolsStore = create<ToolsStore>()((set, get) => ({
}
},
- refresh: async () => {
+ refresh: async (options?: { silent?: boolean }) => {
set({ loading: true, error: null })
const startTime = Date.now()
@@ -101,6 +101,7 @@ export const useToolsStore = create<ToolsStore>()((set, get) => ({
description: TOOL_DESCRIPTIONS[tool.name],
}))
set({ tools: toolsWithDesc })
+ if (!options?.silent) toast.success('Tools refreshed')
} else {
set({ error: 'Invalid response from tools:list' })
}
diff --git a/apps/mobile/app/index.tsx b/apps/mobile/app/index.tsx
index 4cb92f6e30..dd1ad03828 100644
--- a/apps/mobile/app/index.tsx
+++ b/apps/mobile/app/index.tsx
@@ -11,8 +11,7 @@ import {
} from "react-native";
import { SafeAreaView } from "react-native-safe-area-context";
import { Text } from "@/components/ui/text";
-import { HugeiconsIcon } from "@hugeicons/react-native";
-import { ArrowUp01Icon } from "@hugeicons/core-free-icons";
+import { ArrowUp } from "lucide-react-native";
// Enable LayoutAnimation on Android
if (Platform.OS === "android" && UIManager.setLayoutAnimationEnabledExperimental) {
@@ -152,11 +151,9 @@ export default function Index() {
className="ml-1.5 h-8 w-8 items-center justify-center rounded-full bg-primary"
style={{ opacity: canSend ? 1 : 0.5 }}
>
- <HugeiconsIcon
- icon={ArrowUp01Icon}
+ <ArrowUp
size={18}
color="hsl(225, 100%, 96.4%)"
- strokeWidth={2.5}
/>
</Pressable>
</View>
diff --git a/apps/mobile/package.json b/apps/mobile/package.json
index 34086249e0..9d8c382860 100644
--- a/apps/mobile/package.json
+++ b/apps/mobile/package.json
@@ -12,8 +12,6 @@
},
"dependencies": {
"@expo/vector-icons": "^15.0.3",
- "@hugeicons/core-free-icons": "^3.1.1",
- "@hugeicons/react-native": "^1.0.11",
"@react-navigation/bottom-tabs": "^7.4.0",
"@react-navigation/elements": "^2.6.3",
"@react-navigation/native": "^7.1.8",
diff --git a/apps/web/app/theme-toggle.tsx b/apps/web/app/theme-toggle.tsx
index 70eb691ea6..84d245902e 100644
--- a/apps/web/app/theme-toggle.tsx
+++ b/apps/web/app/theme-toggle.tsx
@@ -2,8 +2,7 @@
import { useTheme } from "next-themes";
import { Button } from "@multica/ui/components/ui/button";
-import { HugeiconsIcon } from "@hugeicons/react";
-import { Sun01Icon, Moon01Icon } from "@hugeicons/core-free-icons";
+import { Sun, Moon } from "lucide-react";
export function ThemeToggle() {
const { theme, setTheme } = useTheme();
@@ -15,8 +14,8 @@ export function ThemeToggle() {
onClick={() => setTheme(theme === "dark" ? "light" : "dark")}
className="size-8 text-muted-foreground"
>
- <HugeiconsIcon icon={Sun01Icon} strokeWidth={1.5} className="size-4 dark:hidden" />
- <HugeiconsIcon icon={Moon01Icon} strokeWidth={1.5} className="size-4 hidden dark:block" />
+ <Sun className="size-4 dark:hidden" />
+ <Moon className="size-4 hidden dark:block" />
</Button>
);
}
diff --git a/apps/web/components.json b/apps/web/components.json
index 38168ef06a..663cf01dea 100644
--- a/apps/web/components.json
+++ b/apps/web/components.json
@@ -9,7 +9,7 @@
"baseColor": "zinc",
"cssVariables": true
},
- "iconLibrary": "hugeicons",
+ "iconLibrary": "lucide",
"aliases": {
"components": "@/components",
"hooks": "@/hooks",
diff --git a/apps/web/package.json b/apps/web/package.json
index 2104dc0ab2..1141dec3d8 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -13,14 +13,12 @@
"@multica/sdk": "workspace:*",
"@multica/store": "workspace:*",
"@multica/ui": "workspace:*",
- "uuid": "catalog:",
- "zustand": "catalog:",
- "@hugeicons/core-free-icons": "catalog:",
- "@hugeicons/react": "catalog:",
"next": "16.1.6",
"next-themes": "^0.4.6",
"react": "catalog:",
- "react-dom": "catalog:"
+ "react-dom": "catalog:",
+ "uuid": "catalog:",
+ "zustand": "catalog:"
},
"devDependencies": {
"@types/node": "catalog:",
diff --git a/package.json b/package.json
index 7708d8c7c6..3a629fad71 100644
--- a/package.json
+++ b/package.json
@@ -73,6 +73,7 @@
"grammy": "^1.39.3",
"json5": "^2.2.3",
"linkedom": "^0.18.12",
+ "lucide-react": "^0.563.0",
"mysql2": "^3.14.1",
"nestjs-pino": "^4.5.0",
"pino": "^10.3.0",
diff --git a/packages/ui/components.json b/packages/ui/components.json
index b439442e72..2f8a9e362b 100644
--- a/packages/ui/components.json
+++ b/packages/ui/components.json
@@ -9,7 +9,7 @@
"baseColor": "zinc",
"cssVariables": true
},
- "iconLibrary": "hugeicons",
+ "iconLibrary": "lucide",
"aliases": {
"components": "@multica/ui/components",
"utils": "@multica/ui/lib/utils",
diff --git a/packages/ui/package.json b/packages/ui/package.json
index 09023c177d..b33bd59ae5 100644
--- a/packages/ui/package.json
+++ b/packages/ui/package.json
@@ -27,8 +27,6 @@
"@fontsource-variable/playfair-display": "^5.2.8",
"@fontsource/geist-mono": "^5.2.7",
"@fontsource/geist-sans": "^5.2.5",
- "@hugeicons/core-free-icons": "catalog:",
- "@hugeicons/react": "catalog:",
"@multica/store": "workspace:*",
"@tiptap/extension-placeholder": "^3.19.0",
"@tiptap/pm": "^3.19.0",
@@ -37,6 +35,7 @@
"class-variance-authority": "catalog:",
"clsx": "catalog:",
"linkify-it": "^5.0.0",
+ "lucide-react": "^0.563.0",
"next-themes": "^0.4.6",
"qr-scanner": "^1.4.2",
"react": "catalog:",
diff --git a/packages/ui/src/components/chat-input.tsx b/packages/ui/src/components/chat-input.tsx
index 9bd51fd4e3..f0bbe44f10 100644
--- a/packages/ui/src/components/chat-input.tsx
+++ b/packages/ui/src/components/chat-input.tsx
@@ -4,8 +4,7 @@ import { useEditor, EditorContent } from "@tiptap/react";
import StarterKit from "@tiptap/starter-kit";
import Placeholder from "@tiptap/extension-placeholder";
import { Button } from "@multica/ui/components/ui/button";
-import { ArrowUp02Icon } from "@hugeicons/core-free-icons";
-import { HugeiconsIcon } from "@hugeicons/react";
+import { ArrowUp } from "lucide-react";
import { cn } from "@multica/ui/lib/utils";
import "./chat-input.css";
@@ -124,7 +123,7 @@ export const ChatInput = forwardRef<ChatInputRef, ChatInputProps>(
<EditorContent className="min-h-12" editor={editor} />
<div className="flex items-center justify-end pt-2">
<Button size="icon" onClick={handleSubmit} disabled={disabled}>
- <HugeiconsIcon strokeWidth={2.5} icon={ArrowUp02Icon} />
+ <ArrowUp />
</Button>
</div>
</div>
diff --git a/packages/ui/src/components/device-pairing.tsx b/packages/ui/src/components/device-pairing.tsx
index 27d9580761..afae275fc0 100644
--- a/packages/ui/src/components/device-pairing.tsx
+++ b/packages/ui/src/components/device-pairing.tsx
@@ -5,13 +5,7 @@ import { Button } from "@multica/ui/components/ui/button";
import { Textarea } from "@multica/ui/components/ui/textarea";
import { Spinner } from "@multica/ui/components/spinner";
import { useIsMobile } from "@multica/ui/hooks/use-mobile";
-import { HugeiconsIcon } from "@hugeicons/react";
-import {
- Camera01Icon,
- TextIcon,
- CheckmarkCircle02Icon,
- Alert02Icon,
-} from "@hugeicons/core-free-icons";
+import { Camera, Type, CheckCircle, AlertCircle } from "lucide-react";
import { QrScannerView } from "@multica/ui/components/qr-scanner-view";
import { MulticaIcon } from "@multica/ui/components/multica-icon";
import { parseConnectionCode } from "@multica/store";
@@ -107,8 +101,7 @@ function RejectedStatus({
return (
<StatusWrapper fullscreen={fullscreen}>
- <HugeiconsIcon
- icon={Alert02Icon}
+ <AlertCircle
className="size-14 text-destructive animate-in zoom-in duration-300"
/>
<div className="text-center space-y-1.5">
@@ -249,7 +242,7 @@ export function DevicePairing({
className="text-xs gap-1.5 h-7 px-3"
onClick={() => setMode("scan")}
>
- <HugeiconsIcon icon={Camera01Icon} className="size-3.5" />
+ <Camera className="size-3.5" />
Scan
</Button>
<Button
@@ -258,7 +251,7 @@ export function DevicePairing({
className="text-xs gap-1.5 h-7 px-3"
onClick={() => setMode("paste")}
>
- <HugeiconsIcon icon={TextIcon} className="size-3.5" />
+ <Type className="size-3.5" />
Paste
</Button>
</div>
@@ -287,16 +280,14 @@ export function DevicePairing({
)}
{pasteState === "success" && (
- <HugeiconsIcon
- icon={CheckmarkCircle02Icon}
+ <CheckCircle
className="size-14 text-(--tool-success) animate-in zoom-in duration-300"
/>
)}
{pasteState === "error" && (
<div className="flex flex-col items-center justify-center gap-2">
- <HugeiconsIcon
- icon={Alert02Icon}
+ <AlertCircle
className="size-12 text-(--tool-error)"
/>
{pasteError && (
diff --git a/packages/ui/src/components/exec-approval-item.tsx b/packages/ui/src/components/exec-approval-item.tsx
index 662d613675..8421edb810 100644
--- a/packages/ui/src/components/exec-approval-item.tsx
+++ b/packages/ui/src/components/exec-approval-item.tsx
@@ -1,13 +1,7 @@
"use client"
import { memo, useState, useEffect, useCallback } from "react"
-import { HugeiconsIcon } from "@hugeicons/react"
-import {
- Tick01Icon,
- TickDouble01Icon,
- Cancel01Icon,
- CommandLineIcon,
-} from "@hugeicons/core-free-icons"
+import { Check, CheckCheck, X, Terminal } from "lucide-react"
import { cn } from "@multica/ui/lib/utils"
import { Button } from "@multica/ui/components/ui/button"
@@ -75,7 +69,7 @@ export const ExecApprovalItem = memo(function ExecApprovalItem({
{/* Header: icon + risk label + countdown */}
<div className="flex items-center justify-between">
<div className="flex items-center gap-1.5">
- <HugeiconsIcon icon={CommandLineIcon} strokeWidth={2} className="size-3.5 shrink-0" />
+ <Terminal className="size-3.5 shrink-0" />
<span className="font-medium text-foreground">{riskLabel}</span>
</div>
{remaining !== null && remaining > 0 && !decided && (
@@ -113,7 +107,7 @@ export const ExecApprovalItem = memo(function ExecApprovalItem({
className="h-7 text-xs gap-1.5 px-2.5"
onClick={() => handleDecision("allow-once")}
>
- <HugeiconsIcon icon={Tick01Icon} strokeWidth={2} className="size-3.5" />
+ <Check className="size-3.5" />
Allow
</Button>
<Button
@@ -122,7 +116,7 @@ export const ExecApprovalItem = memo(function ExecApprovalItem({
className="h-7 text-xs gap-1.5 px-2.5"
onClick={() => handleDecision("allow-always")}
>
- <HugeiconsIcon icon={TickDouble01Icon} strokeWidth={2} className="size-3.5" />
+ <CheckCheck className="size-3.5" />
Always
</Button>
<Button
@@ -131,7 +125,7 @@ export const ExecApprovalItem = memo(function ExecApprovalItem({
className="h-7 text-xs gap-1.5 px-2.5"
onClick={() => handleDecision("deny")}
>
- <HugeiconsIcon icon={Cancel01Icon} strokeWidth={2} className="size-3.5" />
+ <X className="size-3.5" />
Deny
</Button>
</div>
diff --git a/packages/ui/src/components/qr-scanner-view.tsx b/packages/ui/src/components/qr-scanner-view.tsx
index 41dcaef819..bc44647564 100644
--- a/packages/ui/src/components/qr-scanner-view.tsx
+++ b/packages/ui/src/components/qr-scanner-view.tsx
@@ -5,14 +5,7 @@ import "./qr-scanner.css"
import { useState, useCallback, useRef, useEffect } from "react"
import { useQrScanner } from "@multica/ui/hooks/use-qr-scanner"
import { Spinner } from "@multica/ui/components/spinner"
-import { HugeiconsIcon } from "@hugeicons/react"
-import {
- Camera01Icon,
- Cancel01Icon,
- CheckmarkCircle02Icon,
- Alert02Icon,
- FlashlightIcon,
-} from "@hugeicons/core-free-icons"
+import { Camera, X, CheckCircle, AlertCircle, Flashlight } from "lucide-react"
type ScannerState =
| "idle"
@@ -203,8 +196,7 @@ export function QrScannerView({
onClick={handleStart}
className="flex items-center justify-center size-16 rounded-full bg-foreground/10 hover:bg-foreground/20 transition-colors"
>
- <HugeiconsIcon
- icon={Camera01Icon}
+ <Camera
className="size-7 text-muted-foreground"
/>
</button>
@@ -252,10 +244,8 @@ export function QrScannerView({
onClick={handleClose}
className="absolute top-3 left-3 flex items-center justify-center size-8 rounded-full bg-black/40 hover:bg-black/60 transition-colors z-10"
>
- <HugeiconsIcon
- icon={Cancel01Icon}
+ <X
className="size-4 text-white"
- strokeWidth={2}
/>
</button>
)}
@@ -267,8 +257,7 @@ export function QrScannerView({
onClick={toggleFlash}
className="absolute top-3 right-3 flex items-center justify-center size-8 rounded-full bg-black/40 hover:bg-black/60 transition-colors"
>
- <HugeiconsIcon
- icon={FlashlightIcon}
+ <Flashlight
className="size-4 text-white"
/>
</button>
@@ -277,8 +266,7 @@ export function QrScannerView({
{/* Success — full overlay */}
{state === "success" && (
<div className="absolute inset-0 flex items-center justify-center bg-[color:var(--tool-success)]/15 animate-in fade-in duration-200">
- <HugeiconsIcon
- icon={CheckmarkCircle02Icon}
+ <CheckCircle
className="size-14 text-[color:var(--tool-success)] animate-in zoom-in duration-300"
/>
</div>
@@ -287,8 +275,7 @@ export function QrScannerView({
{/* Error — full overlay */}
{state === "error" && (
<div className="absolute inset-0 flex flex-col items-center justify-center gap-2 bg-[color:var(--tool-error)]/15 animate-in fade-in duration-200">
- <HugeiconsIcon
- icon={Alert02Icon}
+ <AlertCircle
className="size-12 text-[color:var(--tool-error)]"
/>
{errorMessage && (
diff --git a/packages/ui/src/components/theme-toggle.tsx b/packages/ui/src/components/theme-toggle.tsx
index 45aa42dc7a..865269ac61 100644
--- a/packages/ui/src/components/theme-toggle.tsx
+++ b/packages/ui/src/components/theme-toggle.tsx
@@ -1,8 +1,7 @@
"use client"
import { useTheme } from "next-themes"
-import { HugeiconsIcon } from "@hugeicons/react"
-import { Sun01Icon, Moon01Icon, ComputerIcon } from "@hugeicons/core-free-icons"
+import { Sun, Moon, Monitor } from "lucide-react"
import {
DropdownMenu,
DropdownMenuTrigger,
@@ -19,21 +18,21 @@ export function ThemeToggle() {
<DropdownMenuTrigger
render={
<SidebarMenuButton>
- <HugeiconsIcon icon={Sun01Icon} className="dark:hidden" />
- <HugeiconsIcon icon={Moon01Icon} className="hidden dark:block" />
+ <Sun className="dark:hidden" />
+ <Moon className="hidden dark:block" />
<span>Theme</span>
</SidebarMenuButton>
}
/>
<DropdownMenuContent side="top" align="start">
<DropdownMenuItem onClick={() => setTheme("light")}>
- <HugeiconsIcon icon={Sun01Icon} /> Light
+ <Sun /> Light
</DropdownMenuItem>
<DropdownMenuItem onClick={() => setTheme("dark")}>
- <HugeiconsIcon icon={Moon01Icon} /> Dark
+ <Moon /> Dark
</DropdownMenuItem>
<DropdownMenuItem onClick={() => setTheme("system")}>
- <HugeiconsIcon icon={ComputerIcon} /> System
+ <Monitor /> System
</DropdownMenuItem>
</DropdownMenuContent>
</DropdownMenu>
diff --git a/packages/ui/src/components/thinking-item.tsx b/packages/ui/src/components/thinking-item.tsx
index 417fa3627f..4ad9ca9180 100644
--- a/packages/ui/src/components/thinking-item.tsx
+++ b/packages/ui/src/components/thinking-item.tsx
@@ -1,11 +1,7 @@
"use client"
import { memo, useState } from "react"
-import { HugeiconsIcon } from "@hugeicons/react"
-import {
- AiBrain01Icon,
- ArrowRight01Icon,
-} from "@hugeicons/core-free-icons"
+import { Brain, ChevronRight } from "lucide-react"
import { cn } from "@multica/ui/lib/utils"
interface ThinkingItemProps {
@@ -47,9 +43,7 @@ export const ThinkingItem = memo(function ThinkingItem({ thinking, isStreaming }
/>
{/* Icon */}
- <HugeiconsIcon
- icon={AiBrain01Icon}
- strokeWidth={2}
+ <Brain
className="size-3.5 shrink-0"
/>
@@ -67,9 +61,7 @@ export const ThinkingItem = memo(function ThinkingItem({ thinking, isStreaming }
{/* Chevron — visible on hover when expandable */}
{hasContent && (
- <HugeiconsIcon
- icon={ArrowRight01Icon}
- strokeWidth={2}
+ <ChevronRight
className={cn(
"size-3 text-muted-foreground/40 shrink-0",
"transition-[transform,opacity] duration-150",
diff --git a/packages/ui/src/components/tool-call-item.tsx b/packages/ui/src/components/tool-call-item.tsx
index 87e665f67d..4d1a043b39 100644
--- a/packages/ui/src/components/tool-call-item.tsx
+++ b/packages/ui/src/components/tool-call-item.tsx
@@ -1,19 +1,19 @@
"use client"
import { memo, useState } from "react"
-import { HugeiconsIcon } from "@hugeicons/react"
import {
- File01Icon,
- FloppyDiskIcon,
- FileEditIcon,
- CommandLineIcon,
- Search01Icon,
- FolderOpenIcon,
- GlobeIcon,
- DatabaseIcon,
- GitBranchIcon,
- ArrowRight01Icon,
-} from "@hugeicons/core-free-icons"
+ File,
+ Save,
+ FileEdit,
+ Terminal,
+ Search,
+ FolderOpen,
+ Globe,
+ Database,
+ GitBranch,
+ ChevronRight,
+ type LucideIcon,
+} from "lucide-react"
import { cn, getTextContent } from "@multica/ui/lib/utils"
import type { Message } from "@multica/store"
@@ -21,24 +21,24 @@ import type { Message } from "@multica/store"
// Tool display config
// ---------------------------------------------------------------------------
-const TOOL_DISPLAY: Record<string, { label: string; icon: typeof File01Icon }> = {
- read: { label: "Read", icon: File01Icon },
- write: { label: "Write", icon: FloppyDiskIcon },
- edit: { label: "Edit", icon: FileEditIcon },
- exec: { label: "Exec", icon: CommandLineIcon },
- bash: { label: "Exec", icon: CommandLineIcon },
- process: { label: "Process", icon: CommandLineIcon },
- grep: { label: "Grep", icon: Search01Icon },
- find: { label: "Find", icon: Search01Icon },
- ls: { label: "ListDir", icon: FolderOpenIcon },
- glob: { label: "Glob", icon: Search01Icon },
- web_search: { label: "WebSearch", icon: GlobeIcon },
- web_fetch: { label: "WebFetch", icon: GlobeIcon },
- memory_get: { label: "MemoryGet", icon: DatabaseIcon },
- memory_set: { label: "MemorySet", icon: DatabaseIcon },
- memory_delete: { label: "MemoryDelete", icon: DatabaseIcon },
- memory_list: { label: "MemoryList", icon: DatabaseIcon },
- sessions_spawn: { label: "SpawnSession", icon: GitBranchIcon },
+const TOOL_DISPLAY: Record<string, { label: string; icon: LucideIcon }> = {
+ read: { label: "Read", icon: File },
+ write: { label: "Write", icon: Save },
+ edit: { label: "Edit", icon: FileEdit },
+ exec: { label: "Exec", icon: Terminal },
+ bash: { label: "Exec", icon: Terminal },
+ process: { label: "Process", icon: Terminal },
+ grep: { label: "Grep", icon: Search },
+ find: { label: "Find", icon: Search },
+ ls: { label: "ListDir", icon: FolderOpen },
+ glob: { label: "Glob", icon: Search },
+ web_search: { label: "WebSearch", icon: Globe },
+ web_fetch: { label: "WebFetch", icon: Globe },
+ memory_get: { label: "MemoryGet", icon: Database },
+ memory_set: { label: "MemorySet", icon: Database },
+ memory_delete: { label: "MemoryDelete", icon: Database },
+ memory_list: { label: "MemoryList", icon: Database },
+ sessions_spawn: { label: "SpawnSession", icon: GitBranch },
}
// ---------------------------------------------------------------------------
@@ -125,7 +125,7 @@ export const ToolCallItem = memo(function ToolCallItem({ message }: { message: M
const [expanded, setExpanded] = useState(false)
const { toolName = "", toolStatus = "running", toolArgs, content } = message
- const display = TOOL_DISPLAY[toolName] ?? { label: toolName, icon: CommandLineIcon }
+ const display = TOOL_DISPLAY[toolName] ?? { label: toolName, icon: Terminal }
const isFinished = toolStatus !== "running"
const resultText = getTextContent(content)
const hasDetails = isFinished && !!resultText
@@ -161,9 +161,7 @@ export const ToolCallItem = memo(function ToolCallItem({ message }: { message: M
/>
{/* Tool icon */}
- <HugeiconsIcon
- icon={display.icon}
- strokeWidth={2}
+ <display.icon
className={cn("size-3.5 shrink-0", toolStatus === "error" && "text-[var(--tool-error)]")}
/>
@@ -196,9 +194,7 @@ export const ToolCallItem = memo(function ToolCallItem({ message }: { message: M
{/* Chevron — visible on hover when expandable */}
{hasDetails && (
- <HugeiconsIcon
- icon={ArrowRight01Icon}
- strokeWidth={2}
+ <ChevronRight
className={cn(
"size-3 text-muted-foreground/40 shrink-0",
"transition-[transform,opacity] duration-150",
diff --git a/packages/ui/src/components/ui/checkbox.tsx b/packages/ui/src/components/ui/checkbox.tsx
index 77c41463f8..53e99226fa 100644
--- a/packages/ui/src/components/ui/checkbox.tsx
+++ b/packages/ui/src/components/ui/checkbox.tsx
@@ -3,8 +3,7 @@
import { Checkbox as CheckboxPrimitive } from "@base-ui/react/checkbox"
import { cn } from "@multica/ui/lib/utils"
-import { HugeiconsIcon } from "@hugeicons/react"
-import { Tick02Icon } from "@hugeicons/core-free-icons"
+import { Check } from "lucide-react"
function Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props) {
return (
@@ -20,7 +19,7 @@ function Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props) {
data-slot="checkbox-indicator"
className="[&>svg]:size-3.5 grid place-content-center text-current transition-none"
>
- <HugeiconsIcon icon={Tick02Icon} strokeWidth={2} />
+ <Check />
</CheckboxPrimitive.Indicator>
</CheckboxPrimitive.Root>
)
diff --git a/packages/ui/src/components/ui/combobox.tsx b/packages/ui/src/components/ui/combobox.tsx
index e660471daa..bf7e3c5d04 100644
--- a/packages/ui/src/components/ui/combobox.tsx
+++ b/packages/ui/src/components/ui/combobox.tsx
@@ -11,8 +11,7 @@ import {
InputGroupButton,
InputGroupInput,
} from "@multica/ui/components/ui/input-group"
-import { HugeiconsIcon } from "@hugeicons/react"
-import { ArrowDown01Icon, Cancel01Icon, Tick02Icon } from "@hugeicons/core-free-icons"
+import { ChevronDown, X, Check } from "lucide-react"
const Combobox = ComboboxPrimitive.Root
@@ -32,7 +31,7 @@ function ComboboxTrigger({
{...props}
>
{children}
- <HugeiconsIcon icon={ArrowDown01Icon} strokeWidth={2} className="text-muted-foreground size-4 pointer-events-none" />
+ <ChevronDown className="text-muted-foreground size-4 pointer-events-none" />
</ComboboxPrimitive.Trigger>
)
}
@@ -45,7 +44,7 @@ function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props) {
className={cn(className)}
{...props}
>
- <HugeiconsIcon icon={Cancel01Icon} strokeWidth={2} className="pointer-events-none" />
+ <X className="pointer-events-none" />
</ComboboxPrimitive.Clear>
)
}
@@ -150,7 +149,7 @@ function ComboboxItem({
<ComboboxPrimitive.ItemIndicator
render={<span className="pointer-events-none absolute right-2 flex size-4 items-center justify-center" />}
>
- <HugeiconsIcon icon={Tick02Icon} strokeWidth={2} className="pointer-events-none" />
+ <Check className="pointer-events-none" />
</ComboboxPrimitive.ItemIndicator>
</ComboboxPrimitive.Item>
)
@@ -246,7 +245,7 @@ function ComboboxChip({
className="-ml-1 opacity-50 hover:opacity-100"
data-slot="combobox-chip-remove"
>
- <HugeiconsIcon icon={Cancel01Icon} strokeWidth={2} className="pointer-events-none" />
+ <X className="pointer-events-none" />
</ComboboxPrimitive.ChipRemove>
)}
</ComboboxPrimitive.Chip>
diff --git a/packages/ui/src/components/ui/dialog.tsx b/packages/ui/src/components/ui/dialog.tsx
index 1e14624a2a..44ab7937c9 100644
--- a/packages/ui/src/components/ui/dialog.tsx
+++ b/packages/ui/src/components/ui/dialog.tsx
@@ -5,8 +5,7 @@ import { Dialog as DialogPrimitive } from "@base-ui/react/dialog"
import { cn } from "@multica/ui/lib/utils"
import { Button } from "@multica/ui/components/ui/button"
-import { HugeiconsIcon } from "@hugeicons/react"
-import { Cancel01Icon } from "@hugeicons/core-free-icons"
+import { X } from "lucide-react"
function Dialog({ ...props }: DialogPrimitive.Root.Props) {
return <DialogPrimitive.Root data-slot="dialog" {...props} />
@@ -71,7 +70,7 @@ function DialogContent({
/>
}
>
- <HugeiconsIcon icon={Cancel01Icon} strokeWidth={2} />
+ <X />
<span className="sr-only">Close</span>
</DialogPrimitive.Close>
)}
diff --git a/packages/ui/src/components/ui/dropdown-menu.tsx b/packages/ui/src/components/ui/dropdown-menu.tsx
index 158d0b273b..e09f775600 100644
--- a/packages/ui/src/components/ui/dropdown-menu.tsx
+++ b/packages/ui/src/components/ui/dropdown-menu.tsx
@@ -4,8 +4,7 @@ import * as React from "react"
import { Menu as MenuPrimitive } from "@base-ui/react/menu"
import { cn } from "@multica/ui/lib/utils"
-import { HugeiconsIcon } from "@hugeicons/react"
-import { ArrowRight01Icon, Tick02Icon } from "@hugeicons/core-free-icons"
+import { ChevronRight, Check } from "lucide-react"
function DropdownMenu({ ...props }: MenuPrimitive.Root.Props) {
return <MenuPrimitive.Root data-slot="dropdown-menu" {...props} />
@@ -117,7 +116,7 @@ function DropdownMenuSubTrigger({
{...props}
>
{children}
- <HugeiconsIcon icon={ArrowRight01Icon} strokeWidth={2} className="ml-auto" />
+ <ChevronRight className="ml-auto" />
</MenuPrimitive.SubmenuTrigger>
)
}
@@ -164,7 +163,7 @@ function DropdownMenuCheckboxItem({
data-slot="dropdown-menu-checkbox-item-indicator"
>
<MenuPrimitive.CheckboxItemIndicator>
- <HugeiconsIcon icon={Tick02Icon} strokeWidth={2} />
+ <Check />
</MenuPrimitive.CheckboxItemIndicator>
</span>
{children}
@@ -200,7 +199,7 @@ function DropdownMenuRadioItem({
data-slot="dropdown-menu-radio-item-indicator"
>
<MenuPrimitive.RadioItemIndicator>
- <HugeiconsIcon icon={Tick02Icon} strokeWidth={2} />
+ <Check />
</MenuPrimitive.RadioItemIndicator>
</span>
{children}
diff --git a/packages/ui/src/components/ui/select.tsx b/packages/ui/src/components/ui/select.tsx
index d52c2333cb..f7a2f12755 100644
--- a/packages/ui/src/components/ui/select.tsx
+++ b/packages/ui/src/components/ui/select.tsx
@@ -4,8 +4,7 @@ import * as React from "react"
import { Select as SelectPrimitive } from "@base-ui/react/select"
import { cn } from "@multica/ui/lib/utils"
-import { HugeiconsIcon } from "@hugeicons/react"
-import { UnfoldMoreIcon, Tick02Icon, ArrowUp01Icon, ArrowDown01Icon } from "@hugeicons/core-free-icons"
+import { ChevronsUpDown, Check, ChevronUp, ChevronDown } from "lucide-react"
const Select = SelectPrimitive.Root
@@ -50,7 +49,7 @@ function SelectTrigger({
{children}
<SelectPrimitive.Icon
render={
- <HugeiconsIcon icon={UnfoldMoreIcon} strokeWidth={2} className="text-muted-foreground size-4 pointer-events-none" />
+ <ChevronsUpDown className="text-muted-foreground size-4 pointer-events-none" />
}
/>
</SelectPrimitive.Trigger>
@@ -129,7 +128,7 @@ function SelectItem({
<SelectPrimitive.ItemIndicator
render={<span className="pointer-events-none absolute right-2 flex size-4 items-center justify-center" />}
>
- <HugeiconsIcon icon={Tick02Icon} strokeWidth={2} className="pointer-events-none" />
+ <Check className="pointer-events-none" />
</SelectPrimitive.ItemIndicator>
</SelectPrimitive.Item>
)
@@ -158,7 +157,7 @@ function SelectScrollUpButton({
className={cn("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4 top-0 w-full", className)}
{...props}
>
- <HugeiconsIcon icon={ArrowUp01Icon} strokeWidth={2} />
+ <ChevronUp />
</SelectPrimitive.ScrollUpArrow>
)
}
@@ -173,7 +172,7 @@ function SelectScrollDownButton({
className={cn("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4 bottom-0 w-full", className)}
{...props}
>
- <HugeiconsIcon icon={ArrowDown01Icon} strokeWidth={2} />
+ <ChevronDown />
</SelectPrimitive.ScrollDownArrow>
)
}
diff --git a/packages/ui/src/components/ui/sheet.tsx b/packages/ui/src/components/ui/sheet.tsx
index 69aea14efc..297f083c7c 100644
--- a/packages/ui/src/components/ui/sheet.tsx
+++ b/packages/ui/src/components/ui/sheet.tsx
@@ -5,8 +5,7 @@ import { Dialog as SheetPrimitive } from "@base-ui/react/dialog"
import { cn } from "@multica/ui/lib/utils"
import { Button } from "@multica/ui/components/ui/button"
-import { HugeiconsIcon } from "@hugeicons/react"
-import { Cancel01Icon } from "@hugeicons/core-free-icons"
+import { X } from "lucide-react"
function Sheet({ ...props }: SheetPrimitive.Root.Props) {
return <SheetPrimitive.Root data-slot="sheet" {...props} />
@@ -65,7 +64,7 @@ function SheetContent({
/>
}
>
- <HugeiconsIcon icon={Cancel01Icon} strokeWidth={2} />
+ <X />
<span className="sr-only">Close</span>
</SheetPrimitive.Close>
)}
diff --git a/packages/ui/src/components/ui/sidebar.tsx b/packages/ui/src/components/ui/sidebar.tsx
index 50992c6766..07469808bf 100644
--- a/packages/ui/src/components/ui/sidebar.tsx
+++ b/packages/ui/src/components/ui/sidebar.tsx
@@ -23,8 +23,7 @@ import {
TooltipContent,
TooltipTrigger,
} from "@multica/ui/components/ui/tooltip"
-import { HugeiconsIcon } from "@hugeicons/react"
-import { SidebarLeftIcon } from "@hugeicons/core-free-icons"
+import { PanelLeft } from "lucide-react"
const SIDEBAR_COOKIE_NAME = "sidebar_state"
const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7
@@ -272,7 +271,7 @@ function SidebarTrigger({
}}
{...props}
>
- <HugeiconsIcon icon={SidebarLeftIcon} strokeWidth={2} />
+ <PanelLeft />
<span className="sr-only">Toggle Sidebar</span>
</Button>
)
diff --git a/packages/ui/src/components/ui/sonner.tsx b/packages/ui/src/components/ui/sonner.tsx
index 8aa1ce3654..a1940823b3 100644
--- a/packages/ui/src/components/ui/sonner.tsx
+++ b/packages/ui/src/components/ui/sonner.tsx
@@ -2,8 +2,7 @@
import { useTheme } from "next-themes"
import { Toaster as Sonner, toast, type ToasterProps } from "sonner"
-import { HugeiconsIcon } from "@hugeicons/react"
-import { CheckmarkCircle02Icon, InformationCircleIcon, Alert02Icon, MultiplicationSignCircleIcon, Loading03Icon } from "@hugeicons/core-free-icons"
+import { CheckCircle, Info, AlertCircle, XCircle, Loader2 } from "lucide-react"
const Toaster = ({ ...props }: ToasterProps) => {
const { theme = "system" } = useTheme()
@@ -14,19 +13,19 @@ const Toaster = ({ ...props }: ToasterProps) => {
className="toaster group"
icons={{
success: (
- <HugeiconsIcon icon={CheckmarkCircle02Icon} strokeWidth={2} className="size-4 text-emerald-500" />
+ <CheckCircle className="size-4 text-emerald-500" />
),
info: (
- <HugeiconsIcon icon={InformationCircleIcon} strokeWidth={2} className="size-4 text-blue-500" />
+ <Info className="size-4 text-blue-500" />
),
warning: (
- <HugeiconsIcon icon={Alert02Icon} strokeWidth={2} className="size-4 text-amber-500" />
+ <AlertCircle className="size-4 text-amber-500" />
),
error: (
- <HugeiconsIcon icon={MultiplicationSignCircleIcon} strokeWidth={2} className="size-4 text-red-500" />
+ <XCircle className="size-4 text-red-500" />
),
loading: (
- <HugeiconsIcon icon={Loading03Icon} strokeWidth={2} className="size-4 text-muted-foreground animate-spin" />
+ <Loader2 className="size-4 text-muted-foreground animate-spin" />
),
}}
style={
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index c136db71d2..fc9cc0d1b4 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -6,12 +6,6 @@ settings:
catalogs:
default:
- '@hugeicons/core-free-icons':
- specifier: ^3.1.1
- version: 3.1.1
- '@hugeicons/react':
- specifier: ^1.1.4
- version: 1.1.5
'@mariozechner/pi-agent-core':
specifier: ^0.52.9
version: 0.52.9
@@ -135,6 +129,9 @@ importers:
linkedom:
specifier: ^0.18.12
version: 0.18.12
+ lucide-react:
+ specifier: ^0.563.0
+ version: 0.563.0([email protected])
mysql2:
specifier: ^3.14.1
version: 3.16.3
@@ -230,12 +227,6 @@ importers:
apps/desktop:
dependencies:
- '@hugeicons/core-free-icons':
- specifier: 'catalog:'
- version: 3.1.1
- '@hugeicons/react':
- specifier: 'catalog:'
- version: 1.1.5([email protected])
'@multica/core':
specifier: workspace:*
version: link:../../packages/core
@@ -251,6 +242,9 @@ importers:
'@multica/ui':
specifier: workspace:*
version: link:../../packages/ui
+ lucide-react:
+ specifier: ^0.563.0
+ version: 0.563.0([email protected])
qrcode.react:
specifier: ^4.2.0
version: 4.2.0([email protected])
@@ -370,12 +364,6 @@ importers:
'@expo/vector-icons':
specifier: ^15.0.3
- '@hugeicons/core-free-icons':
- specifier: ^3.1.1
- version: 3.1.1
- '@hugeicons/react-native':
- specifier: ^1.0.11
'@react-navigation/bottom-tabs':
specifier: ^7.4.0
@@ -537,12 +525,6 @@ importers:
apps/web:
dependencies:
- '@hugeicons/core-free-icons':
- specifier: 'catalog:'
- version: 3.1.1
- '@hugeicons/react':
- specifier: 'catalog:'
- version: 1.1.5([email protected])
'@multica/hooks':
specifier: workspace:*
version: link:../../packages/hooks
@@ -740,12 +722,6 @@ importers:
'@fontsource/geist-sans':
specifier: ^5.2.5
version: 5.2.5
- '@hugeicons/core-free-icons':
- specifier: 'catalog:'
- version: 3.1.1
- '@hugeicons/react':
- specifier: 'catalog:'
- version: 1.1.5([email protected])
'@multica/store':
specifier: workspace:*
version: link:../store
@@ -770,6 +746,9 @@ importers:
linkify-it:
specifier: ^5.0.0
version: 5.0.0
+ lucide-react:
+ specifier: ^0.563.0
+ version: 0.563.0([email protected])
next-themes:
specifier: ^0.4.6
@@ -2270,21 +2249,6 @@ packages:
peerDependencies:
hono: ^4
- '@hugeicons/[email protected]':
- resolution: {integrity: sha512-UpS2lUQFi5sKyJSWwM6rO+BnPLvVz1gsyCpPHeZyVuZqi89YH8ksliza4cwaODqKOZyeXmG8juo1ty4QtQofkg==}
-
- '@hugeicons/[email protected]':
- resolution: {integrity: sha512-HCUhHrFbL30ArN7tWV7+udnd1Qotu/eKcys63PELui3XVxP0DPPEvgFJqgbdig2afrLltroP7QCAdBNWOorWSg==}
- peerDependencies:
- react: '>=16.0.0'
- react-native: '>=0.60.0'
- react-native-svg: '>=12.0.0'
-
- '@hugeicons/[email protected]':
- resolution: {integrity: sha512-JX/iDz3oO7hWdVqbjwFwRrAjHk8h2vI+mBkNzp4JcXG3t4idoupfjon73nLOA7cr27m0M8hrRC1Q2h6nEBGKVA==}
- peerDependencies:
- react: '>=16.0.0'
-
'@humanfs/[email protected]':
resolution: {integrity: sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==}
engines: {node: '>=18.18.0'}
@@ -7243,6 +7207,11 @@ packages:
react-native: '*'
react-native-svg: ^12.0.0 || ^13.0.0 || ^14.0.0 || ^15.0.0
+ resolution: {integrity: sha512-8dXPB2GI4dI8jV4MgUDGBeLdGk8ekfqVZ0BdLcrRzocGgG75ltNEmWS+gE7uokKF/0oSUuczNDT+g9hFJ23FkA==}
+ peerDependencies:
+ react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0
+
resolution: {integrity: sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==}
@@ -12083,18 +12052,6 @@ snapshots:
dependencies:
hono: 4.11.9
- '@hugeicons/[email protected]': {}
-
- dependencies:
- react: 19.1.0
- react-native: 0.81.5(@babel/[email protected])(@types/[email protected])([email protected])
-
- dependencies:
- react: 19.2.3
-
'@humanfs/[email protected]': {}
'@humanfs/[email protected]':
@@ -15957,7 +15914,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
dependencies:
debug: 3.2.7
optionalDependencies:
@@ -15988,7 +15945,7 @@ snapshots:
doctrine: 2.1.0
eslint: 9.39.2([email protected])
eslint-import-resolver-node: 0.3.9
hasown: 2.0.2
is-core-module: 2.16.1
is-glob: 4.0.3
@@ -17852,6 +17809,10 @@ snapshots:
react-native: 0.81.5(@babel/[email protected])(@types/[email protected])([email protected])
+ dependencies:
+ react: 19.2.3
+
dependencies:
'@jridgewell/sourcemap-codec': 1.5.5
diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml
index 8147ccb186..6bbd51a203 100644
--- a/pnpm-workspace.yaml
+++ b/pnpm-workspace.yaml
@@ -25,8 +25,7 @@ catalog:
clsx: "^2.1.1"
# Icons
- "@hugeicons/react": "^1.1.4"
- "@hugeicons/core-free-icons": "^3.1.1"
+ lucide-react: "^0.511.0"
# Networking
socket.io-client: "^4.8.3"