#1 PDF Application on GitHub that lets you edit PDFs on any device anywhere
TypeScript dockerhacktoberfestjavapdfpdf-converterpdf-editorpdf-manipulationpdf-mergerpdf-ocrpdf-toolspdf-web-appspdfmergerself-hosted
Render settings, billing, onboarding and the processor through <Icon> (#7900)
EthanHealy01dd6ff011e6f5
diff --git a/frontend/editor/src/cloud/components/onboarding/SaasOnboardingModal.tsx b/frontend/editor/src/cloud/components/onboarding/SaasOnboardingModal.tsxindex 48d2b3087f..3eaff499ee 100644--- a/frontend/editor/src/cloud/components/onboarding/SaasOnboardingModal.tsx+++ b/frontend/editor/src/cloud/components/onboarding/SaasOnboardingModal.tsx@@ -1,5 +1,4 @@-import BoltRoundedIcon from "@mui/icons-material/BoltRounded";-import GroupAddRoundedIcon from "@mui/icons-material/GroupAddRounded";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";import OnboardingSlideShell, {ShellHero,@@ -47,8 +46,8 @@ export default function SaasOnboardingModal(props: SaasOnboardingModalProps) {<ShellHero appIcon />) : (<ShellHero>- {heroType === "bolt" && <BoltRoundedIcon sx={{ fontSize: 30 }} />}- {heroType === "team" && <GroupAddRoundedIcon sx={{ fontSize: 30 }} />}+ {heroType === "bolt" && <Icon name="zap" size={30} />}+ {heroType === "team" && <Icon name="users-plus" size={30} />}</ShellHero>);diff --git a/frontend/editor/src/cloud/components/onboarding/renderButtons.tsx b/frontend/editor/src/cloud/components/onboarding/renderButtons.tsxindex 7ff108d121..61c95cb5e1 100644--- a/frontend/editor/src/cloud/components/onboarding/renderButtons.tsx+++ b/frontend/editor/src/cloud/components/onboarding/renderButtons.tsx@@ -2,7 +2,7 @@ import React from "react";import { Group } from "@mantine/core";import { Button } from "@app/ui/Button";import { ActionIcon } from "@app/ui/ActionIcon";-import ChevronLeftIcon from "@mui/icons-material/ChevronLeft";+import { Icon } from "@app/ui/Icon";import { TFunction } from "i18next";import {ButtonDefinition,@@ -58,7 +58,7 @@ export function renderButtons({aria-label={t("onboarding.buttons.back", "Back")}>{button.icon === "chevron-left" ? (- <ChevronLeftIcon fontSize="small" />+ <Icon name="chevron-left" size={20} />) : null}</ActionIcon>);diff --git a/frontend/editor/src/cloud/components/shared/FreeLimitReachedModal.tsx b/frontend/editor/src/cloud/components/shared/FreeLimitReachedModal.tsxindex 3707aea7b7..5240a0301b 100644--- a/frontend/editor/src/cloud/components/shared/FreeLimitReachedModal.tsx+++ b/frontend/editor/src/cloud/components/shared/FreeLimitReachedModal.tsx@@ -2,7 +2,7 @@ import { useMemo } from "react";import { Modal, Stack } from "@mantine/core";import { Button } from "@app/ui/Button";import { useTranslation } from "react-i18next";-import CelebrationIcon from "@mui/icons-material/CelebrationOutlined";+import { Icon } from "@app/ui/Icon";import AnimatedSlideBackground from "@app/components/onboarding/slides/AnimatedSlideBackground";import styles from "@app/components/onboarding/InitialOnboardingModal/InitialOnboardingModal.module.css";import { Z_INDEX_OVER_FULLSCREEN_SURFACE } from "@app/styles/zIndex";@@ -113,7 +113,11 @@ export function FreeLimitReachedModal({ onClose }: FreeLimitReachedModalProps) {/><div className={styles.heroLogo}><div className={styles.heroLogoCircle}>- <CelebrationIcon sx={{ fontSize: 64, color: "#000000" }} />+ <Icon+ name="party-popper"+ size={64}+ style={{ color: "#000000" }}+ /></div></div></div>diff --git a/frontend/editor/src/cloud/components/shared/SpendCapReachedModal.tsx b/frontend/editor/src/cloud/components/shared/SpendCapReachedModal.tsxindex 405bbe2ef2..c506f7b51f 100644--- a/frontend/editor/src/cloud/components/shared/SpendCapReachedModal.tsx+++ b/frontend/editor/src/cloud/components/shared/SpendCapReachedModal.tsx@@ -2,7 +2,7 @@ import { useMemo } from "react";import { Modal, Stack } from "@mantine/core";import { Button } from "@app/ui/Button";import { useTranslation } from "react-i18next";-import TrendingUpIcon from "@mui/icons-material/TrendingUpOutlined";+import { Icon } from "@app/ui/Icon";import AnimatedSlideBackground from "@app/components/onboarding/slides/AnimatedSlideBackground";import styles from "@app/components/onboarding/InitialOnboardingModal/InitialOnboardingModal.module.css";import { Z_INDEX_OVER_FULLSCREEN_SURFACE } from "@app/styles/zIndex";@@ -113,7 +113,7 @@ export function SpendCapReachedModal({ onClose }: SpendCapReachedModalProps) {/><div className={styles.heroLogo}><div className={styles.heroLogoCircle}>- <TrendingUpIcon sx={{ fontSize: 64, color: "#000000" }} />+ <Icon name="trending-up" size={64} style={{ color: "#000000" }} /></div></div></div>diff --git a/frontend/editor/src/cloud/components/shared/TeamInvitationBanner.tsx b/frontend/editor/src/cloud/components/shared/TeamInvitationBanner.tsxindex 638c752f9e..5566dfef0a 100644--- a/frontend/editor/src/cloud/components/shared/TeamInvitationBanner.tsx+++ b/frontend/editor/src/cloud/components/shared/TeamInvitationBanner.tsx@@ -2,7 +2,7 @@ import { useState } from "react";import { Group, Text } from "@mantine/core";import { Button } from "@app/ui/Button";import { useTranslation } from "react-i18next";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { AppBanner } from "@app/components/shared/AppBanner";import { useSaaSTeam } from "@app/contexts/SaaSTeamContext";@@ -82,10 +82,9 @@ export function TeamInvitationBanner() {onClick={handleAccept}loading={processing}leftSection={- <LocalIcon- icon="check"- width="0.9rem"- height="0.9rem"+ <Icon+ name="check"+ size="0.9rem"style={{ color: "var(--mantine-color-dark-9)" }}/>}diff --git a/frontend/editor/src/cloud/components/shared/config/cloudConfigNavSections.tsx b/frontend/editor/src/cloud/components/shared/config/cloudConfigNavSections.tsxindex a01cd26779..ad7cb6c13d 100644--- a/frontend/editor/src/cloud/components/shared/config/cloudConfigNavSections.tsx+++ b/frontend/editor/src/cloud/components/shared/config/cloudConfigNavSections.tsx@@ -45,7 +45,7 @@ export function createCloudTeamNavItem(t: Translate): ConfigNavItem {"config.teamDescription","Who shares this workspace, and invitations still waiting on an answer.",),- icon: "groups-rounded",+ icon: "users",component: <TeamSection />,};}diff --git a/frontend/editor/src/cloud/components/shared/config/configSections/Payg.tsx b/frontend/editor/src/cloud/components/shared/config/configSections/Payg.tsxindex da6db6e46c..cb4c50f5e7 100644--- a/frontend/editor/src/cloud/components/shared/config/configSections/Payg.tsx+++ b/frontend/editor/src/cloud/components/shared/config/configSections/Payg.tsx@@ -19,13 +19,7 @@ import React, { useState } from "react";import { Alert, Badge, Group, Stack, Text } from "@mantine/core";import { Button } from "@app/ui/Button";import { useRenderCount } from "@app/hooks/useRenderCount";-import OpenInNewIcon from "@mui/icons-material/OpenInNew";-import LockIcon from "@mui/icons-material/LockOutlined";-import CheckIcon from "@mui/icons-material/CheckRounded";-import HelpOutlineIcon from "@mui/icons-material/HelpOutlineRounded";-import ExpandMoreIcon from "@mui/icons-material/ExpandMoreRounded";-import BoltIcon from "@mui/icons-material/BoltRounded";-import AllInclusiveIcon from "@mui/icons-material/AllInclusiveRounded";+import { Icon } from "@app/ui/Icon";import { alert as showToast } from "@app/components/toast";import {PrepaidCapacityMeterPanel,@@ -120,10 +114,10 @@ export function DocHelp() {className="payg-help__toggle"aria-expanded={open}onClick={() => setOpen((o) => !o)}- leftSection={<HelpOutlineIcon sx={{ fontSize: 15 }} />}+ leftSection={<Icon name="circle-question-mark" size={15} />}>{t("payg.docHelp.toggle", "What counts as a PDF?")}- <ExpandMoreIcon className="payg-help__chevron" sx={{ fontSize: 16 }} />+ <Icon name="chevron-down" size={16} className="payg-help__chevron" /></Button>{open && (<div className="payg-help__panel">@@ -456,10 +450,10 @@ function CapReachedHelp() {className="payg-help__toggle"aria-expanded={open}onClick={() => setOpen((o) => !o)}- leftSection={<HelpOutlineIcon sx={{ fontSize: 15 }} />}+ leftSection={<Icon name="circle-question-mark" size={15} />}>{t("payg.gates.title", "What happens when the cap is reached")}- <ExpandMoreIcon className="payg-help__chevron" sx={{ fontSize: 16 }} />+ <Icon name="chevron-down" size={16} className="payg-help__chevron" /></Button>{open && (<div className="payg-help__panel">@@ -468,9 +462,9 @@ function CapReachedHelp() {<div className="payg-gate" data-enabled={staysAtCap} key={gate}><span className="payg-gate__chip">{staysAtCap ? (- <CheckIcon sx={{ fontSize: 18 }} />+ <Icon name="check" size={18} />) : (- <LockIcon sx={{ fontSize: 16 }} />+ <Icon name="lock" size={16} />)}</span><span className="payg-gate__label">{gateLabel(gate, t)}</span>@@ -660,7 +654,7 @@ function StripePortalLink({<ButtononClick={handleClick}loading={loading}- rightSection={<OpenInNewIcon sx={{ fontSize: 16 }} />}+ rightSection={<Icon name="external-link" size={16} />}variant="secondary">{t("payg.stripe.open", "Open billing portal")}@@ -780,9 +774,10 @@ const Payg: React.FC<PaygProps> = ({<div className="payg-planhead__split"><div className="payg-planhead__col"><div className="payg-planhead__lbl payg-planhead__lbl--free">- <AllInclusiveIcon+ <Icon+ name="infinity"+ size={16}className="payg-planhead__lbl-icon"- fontSize="small"/>{t("payg.header.freeLabel", "Always free")}</div>@@ -799,9 +794,10 @@ const Payg: React.FC<PaygProps> = ({<div className="payg-planhead__col payg-planhead__col--meter"><div className="payg-planhead__lbl payg-planhead__lbl--meter">- <BoltIcon+ <Icon+ name="zap"+ size={16}className="payg-planhead__lbl-icon"- fontSize="small"/>{t("payg.header.meterLabel", "Metered")}</div>diff --git a/frontend/editor/src/cloud/components/shared/config/configSections/PaygFree.tsx b/frontend/editor/src/cloud/components/shared/config/configSections/PaygFree.tsxindex 257738175b..40ae92bebb 100644--- a/frontend/editor/src/cloud/components/shared/config/configSections/PaygFree.tsx+++ b/frontend/editor/src/cloud/components/shared/config/configSections/PaygFree.tsx@@ -25,10 +25,7 @@import React, { useState } from "react";import { Stack } from "@mantine/core";import { Button } from "@app/ui/Button";-import BoltIcon from "@mui/icons-material/BoltRounded";-import AllInclusiveIcon from "@mui/icons-material/AllInclusiveRounded";-import CheckIcon from "@mui/icons-material/CheckRounded";-import LockIcon from "@mui/icons-material/LockOutlined";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";import { useRenderCount } from "@app/hooks/useRenderCount";import { useWallet } from "@app/hooks/useWallet";@@ -64,10 +61,7 @@ function EditorPlanCard({ pill, leader }: EditorPlanCardProps) {<div className="payg-planhead paygf-editorcard"><div className="payg-planhead__top"><span className="payg-planhead__lbl payg-planhead__lbl--free paygf-editorcard__eyebrow">- <AllInclusiveIcon- className="payg-planhead__lbl-icon"- fontSize="small"- />+ <Icon name="infinity" size={16} className="payg-planhead__lbl-icon" />{t("payg.free.editor.eyebrow", "Editor plan · Always free")}</span><span@@ -103,7 +97,7 @@ function ProcessorCard({ snap, isLeader, onTurnOn }: ProcessorCardProps) {return (<div className="paygf-cta paygf-proc"><span className="paygf-proc__eyebrow">- <BoltIcon className="payg-planhead__lbl-icon" fontSize="small" />+ <Icon name="zap" size={16} className="payg-planhead__lbl-icon" />{t("payg.free.proc.eyebrow", "Processor plan · metered")}</span>@@ -122,7 +116,7 @@ function ProcessorCard({ snap, isLeader, onTurnOn }: ProcessorCardProps) {<ul className="paygf-cta__benefits paygf-proc__benefits"><li>- <CheckIcon className="paygf-cta__check" fontSize="small" />+ <Icon name="check" size={20} className="paygf-cta__check" /><span><strong>{t("payg.free.cta.benefit1Title", "Automation pipelines")}@@ -135,7 +129,7 @@ function ProcessorCard({ snap, isLeader, onTurnOn }: ProcessorCardProps) {</span></li><li>- <CheckIcon className="paygf-cta__check" fontSize="small" />+ <Icon name="check" size={20} className="paygf-cta__check" /><span><strong>{t("payg.free.cta.benefit2Title", "AI tools")}</strong>{": "}@@ -146,7 +140,7 @@ function ProcessorCard({ snap, isLeader, onTurnOn }: ProcessorCardProps) {</span></li><li>- <CheckIcon className="paygf-cta__check" fontSize="small" />+ <Icon name="check" size={20} className="paygf-cta__check" /><span><strong>{t("payg.free.cta.benefit3Title", "API access")}@@ -184,9 +178,10 @@ function ProcessorCard({ snap, isLeader, onTurnOn }: ProcessorCardProps) {</>) : (<div className="paygf-proc__membernote">- <LockIcon+ <Icon+ name="lock"+ size={18}className="paygf-proc__membernote-icon"- fontSize="small"/><span>{t(diff --git a/frontend/editor/src/cloud/components/shared/config/configSections/TeamSection.tsx b/frontend/editor/src/cloud/components/shared/config/configSections/TeamSection.tsxindex 688a9e1447..4541486ab8 100644--- a/frontend/editor/src/cloud/components/shared/config/configSections/TeamSection.tsx+++ b/frontend/editor/src/cloud/components/shared/config/configSections/TeamSection.tsx@@ -15,7 +15,7 @@ import { ActionIcon } from "@app/ui/ActionIcon";import { StatusBadge } from "@app/ui/StatusBadge";import { useTranslation } from "react-i18next";import { useSaaSTeam } from "@app/contexts/SaaSTeamContext";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { Z_INDEX_OVER_CONFIG_MODAL } from "@app/styles/zIndex";import apiClient from "@app/services/apiClient";@@ -340,7 +340,7 @@ const TeamSection: React.FC = () => {disabled={!newTeamName.trim()}aria-label={t("team.renameSubmit", "Save team name")}>- <LocalIcon icon="check" width="1rem" height="1rem" />+ <Icon name="check" size="1rem" /></ActionIcon><ActionIconvariant="tertiary"@@ -348,7 +348,7 @@ const TeamSection: React.FC = () => {disabled={renamingTeam}aria-label={t("team.renameCancel", "Cancel rename")}>- <LocalIcon icon="close" width="1rem" height="1rem" />+ <Icon name="x" size="1rem" /></ActionIcon></Group>) : (@@ -363,7 +363,7 @@ const TeamSection: React.FC = () => {onClick={handleStartRename}aria-label={t("team.editName", "Edit team name")}>- <LocalIcon icon="edit" width="1rem" height="1rem" />+ <Icon name="pencil" size="1rem" /></ActionIcon>)}{isTeamLeader && (@@ -392,9 +392,7 @@ const TeamSection: React.FC = () => {variant="secondary"size="sm"onClick={handleLeaveTeam}- leftSection={- <LocalIcon icon="logout" width="1rem" height="1rem" />- }+ leftSection={<Icon name="log-out" size="1rem" />}>{t("team.leaveButton", "Leave Team")}</Button>@@ -559,11 +557,7 @@ const TeamSection: React.FC = () => {"Member actions",)}>- <LocalIcon- icon="more-vert"- width="1rem"- height="1rem"- />+ <Icon name="ellipsis-vertical" size="1rem" /></ActionIcon></Menu.Target><Menu.Dropdown>@@ -580,11 +574,7 @@ const TeamSection: React.FC = () => {<Menu.Itemcolor="red"leftSection={- <LocalIcon- icon="person-remove"- width="1rem"- height="1rem"- />+ <Icon name="user-minus" size="1rem" />}onClick={() =>handleRemove(member.id, member.email)@@ -636,11 +626,7 @@ const TeamSection: React.FC = () => {"Cancel invitation",)}>- <LocalIcon- icon="close"- width="1rem"- height="1rem"- />+ <Icon name="x" size="1rem" /></ActionIcon></Table.Td>)}diff --git a/frontend/editor/src/cloud/components/shared/config/configSections/UpgradeModal.tsx b/frontend/editor/src/cloud/components/shared/config/configSections/UpgradeModal.tsxindex bc55e53cfc..f9732ca641 100644--- a/frontend/editor/src/cloud/components/shared/config/configSections/UpgradeModal.tsx+++ b/frontend/editor/src/cloud/components/shared/config/configSections/UpgradeModal.tsx@@ -20,10 +20,7 @@ import React, { Suspense, useState } from "react";import { createPortal } from "react-dom";import { Button } from "@app/ui/Button";import { ActionIcon } from "@app/ui/ActionIcon";-import CloseIcon from "@mui/icons-material/CloseRounded";-import ArrowBackIcon from "@mui/icons-material/ArrowBackRounded";-import ShieldIcon from "@mui/icons-material/ShieldOutlined";-import CheckCircleIcon from "@mui/icons-material/CheckCircleRounded";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";// oxlint-disable-next-line no-restricted-importsimport "./UpgradeModal.css";@@ -138,7 +135,7 @@ export default function UpgradeModal({onClick={goBackToCap}style={{ marginLeft: -6 }}>- <ArrowBackIcon fontSize="small" />+ <Icon name="arrow-left" size={20} /></ActionIcon>)}<h2 className="upm-header__title">@@ -155,7 +152,7 @@ export default function UpgradeModal({aria-label={t("payg.upgrade.closeAria", "Close")}onClick={closeAndReset}>- <CloseIcon fontSize="small" />+ <Icon name="x" size={20} /></ActionIcon></header>@@ -295,7 +292,7 @@ function CapStep({return (<><div className="upm-promise">- <ShieldIcon className="upm-promise__icon" fontSize="small" />+ <Icon name="shield" size={20} className="upm-promise__icon" /><div><span className="upm-promise__highlight">{t(@@ -449,7 +446,7 @@ function ConfirmationStep({const sym = currencySymbol(currency);return (<div className="upm-confirm">- <CheckCircleIcon className="upm-confirm__icon" />+ <Icon name="circle-check" size={64} className="upm-confirm__icon" /><h3 className="upm-confirm__title">{t("payg.confirm.title", "Welcome to the Processor plan")}</h3>diff --git a/frontend/editor/src/core/components/onboarding/InitialOnboardingModal/renderButtons.tsx b/frontend/editor/src/core/components/onboarding/InitialOnboardingModal/renderButtons.tsxindex b531cc3eea..23bb15dd0c 100644--- a/frontend/editor/src/core/components/onboarding/InitialOnboardingModal/renderButtons.tsx+++ b/frontend/editor/src/core/components/onboarding/InitialOnboardingModal/renderButtons.tsx@@ -2,7 +2,7 @@ import React from "react";import { Group } from "@mantine/core";import { ActionIcon } from "@app/ui/ActionIcon";import { Button } from "@app/ui/Button";-import ChevronLeftIcon from "@mui/icons-material/ChevronLeft";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";import {ButtonDefinition,@@ -71,7 +71,7 @@ export function SlideButtons({aria-label={t("onboarding.buttons.back", "Back")}>{button.icon === "chevron-left" ? (- <ChevronLeftIcon fontSize="small" />+ <Icon name="chevron-left" size={20} />) : null}</ActionIcon>);diff --git a/frontend/editor/src/core/components/onboarding/OnboardingModalSlide.tsx b/frontend/editor/src/core/components/onboarding/OnboardingModalSlide.tsxindex 7c54713665..cd59f17d69 100644--- a/frontend/editor/src/core/components/onboarding/OnboardingModalSlide.tsx+++ b/frontend/editor/src/core/components/onboarding/OnboardingModalSlide.tsx@@ -7,8 +7,7 @@*/import { useTranslation } from "react-i18next";-import DiamondOutlinedIcon from "@mui/icons-material/DiamondOutlined";-+import { Icon, type IconName } from "@app/ui/Icon";import type {SlideDefinition,ButtonAction,@@ -20,8 +19,6 @@ import OnboardingSlideShell, {ShellHero,type ShellButton,} from "@app/components/onboarding/OnboardingSlideShell";-import LocalIcon from "@app/components/shared/LocalIcon";-interface OnboardingModalSlideProps {slideDefinition: SlideDefinition;slideContent: SlideConfig;@@ -33,11 +30,11 @@ interface OnboardingModalSlideProps {allowDismiss?: boolean;}-const HERO_ICON: Record<string, string> = {- rocket: "rocket-launch",- shield: "verified-user-outline",- lock: "lock-outline",- analytics: "analytics",+const HERO_ICON: Record<string, IconName> = {+ rocket: "rocket",+ shield: "shield-check",+ lock: "lock",+ analytics: "chart-column",};export default function OnboardingModalSlide({@@ -61,9 +58,9 @@ export default function OnboardingModalSlide({) : (<ShellHero>{heroType === "diamond" ? (- <DiamondOutlinedIcon sx={{ fontSize: 30 }} />+ <Icon name="gem" size={30} />) : HERO_ICON[heroType] ? (- <LocalIcon icon={HERO_ICON[heroType]} width={30} height={30} />+ <Icon name={HERO_ICON[heroType]} size={30} />) : null}</ShellHero>);diff --git a/frontend/editor/src/core/components/onboarding/OnboardingSlideShell.tsx b/frontend/editor/src/core/components/onboarding/OnboardingSlideShell.tsxindex cf7ea78773..1a63418c0d 100644--- a/frontend/editor/src/core/components/onboarding/OnboardingSlideShell.tsx+++ b/frontend/editor/src/core/components/onboarding/OnboardingSlideShell.tsx@@ -3,8 +3,7 @@ import { Modal } from "@mantine/core";import { useTranslation } from "react-i18next";import { ActionIcon } from "@app/ui/ActionIcon";import { Button, type ButtonAccent } from "@app/ui/Button";-import ChevronLeftIcon from "@mui/icons-material/ChevronLeft";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { Z_INDEX_ONBOARDING_CARD } from "@app/styles/zIndex";import stirlingMark from "@app/assets/brand/modern-logo/logo512.png";import styles from "@app/components/onboarding/InitialOnboardingModal/InitialOnboardingModal.module.css";@@ -174,20 +173,10 @@ export default function OnboardingSlideShell({: t("common.close", "Close")}>- {/* Two literals, not a computed `icon`: the icon-set generator- scans for `icon="…"`, so a dynamic one ships blank. */}{headerControl === "forward" ? (- <LocalIcon- icon="arrow-right-alt-rounded"- width="1.1rem"- height="1.1rem"- />+ <Icon name="arrow-right" size="1.1rem" />) : (- <LocalIcon- icon="close-rounded"- width="1.1rem"- height="1.1rem"- />+ <Icon name="x" size="1.1rem" />)}</ActionIcon>)}@@ -258,7 +247,7 @@ export default function OnboardingSlideShell({disabled={button.disabled}aria-label={t("onboarding.buttons.back", "Back")}>- <ChevronLeftIcon fontSize="small" />+ <Icon name="chevron-left" size={20} /></ActionIcon>))}</div>diff --git a/frontend/editor/src/core/components/onboarding/OnboardingTour.tsx b/frontend/editor/src/core/components/onboarding/OnboardingTour.tsxindex f9c66385d6..03059226a6 100644--- a/frontend/editor/src/core/components/onboarding/OnboardingTour.tsx+++ b/frontend/editor/src/core/components/onboarding/OnboardingTour.tsx@@ -9,9 +9,7 @@import React, { type ReactNode } from "react";import { TourProvider, useTour, type StepType } from "@reactour/tour";import { ActionIcon } from "@app/ui/ActionIcon";-import ArrowForwardIcon from "@mui/icons-material/ArrowForward";-import ArrowBackIcon from "@mui/icons-material/ArrowBack";-import CheckIcon from "@mui/icons-material/Check";+import { Icon } from "@app/ui/Icon";import type { TFunction } from "i18next";import i18n from "@app/i18n";@@ -147,7 +145,6 @@ export default function OnboardingTour({setIsOpen,}) => {const isLast = tourCurrentStep === stepsLength - 1;- const ArrowIcon = isRTL ? ArrowBackIcon : ArrowForwardIcon;return (<ActionIcononClick={() =>@@ -166,7 +163,11 @@ export default function OnboardingTour({: t("onboarding.next", "Next")}>- {isLast ? <CheckIcon /> : <ArrowIcon />}+ {isLast ? (+ <Icon name="check" />+ ) : (+ <Icon name={isRTL ? "arrow-left" : "arrow-right"} />+ )}</ActionIcon>);}}diff --git a/frontend/editor/src/core/components/onboarding/slides/AnalyticsChoiceSlide.tsx b/frontend/editor/src/core/components/onboarding/slides/AnalyticsChoiceSlide.tsxindex aa04911832..e243ed6beb 100644--- a/frontend/editor/src/core/components/onboarding/slides/AnalyticsChoiceSlide.tsx+++ b/frontend/editor/src/core/components/onboarding/slides/AnalyticsChoiceSlide.tsx@@ -1,7 +1,7 @@import React from "react";import { Trans } from "react-i18next";import { Button } from "@app/ui/Button";-import OpenInNewIcon from "@mui/icons-material/OpenInNew";+import { Icon } from "@app/ui/Icon";import i18n from "@app/i18n";import { SlideConfig } from "@app/types/types";import { UNIFIED_CIRCLE_CONFIG } from "@app/components/onboarding/slides/unifiedBackgroundConfig";@@ -44,7 +44,7 @@ export default function AnalyticsChoiceSlide({"_blank",)}- rightSection={<OpenInNewIcon style={{ fontSize: 16 }} />}+ rightSection={<Icon name="external-link" size={16} />}>{i18n.t("analytics.learnMore", "Learn more about our analytics")}</Button>diff --git a/frontend/editor/src/core/components/onboarding/slides/DesktopInstallTitle.tsx b/frontend/editor/src/core/components/onboarding/slides/DesktopInstallTitle.tsxindex b76eff2c30..81a51b5335 100644--- a/frontend/editor/src/core/components/onboarding/slides/DesktopInstallTitle.tsx+++ b/frontend/editor/src/core/components/onboarding/slides/DesktopInstallTitle.tsx@@ -2,8 +2,7 @@ import React from "react";import { useTranslation } from "react-i18next";import { Menu } from "@mantine/core";import { ActionIcon } from "@app/ui/ActionIcon";-import ExpandMoreIcon from "@mui/icons-material/ExpandMore";-+import { Icon } from "@app/ui/Icon";export interface OSOption {label: string;url: string;@@ -115,7 +114,7 @@ export const DesktopInstallTitle: React.FC<DesktopInstallTitleProps> = ({padding: 0,}}>- <ExpandMoreIcon fontSize="small" />+ <Icon name="chevron-down" size={20} /></ActionIcon></Menu.Target><Menu.Dropdown>diff --git a/frontend/editor/src/core/components/onboarding/slides/FirstLoginSlide.tsx b/frontend/editor/src/core/components/onboarding/slides/FirstLoginSlide.tsxindex 0b1f5bb8f2..ec7768a11e 100644--- a/frontend/editor/src/core/components/onboarding/slides/FirstLoginSlide.tsx+++ b/frontend/editor/src/core/components/onboarding/slides/FirstLoginSlide.tsx@@ -3,7 +3,7 @@ import { Stack, PasswordInput, Alert, Text } from "@mantine/core";import { Button } from "@app/ui/Button";import { useTranslation } from "react-i18next";import { SlideConfig } from "@app/types/types";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { UNIFIED_CIRCLE_CONFIG } from "@app/components/onboarding/slides/unifiedBackgroundConfig";import { accountService } from "@app/services/accountService";import { alert as showToast } from "@app/components/toast";@@ -121,10 +121,9 @@ function FirstLoginForm({<form onSubmit={handleSubmit}><Stack gap="md"><div className={styles.securityAlertRow}>- <LocalIcon- icon="info-rounded"- width={20}- height={20}+ <Icon+ name="info"+ size={20}style={{ color: "var(--c-accent-text)", flexShrink: 0 }}/><span>@@ -142,9 +141,7 @@ function FirstLoginForm({{error && (<Alert- icon={- <LocalIcon icon="error-rounded" width="1rem" height="1rem" />- }+ icon={<Icon name="circle-alert" size="1rem" />}color="red"variant="light">diff --git a/frontend/editor/src/core/components/onboarding/slides/MFASetupSlide.tsx b/frontend/editor/src/core/components/onboarding/slides/MFASetupSlide.tsxindex 13db3b5ba2..8136235e33 100644--- a/frontend/editor/src/core/components/onboarding/slides/MFASetupSlide.tsx+++ b/frontend/editor/src/core/components/onboarding/slides/MFASetupSlide.tsx@@ -22,7 +22,7 @@ import { UNIFIED_CIRCLE_CONFIG } from "@app/components/onboarding/slides/unifiedimport { accountService } from "@app/services/accountService";import { useAccountLogout } from "@app/extensions/accountLogout";import { useAuth } from "@app/auth/UseSession";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { BASE_PATH, withBasePath } from "@app/constants/app";import styles from "@app/components/onboarding/InitialOnboardingModal/InitialOnboardingModal.module.css";import { MfaSetupResponse } from "@app/responses/Mfa/MfaResponse";@@ -199,7 +199,7 @@ function MFASetupContent({ onMfaSetupComplete }: MFASetupSlideProps) {{mfaError && (<Alert- icon={<LocalIcon icon="error" width={16} height={16} />}+ icon={<Icon name="circle-alert" size={16} />}color="red"variant="light">diff --git a/frontend/editor/src/core/components/onboarding/slides/SecurityCheckSlide.tsx b/frontend/editor/src/core/components/onboarding/slides/SecurityCheckSlide.tsxindex 7f3e9f12a5..7c34937f7a 100644--- a/frontend/editor/src/core/components/onboarding/slides/SecurityCheckSlide.tsx+++ b/frontend/editor/src/core/components/onboarding/slides/SecurityCheckSlide.tsx@@ -1,7 +1,7 @@import React from "react";import { Select } from "@mantine/core";import { SlideConfig } from "@app/types/types";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { UNIFIED_CIRCLE_CONFIG } from "@app/components/onboarding/slides/unifiedBackgroundConfig";import i18n from "@app/i18n";import styles from "@app/components/onboarding/InitialOnboardingModal/InitialOnboardingModal.module.css";@@ -22,10 +22,9 @@ export default function SecurityCheckSlide({<div className={styles.securitySlideContent}><div className={styles.securityCard}><div className={styles.securityAlertRow}>- <LocalIcon- icon="error"- width={20}- height={20}+ <Icon+ name="circle-alert"+ size={20}style={{ color: "var(--color-red-dark)", flexShrink: 0 }}/><span>diff --git a/frontend/editor/src/core/components/shared/AppBanner.stories.tsx b/frontend/editor/src/core/components/shared/AppBanner.stories.tsxindex db741a4bf8..fc1719b8f9 100644--- a/frontend/editor/src/core/components/shared/AppBanner.stories.tsx+++ b/frontend/editor/src/core/components/shared/AppBanner.stories.tsx@@ -12,7 +12,7 @@ type Story = StoryObj<typeof meta>;export const Info: Story = {args: {- icon: "info-rounded",+ icon: "info",title: "Heads up",message: "This document contains form fields that will be flattened.",},@@ -21,12 +21,12 @@ export const Info: Story = {export const Promo: Story = {args: {tone: "promo",- icon: "stars-rounded",+ icon: "sparkles",title: "Upgrade to Server Plan",message:"Get the most out of Stirling PDF with unlimited users and advanced features.",buttonText: "Upgrade Now",- buttonIcon: "upgrade-rounded",+ buttonIcon: "circle-arrow-up",onButtonClick: () => {},compact: true,},@@ -35,7 +35,7 @@ export const Promo: Story = {export const Warning: Story = {args: {tone: "warning",- icon: "warning-rounded",+ icon: "triangle-alert",title: "Action required",message: "Some pages could not be processed and were skipped.",buttonText: "Review",@@ -46,11 +46,11 @@ export const Warning: Story = {export const Danger: Story = {args: {tone: "danger",- icon: "warning-rounded",+ icon: "triangle-alert",title: "This server needs admin attention",message: "Review the license requirements to keep this server compliant.",buttonText: "See info",- buttonIcon: "info-rounded",+ buttonIcon: "info",onButtonClick: () => {},dismissible: false,},@@ -59,7 +59,7 @@ export const Danger: Story = {export const Compact: Story = {args: {compact: true,- icon: "info-rounded",+ icon: "info",message: "Autosave is enabled for this file.",dismissible: false,},@@ -68,7 +68,7 @@ export const Compact: Story = {/** Message-only, no title: the message takes the title's weight so the bar still reads. */export const MessageOnly: Story = {args: {- icon: "picture-as-pdf-rounded",+ icon: "file-text",message:"Make Stirling PDF your default application for opening PDF files.",buttonText: "Set Default",@@ -120,11 +120,11 @@ export const AllTopBars: StoryObj = {<AppBannertone="promo"compact- icon="stars-rounded"+ icon="sparkles"title="Upgrade to Server Plan"message="Get the most out of Stirling PDF with unlimited users and advanced features."buttonText="Upgrade Now"- buttonIcon="upgrade-rounded"+ buttonIcon="circle-arrow-up"onButtonClick={() => {}}/></Row>@@ -132,11 +132,11 @@ export const AllTopBars: StoryObj = {<Row caption="Server needs attention · UpgradeBanner (urgent)"><AppBannertone="warning"- icon="warning-rounded"+ icon="triangle-alert"title="This server needs admin attention"message="Review the license requirements to keep this server compliant."buttonText="See info"- buttonIcon="info-rounded"+ buttonIcon="info"onButtonClick={() => {}}dismissible={false}/>@@ -145,11 +145,11 @@ export const AllTopBars: StoryObj = {<Row caption="Free tier limit reached · AdminPlanSection"><AppBannertone="warning"- icon="warning-rounded"+ icon="triangle-alert"title="Free self-hosted limit reached"message="You have 12 users on a plan that covers 10."buttonText="See plans"- buttonIcon="upgrade-rounded"+ buttonIcon="circle-arrow-up"onButtonClick={() => {}}dismissible={false}/>@@ -169,7 +169,7 @@ export const AllTopBars: StoryObj = {<Row caption="Set as default app · DefaultAppBanner (desktop)"><AppBanner- icon="picture-as-pdf-rounded"+ icon="file-text"message="Make Stirling PDF your default application for opening PDF files."buttonText="Set Default"onButtonClick={() => {}}@@ -181,7 +181,7 @@ export const AllTopBars: StoryObj = {<Row caption="Danger tone (available, no caller yet)"><AppBannertone="danger"- icon="warning-rounded"+ icon="triangle-alert"title="Storage is full"message="New uploads will fail until space is freed."buttonText="Manage storage"diff --git a/frontend/editor/src/core/components/shared/AppBanner.tsx b/frontend/editor/src/core/components/shared/AppBanner.tsxindex 79ff268dd2..f08c152ba0 100644--- a/frontend/editor/src/core/components/shared/AppBanner.tsx+++ b/frontend/editor/src/core/components/shared/AppBanner.tsx@@ -2,7 +2,7 @@ import React, { ReactNode } from "react";import { Button } from "@app/ui/Button";import { ActionIcon } from "@app/ui/ActionIcon";import { useTranslation } from "react-i18next";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon, isIconName, type IconName } from "@app/ui/Icon";import "@app/components/shared/AppBanner.css";/** Picks the whole look. Callers choose meaning, never colours. */@@ -17,12 +17,12 @@ const TONE_BUTTON = {} as const;interface AppBannerProps {- /** A LocalIcon name, or a pre-rendered node (e.g. a logo) dropped in as-is. */- icon?: string | ReactNode;+ /** A registry icon name, or a pre-rendered node (e.g. a logo) dropped in as-is. */+ icon?: IconName | ReactNode;title?: ReactNode;message: ReactNode;buttonText?: string;- buttonIcon?: string;+ buttonIcon?: IconName;onButtonClick?: () => void;/** Muted secondary action, e.g. "Don't remind me again". */secondaryButtonText?: string;@@ -41,7 +41,7 @@ export const AppBanner: React.FC<AppBannerProps> = ({title,message,buttonText,- buttonIcon = "check-circle-rounded",+ buttonIcon = "circle-check",onButtonClick,secondaryButtonText,onSecondaryButtonClick,@@ -69,11 +69,7 @@ export const AppBanner: React.FC<AppBannerProps> = ({>{icon != null && (<span className="app-banner__icon" aria-hidden>- {typeof icon === "string" ? (- <LocalIcon icon={icon} width={iconSize} height={iconSize} />- ) : (- icon- )}+ {isIconName(icon) ? <Icon name={icon} size={iconSize} /> : icon}</span>)}@@ -90,9 +86,7 @@ export const AppBanner: React.FC<AppBannerProps> = ({size="sm"loading={loading}onClick={onButtonClick}- leftSection={- <LocalIcon icon={buttonIcon} width="0.9rem" height="0.9rem" />- }+ leftSection={<Icon name={buttonIcon} size="0.9rem" />}>{buttonText}</Button>@@ -115,7 +109,7 @@ export const AppBanner: React.FC<AppBannerProps> = ({onClick={() => onDismiss?.()}aria-label={t("appBanner.dismiss", "Dismiss")}>- <LocalIcon icon="close-rounded" width="1rem" height="1rem" />+ <Icon name="x" size="1rem" /></ActionIcon>)}</div>diff --git a/frontend/editor/src/core/components/shared/FirstLoginModal.tsx b/frontend/editor/src/core/components/shared/FirstLoginModal.tsxindex 8d2e6a7c67..3a9a5b73f7 100644--- a/frontend/editor/src/core/components/shared/FirstLoginModal.tsx+++ b/frontend/editor/src/core/components/shared/FirstLoginModal.tsx@@ -3,7 +3,7 @@ import axios from "axios";import { Modal, Stack, Text, PasswordInput, Alert } from "@mantine/core";import { Button } from "@app/ui/Button";import { useTranslation } from "react-i18next";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { accountService } from "@app/services/accountService";import { alert } from "@app/components/toast";import { Z_INDEX_OVER_FULLSCREEN_SURFACE } from "@app/styles/zIndex";@@ -128,7 +128,7 @@ export default function FirstLoginModal({<form onSubmit={handleSubmit}><Stack gap="md"><Alert- icon={<LocalIcon icon="info-rounded" width="1rem" height="1rem" />}+ icon={<Icon name="info" size="1rem" />}title={t("firstLogin.welcomeTitle", "Welcome!")}color="blue">@@ -147,9 +147,7 @@ export default function FirstLoginModal({{error && (<Alert- icon={- <LocalIcon icon="error-rounded" width="1rem" height="1rem" />- }+ icon={<Icon name="circle-alert" size="1rem" />}title={t("firstLogin.error", "Error")}color="red">diff --git a/frontend/editor/src/core/components/shared/UpdateModal.tsx b/frontend/editor/src/core/components/shared/UpdateModal.tsxindex 883b7d86a7..1721e4b93e 100644--- a/frontend/editor/src/core/components/shared/UpdateModal.tsx+++ b/frontend/editor/src/core/components/shared/UpdateModal.tsx@@ -16,7 +16,7 @@ import {} from "@mantine/core";import { Button } from "@app/ui/Button";import { ActionIcon } from "@app/ui/ActionIcon";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";import {updateService,@@ -26,18 +26,6 @@ import {} from "@app/services/updateService";import { Z_INDEX_OVER_CONFIG_MODAL } from "@app/styles/zIndex";import { handleExternalLinkClick } from "@app/platform/externalLinkClick";-import WarningAmberIcon from "@mui/icons-material/WarningAmber";-import OpenInNewIcon from "@mui/icons-material/OpenInNew";-import DownloadIcon from "@mui/icons-material/Download";-import StarIcon from "@mui/icons-material/Star";-import SystemUpdateAltIcon from "@mui/icons-material/SystemUpdateAlt";-import CheckCircleOutlineIcon from "@mui/icons-material/CheckCircleOutlined";-import ErrorOutlineIcon from "@mui/icons-material/ErrorOutlined";-import RestartAltIcon from "@mui/icons-material/RestartAlt";-import ArrowForwardIcon from "@mui/icons-material/ArrowForward";-import ExpandMoreIcon from "@mui/icons-material/ExpandMore";-import ExpandLessIcon from "@mui/icons-material/ExpandLess";-export type DesktopInstallState =| "idle"| "downloading"@@ -265,8 +253,10 @@ const UpdateModal: React.FC<UpdateModalProps> = ({flexShrink: 0,}}>- <SystemUpdateAltIcon- style={{ fontSize: 26, color: "white" }}+ <Icon+ name="square-arrow-down"+ size={26}+ style={{ color: "white" }}/></Box><Box>@@ -288,7 +278,7 @@ const UpdateModal: React.FC<UpdateModalProps> = ({variant="tertiary"aria-label={t("update.closeModal", "Close update modal")}>- <LocalIcon icon="close-rounded" width={20} height={20} />+ <Icon name="x" size={20} /></ActionIcon>)}</Group>@@ -317,9 +307,10 @@ const UpdateModal: React.FC<UpdateModalProps> = ({{currentVersion}</Text></Stack>- <ArrowForwardIcon+ <Icon+ name="arrow-right"+ size={28}style={{- fontSize: 28,color: "var(--mantine-color-dimmed)",flexShrink: 0,}}@@ -371,7 +362,7 @@ const UpdateModal: React.FC<UpdateModalProps> = ({variant="light"size="lg"radius="sm"- leftSection={<WarningAmberIcon style={{ fontSize: 14 }} />}+ leftSection={<Icon name="triangle-alert" size={14} />}>{t("update.breaking", "Breaking")}</Badge>@@ -395,7 +386,7 @@ const UpdateModal: React.FC<UpdateModalProps> = ({variant="light"color="orange"radius="md"- icon={<WarningAmberIcon style={{ fontSize: 18 }} />}+ icon={<Icon name="triangle-alert" size={18} />}title={t("desktopUpdate.blocked.title","Administrator permissions required",@@ -437,11 +428,11 @@ const UpdateModal: React.FC<UpdateModalProps> = ({><Group justify="space-between" align="center"><Group gap={8}>- <StarIcon- style={{- fontSize: 18,- color: "var(--c-accent-text)",- }}+ <Icon+ name="star"+ size={18}+ filled+ style={{ color: "var(--c-accent-text)" }}/><Text fw={600} size="sm">{t("update.whatsNewIn", "What's new in")}{" "}@@ -466,7 +457,7 @@ const UpdateModal: React.FC<UpdateModalProps> = ({}}>{t("update.releaseNotes", "Release Notes")}{" "}- <OpenInNewIcon style={{ fontSize: 14 }} />+ <Icon name="external-link" size={14} /></Text><Textsize="sm"@@ -485,7 +476,7 @@ const UpdateModal: React.FC<UpdateModalProps> = ({}}>{t("update.allReleases", "All Releases")}{" "}- <OpenInNewIcon style={{ fontSize: 14 }} />+ <Icon name="external-link" size={14} /></Text></Group></Group>@@ -549,7 +540,7 @@ const UpdateModal: React.FC<UpdateModalProps> = ({variant="secondary"size="sm"rightSection={- <OpenInNewIcon style={{ fontSize: 12 }} />+ <Icon name="external-link" size={12} />}>{t("update.viewGuide", "View Guide")}@@ -647,22 +638,24 @@ const UpdateModal: React.FC<UpdateModalProps> = ({`https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v${version.version}`,)}rightSection={- <OpenInNewIcon style={{ fontSize: 11 }} />+ <Icon name="external-link" size={11} />}>{t("update.notes", "Notes")}</Button>{isExpanded ? (- <ExpandLessIcon+ <Icon+ name="chevron-up"+ size={18}style={{- fontSize: 18,color: "var(--mantine-color-dimmed)",}}/>) : (- <ExpandMoreIcon+ <Icon+ name="chevron-down"+ size={18}style={{- fontSize: 18,color: "var(--mantine-color-dimmed)",}}/>@@ -694,9 +687,7 @@ const UpdateModal: React.FC<UpdateModalProps> = ({color="orange"radius="sm"icon={- <WarningAmberIcon- style={{ fontSize: 16 }}- />+ <Icon name="triangle-alert" size={16} />}title={t("update.breakingChanges",@@ -732,8 +723,9 @@ const UpdateModal: React.FC<UpdateModalProps> = ({"var(--mantine-spacing-xs)",}}rightSection={- <OpenInNewIcon- style={{ fontSize: 14 }}+ <Icon+ name="external-link"+ size={14}/>}>@@ -828,7 +820,7 @@ const UpdateModal: React.FC<UpdateModalProps> = ({)}{desktopInstall.state === "ready-to-restart" && (<Alert- icon={<CheckCircleOutlineIcon />}+ icon={<Icon name="circle-check" />}color="green"variant="light"radius="md"@@ -842,7 +834,7 @@ const UpdateModal: React.FC<UpdateModalProps> = ({)}{desktopInstall.state === "error" && (<Alert- icon={<ErrorOutlineIcon />}+ icon={<Icon name="circle-alert" />}color="red"variant="light"radius="md"@@ -882,7 +874,7 @@ const UpdateModal: React.FC<UpdateModalProps> = ({desktopInstall.state === "ready-to-restart" ? (<Buttonsize="md"- leftSection={<RestartAltIcon style={{ fontSize: 20 }} />}+ leftSection={<Icon name="rotate-ccw" size={20} />}onClick={() => void desktopInstall.actions.restartApp()}>{t("desktopUpdate.restartNow", "Restart Now")}@@ -903,16 +895,14 @@ const UpdateModal: React.FC<UpdateModalProps> = ({onClick={handleExternalLink(downloadUrl)}variant="secondary"size="md"- leftSection={- <DownloadIcon style={{ fontSize: 16 }} />- }+ leftSection={<Icon name="download" size={16} />}>{t("update.downloadLatest", "Download Latest")}</Button>)}<Buttonsize="md"- leftSection={<DownloadIcon style={{ fontSize: 20 }} />}+ leftSection={<Icon name="download" size={20} />}onClick={() => void desktopInstall.actions.startInstall()}disabled={installBlocked}>@@ -938,7 +928,7 @@ const UpdateModal: React.FC<UpdateModalProps> = ({target="_blank"onClick={handleExternalLink(downloadUrl)}size="md"- leftSection={<DownloadIcon style={{ fontSize: 20 }} />}+ leftSection={<Icon name="download" size={20} />}>{t("update.downloadLatest", "Download Latest")}</Button>diff --git a/frontend/editor/src/core/components/shared/config/LoginRequiredBanner.tsx b/frontend/editor/src/core/components/shared/config/LoginRequiredBanner.tsxindex 04f6db4322..eee250582a 100644--- a/frontend/editor/src/core/components/shared/config/LoginRequiredBanner.tsx+++ b/frontend/editor/src/core/components/shared/config/LoginRequiredBanner.tsx@@ -1,7 +1,6 @@import { Alert, Text } from "@mantine/core";import { useTranslation } from "react-i18next";-import LocalIcon from "@app/components/shared/LocalIcon";-+import { Icon } from "@app/ui/Icon";interface LoginRequiredBannerProps {show: boolean;}@@ -19,7 +18,7 @@ export default function LoginRequiredBanner({return (<Alert- icon={<LocalIcon icon="lock" width={20} height={20} />}+ icon={<Icon name="lock" size={20} />}title={t("admin.settings.loginDisabled.title", "Login Mode Required")}color="blue"variant="light"diff --git a/frontend/editor/src/core/components/shared/config/RestartConfirmationModal.tsx b/frontend/editor/src/core/components/shared/config/RestartConfirmationModal.tsxindex f4e9c47b0a..6b529f14ae 100644--- a/frontend/editor/src/core/components/shared/config/RestartConfirmationModal.tsx+++ b/frontend/editor/src/core/components/shared/config/RestartConfirmationModal.tsx@@ -1,8 +1,7 @@import { Modal, Text, Group, Stack } from "@mantine/core";import { Button } from "@app/ui/Button";import { useTranslation } from "react-i18next";-import RefreshIcon from "@mui/icons-material/Refresh";-import ScheduleIcon from "@mui/icons-material/Schedule";+import { Icon } from "@app/ui/Icon";import { Z_INDEX_OVER_CONFIG_MODAL } from "@app/styles/zIndex";interface RestartConfirmationModalProps {@@ -50,13 +49,13 @@ export default function RestartConfirmationModal({<Group justify="flex-end" gap="sm"><Buttonvariant="secondary"- leftSection={<ScheduleIcon style={{ fontSize: 16 }} />}+ leftSection={<Icon name="clock" size={16} />}onClick={onClose}>{t("admin.settings.restart.later", "Restart Later")}</Button><Button- leftSection={<RefreshIcon style={{ fontSize: 16 }} />}+ leftSection={<Icon name="refresh-cw" size={16} />}onClick={onRestart}>{t("admin.settings.restart.now", "Restart Now")}diff --git a/frontend/editor/src/core/components/shared/config/SettingsCard.tsx b/frontend/editor/src/core/components/shared/config/SettingsCard.tsxindex d44eae778c..f9b48f805d 100644--- a/frontend/editor/src/core/components/shared/config/SettingsCard.tsx+++ b/frontend/editor/src/core/components/shared/config/SettingsCard.tsx@@ -1,5 +1,5 @@import { useState, type ReactNode } from "react";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { InfoTooltip } from "@app/ui/InfoTooltip";import "@app/components/shared/config/SettingsCard.css";@@ -51,10 +51,9 @@ export function SettingsCard({setEverOpened(true);}}>- <LocalIcon- icon="expand-more-rounded"- width={16}- height={16}+ <Icon+ name="chevron-down"+ size={16}className="settings-card__chevron"/><span className="settings-card__title">{title}</span>diff --git a/frontend/editor/src/core/components/shared/config/SettingsEmptyState.tsx b/frontend/editor/src/core/components/shared/config/SettingsEmptyState.tsxindex cd7e4bb814..0e0b0a1302 100644--- a/frontend/editor/src/core/components/shared/config/SettingsEmptyState.tsx+++ b/frontend/editor/src/core/components/shared/config/SettingsEmptyState.tsx@@ -1,12 +1,12 @@import type { ReactNode } from "react";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon, type IconName } from "@app/ui/Icon";import "@app/components/shared/config/SettingsEmptyState.css";export interface SettingsEmptyStateProps {title: ReactNode;children: ReactNode;/** Defaults to an outline box; pass one that suits the section. */- icon?: string;+ icon?: IconName;}/**@@ -20,12 +20,7 @@ export function SettingsEmptyState({}: SettingsEmptyStateProps) {return (<div className="settings-empty">- <LocalIcon- icon={icon}- width={28}- height={28}- className="settings-empty__icon"- />+ <Icon name={icon} size={28} className="settings-empty__icon" /><p className="settings-empty__title">{title}</p><p className="settings-empty__body">{children}</p></div>diff --git a/frontend/editor/src/core/components/shared/config/SettingsMobileBackButton.tsx b/frontend/editor/src/core/components/shared/config/SettingsMobileBackButton.tsxindex db21592609..07743c58bc 100644--- a/frontend/editor/src/core/components/shared/config/SettingsMobileBackButton.tsx+++ b/frontend/editor/src/core/components/shared/config/SettingsMobileBackButton.tsx@@ -1,5 +1,5 @@import { useTranslation } from "react-i18next";-import ArrowBackRoundedIcon from "@mui/icons-material/ArrowBackRounded";+import { Icon } from "@app/ui/Icon";import { ActionIcon } from "@app/ui/ActionIcon";interface SettingsMobileBackButtonProps {@@ -23,7 +23,7 @@ export function SettingsMobileBackButton({onClick={onClick}aria-label={t("settings.backToSections", "All settings")}>- <ArrowBackRoundedIcon sx={{ fontSize: "1.25rem" }} />+ <Icon name="arrow-left" size={"1.25rem"} /></ActionIcon>);}diff --git a/frontend/editor/src/core/components/shared/config/SettingsNavChevron.tsx b/frontend/editor/src/core/components/shared/config/SettingsNavChevron.tsxindex c14e7933f5..0b0317a923 100644--- a/frontend/editor/src/core/components/shared/config/SettingsNavChevron.tsx+++ b/frontend/editor/src/core/components/shared/config/SettingsNavChevron.tsx@@ -1,5 +1,4 @@-import ChevronRightRoundedIcon from "@mui/icons-material/ChevronRightRounded";-+import { Icon } from "@app/ui/Icon";interface SettingsNavChevronProps {/** Mobile nav items drill into a second pane, so they get an affordance. */show: boolean;@@ -10,10 +9,7 @@ export function SettingsNavChevron({ show }: SettingsNavChevronProps) {if (!show) return null;return (- <ChevronRightRoundedIcon- className="modal-nav-chevron"- sx={{ fontSize: "1.25rem" }}- />+ <Icon name="chevron-right" size={"1.25rem"} className="modal-nav-chevron" />);}diff --git a/frontend/editor/src/core/components/shared/config/configNavSections.tsx b/frontend/editor/src/core/components/shared/config/configNavSections.tsxindex 226edab12d..c31bcc7f38 100644--- a/frontend/editor/src/core/components/shared/config/configNavSections.tsx+++ b/frontend/editor/src/core/components/shared/config/configNavSections.tsx@@ -45,7 +45,7 @@ export const useConfigNavSections = ("settings.preferences.description","How the editor looks and behaves for you, and your account.",),- icon: "tune-rounded",+ icon: "sliders-horizontal",component: <PreferencesSection />,},],@@ -63,7 +63,7 @@ export const useConfigNavSections = ("settings.about.description","Tours, legal documents and the licences of everything bundled with this build.",),- icon: "help-rounded",+ icon: "circle-question-mark",component: (<AboutSection isAdmin={_isAdmin} onRequestClose={onRequestClose} />),@@ -94,13 +94,13 @@ export const createConfigNavSections = ({key: "general",label: t("settings.general.title", "General"),- icon: "settings-rounded",+ icon: "settings",component: <GeneralSection hideTitle />,},{key: "hotkeys",label: t("settings.hotkeys.title", "Keyboard Shortcuts"),- icon: "keyboard-rounded",+ icon: "keyboard",component: <HotkeysSection />,},],diff --git a/frontend/editor/src/core/components/shared/config/configSections/GeneralSection.tsx b/frontend/editor/src/core/components/shared/config/configSections/GeneralSection.tsxindex 63a3dcb62d..413706fb8b 100644--- a/frontend/editor/src/core/components/shared/config/configSections/GeneralSection.tsx+++ b/frontend/editor/src/core/components/shared/config/configSections/GeneralSection.tsx@@ -27,7 +27,7 @@ import {type ViewerZoomSetting,} from "@app/services/preferencesService";import { Z_INDEX_OVER_CONFIG_MODAL } from "@app/styles/zIndex";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { updateService, UpdateSummary } from "@app/services/updateService";import UpdateModal from "@app/components/shared/UpdateModal";import type {@@ -210,14 +210,13 @@ const GeneralSection: React.FC<GeneralSectionProps> = ({onClick={handleDismissBanner}aria-label={t("settings.general.enableFeatures.dismiss", "Dismiss")}>- <LocalIcon icon="close-rounded" width="1rem" height="1rem" />+ <Icon name="x" size="1rem" /></ActionIcon><Stack gap="sm"><Group gap="xs">- <LocalIcon- icon="admin-panel-settings-rounded"- width="1.2rem"- height="1.2rem"+ <Icon+ name="shield-user"+ size="1.2rem"style={{ color: "var(--c-accent-text)" }}/><Text@@ -357,13 +356,7 @@ const GeneralSection: React.FC<GeneralSectionProps> = ({onClick={checkForUpdate}loading={checkingUpdate}disabled={!currentVersion}- leftSection={- <LocalIcon- icon="refresh-rounded"- width="1rem"- height="1rem"- />- }+ leftSection={<Icon name="refresh-cw" size="1rem" />}>{t("settings.general.updates.checkForUpdates",@@ -379,13 +372,7 @@ const GeneralSection: React.FC<GeneralSectionProps> = ({: "default"}onClick={() => setUpdateModalOpened(true)}- leftSection={- <LocalIcon- icon="system-update-alt-rounded"- width="1rem"- height="1rem"- />- }+ leftSection={<Icon name="square-arrow-down" size="1rem" />}>{t("settings.general.updates.viewDetails", "View Details")}</Button>diff --git a/frontend/editor/src/core/components/shared/config/configSections/HelpSection.tsx b/frontend/editor/src/core/components/shared/config/configSections/HelpSection.tsxindex 013db92d45..d039c36a70 100644--- a/frontend/editor/src/core/components/shared/config/configSections/HelpSection.tsx+++ b/frontend/editor/src/core/components/shared/config/configSections/HelpSection.tsx@@ -2,7 +2,7 @@ import React from "react";import { Group, Paper, Stack, Text } from "@mantine/core";import { Button } from "@app/ui/Button";import { useTranslation } from "react-i18next";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { requestStartTour } from "@app/constants/events";interface HelpSectionProps {@@ -40,13 +40,7 @@ const HelpSection: React.FC<HelpSectionProps> = ({<Buttonvariant="secondary"size="sm"- leftSection={- <LocalIcon- icon="build-outline-rounded"- width="1rem"- height="1rem"- />- }+ leftSection={<Icon name="wrench" size="1rem" />}onClick={() => startTour("tools")}>{t("settings.help.toolsTour.start", "Start")}@@ -69,9 +63,7 @@ const HelpSection: React.FC<HelpSectionProps> = ({<Buttonvariant="secondary"size="sm"- leftSection={- <LocalIcon icon="person-rounded" width="1rem" height="1rem" />- }+ leftSection={<Icon name="user" size="1rem" />}onClick={() => startTour("admin")}>{t("settings.help.adminTour.start", "Start")}diff --git a/frontend/editor/src/core/components/shared/config/configSections/LegalSection.tsx b/frontend/editor/src/core/components/shared/config/configSections/LegalSection.tsxindex 3eb490edf4..57f2f0b539 100644--- a/frontend/editor/src/core/components/shared/config/configSections/LegalSection.tsx+++ b/frontend/editor/src/core/components/shared/config/configSections/LegalSection.tsx@@ -2,7 +2,7 @@ import React from "react";import { Anchor, Group, Paper, Stack, Text } from "@mantine/core";import { Button } from "@app/ui/Button";import { useTranslation } from "react-i18next";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { useAppConfig } from "@app/contexts/AppConfigContext";import { useFooterInfo } from "@app/hooks/useFooterInfo";import { useCookieConsent } from "@app/hooks/useCookieConsent";@@ -86,7 +86,7 @@ const LegalSection: React.FC = () => {><Group gap={6} wrap="nowrap">{link.label}- <LocalIcon icon="open-in-new-rounded" width="0.9rem" height="0.9rem" />+ <Icon name="external-link" size="0.9rem" /></Group></Anchor>);diff --git a/frontend/editor/src/core/components/shared/config/configSections/ProviderCard.stories.tsx b/frontend/editor/src/core/components/shared/config/configSections/ProviderCard.stories.tsxindex 0d7a44c38f..7599775a4a 100644--- a/frontend/editor/src/core/components/shared/config/configSections/ProviderCard.stories.tsx+++ b/frontend/editor/src/core/components/shared/config/configSections/ProviderCard.stories.tsx@@ -5,7 +5,7 @@ import type { Provider } from "@app/components/shared/config/configSections/provconst mockProvider: Provider = {id: "google",name: "Google",- icon: "key-rounded",+ icon: "key",type: "oauth2",scope: "Sign-in authentication",documentationUrl: "https://docs.stirlingpdf.com/Configuration/OAuth",diff --git a/frontend/editor/src/core/components/shared/config/configSections/ProviderCard.tsx b/frontend/editor/src/core/components/shared/config/configSections/ProviderCard.tsxindex bf16d76918..2897426322 100644--- a/frontend/editor/src/core/components/shared/config/configSections/ProviderCard.tsx+++ b/frontend/editor/src/core/components/shared/config/configSections/ProviderCard.tsx@@ -15,13 +15,13 @@ import {} from "@mantine/core";import { Button } from "@app/ui/Button";import { useTranslation } from "react-i18next";-import LocalIcon from "@app/components/shared/LocalIcon";import EditableSecretField from "@app/components/shared/EditableSecretField";import {Provider,ProviderField,} from "@app/components/shared/config/configSections/providerDefinitions";+import { Icon, isIconName } from "@app/ui/Icon";interface ProviderCardProps {provider: Provider;isConfigured: boolean;@@ -199,8 +199,8 @@ export default function ProviderCard({};const renderProviderIcon = () => {- // Image source: an absolute/relative path, a data: URI (small bundled SVGs- // are inlined), or a full URL. Iconify names ("key-rounded") use LocalIcon.+ // Image source: an absolute/relative path, a data: URI, or a full URL.+ // Anything else is treated as a registry icon name.if (/^(\/|\.\.?\/|data:|blob:|https?:)/.test(provider.icon)) {return (<img@@ -210,8 +210,10 @@ export default function ProviderCard({/>);}- // Otherwise use LocalIcon for iconify icons- return <LocalIcon icon={provider.icon} width="1.5rem" height="1.5rem" />;+ // Otherwise it names a registry icon.+ return isIconName(provider.icon) ? (+ <Icon name={provider.icon} size="1.5rem" />+ ) : null;};return (@@ -242,13 +244,9 @@ export default function ProviderCard({}rightSection={expanded ? (- <LocalIcon icon="close-rounded" width="1rem" height="1rem" />+ <Icon name="x" size="1rem" />) : isConfigured ? (- <LocalIcon- icon="expand-more-rounded"- width="1rem"- height="1rem"- />+ <Icon name="chevron-down" size="1rem" />) : undefined}>diff --git a/frontend/editor/src/core/components/shared/config/configSections/preferences/AccountCards.tsx b/frontend/editor/src/core/components/shared/config/configSections/preferences/AccountCards.tsxindex 4cc0da008f..23c6b60bf8 100644--- a/frontend/editor/src/core/components/shared/config/configSections/preferences/AccountCards.tsx+++ b/frontend/editor/src/core/components/shared/config/configSections/preferences/AccountCards.tsx@@ -1,4 +1,5 @@import React, { useCallback, useEffect, useMemo, useState } from "react";+import { Icon } from "@app/ui/Icon";import { SettingsCard } from "@app/components/shared/config/SettingsCard";import {Alert,@@ -13,7 +14,6 @@ import {} from "@mantine/core";import { Button } from "@app/ui/Button";import { useTranslation } from "react-i18next";-import LocalIcon from "@app/components/shared/LocalIcon";import { alert as showToast } from "@app/components/toast";import { useAuth } from "@app/auth/UseSession";import { accountService } from "@app/services/accountService";@@ -376,7 +376,7 @@ export function AccountCards() {<Stack gap="xs">{isSsoUser && (<Alert- icon={<LocalIcon icon="info" width="1rem" height="1rem" />}+ icon={<Icon name="info" size="1rem" />}color="blue"variant="light">@@ -390,7 +390,7 @@ export function AccountCards() {<Group gap="sm" wrap="wrap">{!isSsoUser && (<Button- leftSection={<LocalIcon icon="key-rounded" />}+ leftSection={<Icon name="key" />}onClick={() => setPasswordModalOpen(true)}>{t("settings.security.password.update", "Update password")}@@ -400,7 +400,7 @@ export function AccountCards() {{!isSsoUser && (<Buttonvariant="secondary"- leftSection={<LocalIcon icon="edit-rounded" />}+ leftSection={<Icon name="pencil" />}onClick={() => setUsernameModalOpen(true)}>{t("account.changeUsername", "Change username")}@@ -410,7 +410,7 @@ export function AccountCards() {<Buttonvariant="secondary"accent="danger"- leftSection={<LocalIcon icon="logout-rounded" />}+ leftSection={<Icon name="log-out" />}onClick={handleLogout}>{t("settings.general.logout", "Log out")}@@ -433,7 +433,7 @@ export function AccountCards() {<Stack gap="sm">{isSsoUser ? (<Alert- icon={<LocalIcon icon="info" width="1rem" height="1rem" />}+ icon={<Icon name="info" size="1rem" />}color="blue"variant="light">@@ -446,9 +446,7 @@ export function AccountCards() {<Group gap="sm" wrap="wrap">{!mfaEnabled ? (<Button- leftSection={- <LocalIcon icon="check-circle-outline-rounded" />- }+ leftSection={<Icon name="circle-check" />}onClick={handleStartMfaSetup}loading={mfaLoading}disabled={changeButtonDisabled}@@ -462,7 +460,7 @@ export function AccountCards() {<Buttonvariant="secondary"accent="danger"- leftSection={<LocalIcon icon="close-rounded" />}+ leftSection={<Icon name="x" />}onClick={() => {setMfaError("");setMfaDisableCode("");@@ -500,9 +498,7 @@ export function AccountCards() {{passwordError && (<Alert- icon={- <LocalIcon icon="error-rounded" width="1rem" height="1rem" />- }+ icon={<Icon name="circle-alert" size="1rem" />}color="red"variant="light">@@ -563,7 +559,7 @@ export function AccountCards() {<Buttontype="submit"loading={passwordSubmitting}- leftSection={<LocalIcon icon="save-rounded" />}+ leftSection={<Icon name="save" />}>{t("settings.security.password.update", "Update password")}</Button>@@ -623,9 +619,7 @@ export function AccountCards() {)}{mfaError && (<Alert- icon={- <LocalIcon icon="error-rounded" width="1rem" height="1rem" />- }+ icon={<Icon name="circle-alert" size="1rem" />}color="red"variant="light">@@ -681,9 +675,7 @@ export function AccountCards() {</Text>{mfaError && (<Alert- icon={- <LocalIcon icon="error-rounded" width="1rem" height="1rem" />- }+ icon={<Icon name="circle-alert" size="1rem" />}color="red"variant="light">@@ -737,9 +729,7 @@ export function AccountCards() {{usernameError && (<Alert- icon={- <LocalIcon icon="error-rounded" width="1rem" height="1rem" />- }+ icon={<Icon name="circle-alert" size="1rem" />}color="red"variant="light">@@ -777,7 +767,7 @@ export function AccountCards() {<Buttontype="submit"loading={usernameSubmitting}- leftSection={<LocalIcon icon="save-rounded" />}+ leftSection={<Icon name="save" />}>{t("common.save", "Save")}</Button>diff --git a/frontend/editor/src/core/components/shared/config/configSections/preferences/AdminSetupBanner.tsx b/frontend/editor/src/core/components/shared/config/configSections/preferences/AdminSetupBanner.tsxindex e0a8218db9..2224d13328 100644--- a/frontend/editor/src/core/components/shared/config/configSections/preferences/AdminSetupBanner.tsx+++ b/frontend/editor/src/core/components/shared/config/configSections/preferences/AdminSetupBanner.tsx@@ -1,8 +1,8 @@import { useState } from "react";+import { Icon } from "@app/ui/Icon";import { Anchor, Code, Group, Paper, Stack, Text } from "@mantine/core";import { useTranslation } from "react-i18next";import { ActionIcon } from "@app/ui/ActionIcon";-import LocalIcon from "@app/components/shared/LocalIcon";import { useAppConfig } from "@app/contexts/AppConfigContext";const BANNER_DISMISSED_KEY = "stirlingpdf_features_banner_dismissed";@@ -48,14 +48,13 @@ export function AdminSetupBanner() {onClick={handleDismissBanner}aria-label={t("settings.general.enableFeatures.dismiss", "Dismiss")}>- <LocalIcon icon="close-rounded" width="1rem" height="1rem" />+ <Icon name="x" size="1rem" /></ActionIcon><Stack gap="sm"><Group gap="xs">- <LocalIcon- icon="admin-panel-settings-rounded"- width="1.2rem"- height="1.2rem"+ <Icon+ name="shield-user"+ size="1.2rem"style={{ color: "var(--c-accent-text)" }}/><Textdiff --git a/frontend/editor/src/core/components/shared/config/configSections/preferences/SoftwareUpdatesCard.tsx b/frontend/editor/src/core/components/shared/config/configSections/preferences/SoftwareUpdatesCard.tsxindex 89db01e612..7c5aa9488b 100644--- a/frontend/editor/src/core/components/shared/config/configSections/preferences/SoftwareUpdatesCard.tsx+++ b/frontend/editor/src/core/components/shared/config/configSections/preferences/SoftwareUpdatesCard.tsx@@ -1,10 +1,10 @@import { useEffect, useId, useState } from "react";+import { Icon } from "@app/ui/Icon";import { InfoTooltip } from "@app/ui/InfoTooltip";import { Badge, Group, Paper, Select, Stack, Text } from "@mantine/core";import { useTranslation } from "react-i18next";import { Button } from "@app/ui/Button";import { useAppConfig } from "@app/contexts/AppConfigContext";-import LocalIcon from "@app/components/shared/LocalIcon";import UpdateModal from "@app/components/shared/UpdateModal";import { updateService, UpdateSummary } from "@app/services/updateService";import { useFrontendVersionInfo } from "@app/hooks/useFrontendVersionInfo";@@ -164,13 +164,7 @@ export function SoftwareUpdatesCard({onClick={checkForUpdate}loading={checkingUpdate}disabled={!currentVersion}- leftSection={- <LocalIcon- icon="refresh-rounded"- width="1rem"- height="1rem"- />- }+ leftSection={<Icon name="refresh-cw" size="1rem" />}>{t("settings.general.updates.checkForUpdates",@@ -186,13 +180,7 @@ export function SoftwareUpdatesCard({: "default"}onClick={() => setUpdateModalOpened(true)}- leftSection={- <LocalIcon- icon="system-update-alt-rounded"- width="1rem"- height="1rem"- />- }+ leftSection={<Icon name="square-arrow-down" size="1rem" />}>{t("settings.general.updates.viewDetails", "View Details")}</Button>diff --git a/frontend/editor/src/core/components/shared/config/configSections/providerDefinitions.ts b/frontend/editor/src/core/components/shared/config/configSections/providerDefinitions.tsindex 5b56a022c5..8a8b3acad8 100644--- a/frontend/editor/src/core/components/shared/config/configSections/providerDefinitions.ts+++ b/frontend/editor/src/core/components/shared/config/configSections/providerDefinitions.ts@@ -24,6 +24,7 @@ export interface Provider {/** Which settings page lists it; defaults to "signin" when unset. */category?: ProviderCategory;name: string;+ /** A registry icon name, or a URL to an image (ProviderCard branches on it). */icon: string;type: ProviderType;scope: string; // Summary of what this provider does@@ -153,7 +154,7 @@ const useKeycloakProvider = (): Provider => {return {id: "keycloak",name: "Keycloak",- icon: "key-rounded",+ icon: "key",type: "oauth2",scope: t("provider.oauth2.keycloak.scope", "SSO"),businessTier: false,@@ -224,7 +225,7 @@ const useGenericOAuth2Provider = (): Provider => {return {id: "oauth2-generic",name: t("provider.oauth2.generic.name", "Generic OAuth2"),- icon: "link-rounded",+ icon: "link",type: "oauth2",scope: t("provider.oauth2.generic.scope", "SSO"),businessTier: false,@@ -342,7 +343,7 @@ const useSMTPProvider = (): Provider => {id: "smtp",category: "integration",name: t("provider.smtp.name", "SMTP Mail"),- icon: "mail-rounded",+ icon: "mail",type: "oauth2",scope: t("provider.smtp.scope", "Email Notifications"),documentationUrl:@@ -417,7 +418,7 @@ const useTelegramProvider = (): Provider => {id: "telegram",category: "integration",name: t("admin.settings.telegram.title", "Telegram Bot"),- icon: "send-rounded",+ icon: "send",type: "telegram",scope: t("admin.settings.telegram.description",@@ -670,7 +671,7 @@ const useSAML2Provider = (): Provider => {return {id: "saml2",name: t("provider.saml2.name", "SAML2"),- icon: "verified-user-rounded",+ icon: "shield-check",type: "saml2",scope: t("provider.saml2.scope", "SSO (SAML)"),businessTier: true,diff --git a/frontend/editor/src/core/components/shared/config/types.ts b/frontend/editor/src/core/components/shared/config/types.tsindex d7381b8400..70ad653ea2 100644--- a/frontend/editor/src/core/components/shared/config/types.ts+++ b/frontend/editor/src/core/components/shared/config/types.ts@@ -1,4 +1,5 @@import type React from "react";+import type { IconName } from "@app/ui/Icon";// Single source of truth for all valid nav keysexport const VALID_NAV_KEYS = [@@ -68,7 +69,7 @@ export interface ConfigNavItem {label: string;/** One line under the page title. The page owns the header; sections don't repeat it. */description?: string;- icon: string;+ icon: IconName;component: React.ReactNode;disabled?: boolean;disabledTooltip?: string;diff --git a/frontend/editor/src/core/components/shared/navFooter/NavFooter.stories.tsx b/frontend/editor/src/core/components/shared/navFooter/NavFooter.stories.tsxindex 31a04be596..6c59e513ec 100644--- a/frontend/editor/src/core/components/shared/navFooter/NavFooter.stories.tsx+++ b/frontend/editor/src/core/components/shared/navFooter/NavFooter.stories.tsx@@ -1,5 +1,5 @@import type { Meta, StoryObj } from "@storybook/react-vite";-import LinkIcon from "@mui/icons-material/Link";+import { Icon } from "@app/ui/Icon";import { NavItem } from "@app/ui/NavItem";import { NavFooter } from "@app/components/shared/navFooter/NavFooter";@@ -54,7 +54,7 @@ export const WithLinkAccountCta: Story = {<NavItemid="account-link"label="Link Stirling account"- icon={<LinkIcon sx={{ fontSize: "1.1rem" }} />}+ icon={<Icon name="link" size={"1.1rem"} />}/>),},@@ -75,6 +75,7 @@ export const WithProfilePicture: Story = {profilePictureUrl:"data:image/svg+xml;utf8," +encodeURIComponent(+ // icon-lint-disable -- data-uri avatar fixture, not an icon'<svg xmlns="http://www.w3.org/2000/svg" width="64" height="64"><rect width="64" height="64" fill="black"/><circle cx="32" cy="24" r="12" fill="white"/><ellipse cx="32" cy="56" rx="20" ry="16" fill="white"/></svg>',),},diff --git a/frontend/editor/src/core/components/shared/navFooter/NavFooter.tsx b/frontend/editor/src/core/components/shared/navFooter/NavFooter.tsxindex 848c0cb4a5..1c5080112e 100644--- a/frontend/editor/src/core/components/shared/navFooter/NavFooter.tsx+++ b/frontend/editor/src/core/components/shared/navFooter/NavFooter.tsx@@ -1,8 +1,7 @@import { useState, type ReactNode } from "react";import { useTranslation } from "react-i18next";import { Tooltip } from "@mantine/core";-import ArrowForwardIcon from "@mui/icons-material/ArrowForward";-import SettingsIcon from "@mui/icons-material/Settings";+import { Icon } from "@app/ui/Icon";import { Avatar, NavSurface } from "@app/ui";import { BrandMark } from "@app/components/shared/BrandMark";import { type AppSwitchTarget } from "@app/components/shared/AppSwitch";@@ -137,7 +136,7 @@ export function NavFooter({{/* "Takes you there", not "opens a new tab" — both apps areone SPA, so this navigates in place. */}<span className="nav-footer__trailing" aria-hidden>- <ArrowForwardIcon sx={{ fontSize: "1rem" }} />+ <Icon name="arrow-right" size={"1rem"} /></span></>)}@@ -182,7 +181,7 @@ export function NavFooter({)}{onOpenSettings && !collapsed && (<span className="nav-footer__trailing" aria-hidden>- <SettingsIcon sx={{ fontSize: "1.1rem" }} />+ <Icon name="settings" size={"1.1rem"} /></span>)}</button>diff --git a/frontend/editor/src/core/icons/icon-map.json b/frontend/editor/src/core/icons/icon-map.jsonindex 419b830663..4094d1e35a 100644--- a/frontend/editor/src/core/icons/icon-map.json+++ b/frontend/editor/src/core/icons/icon-map.json@@ -483,7 +483,7 @@"LockIcon": "lock","UserPlusIcon": "user-plus","ExternalLinkIcon": "external-link",- "IntegrationsIcon": "plug-zap",+ "IntegrationsIcon": "blocks","CalendarIcon": "calendar","KeyIcon": "key","CheckIcon": "check"diff --git a/frontend/editor/src/core/icons/icons.ts b/frontend/editor/src/core/icons/icons.tsindex 351f07fe4e..514c93ac89 100644--- a/frontend/editor/src/core/icons/icons.ts+++ b/frontend/editor/src/core/icons/icons.ts@@ -22,6 +22,7 @@ import BadgeCheck from "lucide-static/icons/badge-check.svg?react";import BadgeDollarSign from "lucide-static/icons/badge-dollar-sign.svg?react";import Banknote from "lucide-static/icons/banknote.svg?react";import Bell from "lucide-static/icons/bell.svg?react";+import Blocks from "lucide-static/icons/blocks.svg?react";import Bolt from "lucide-static/icons/bolt.svg?react";import BookOpen from "lucide-static/icons/book-open.svg?react";import BookOpenText from "lucide-static/icons/book-open-text.svg?react";@@ -222,7 +223,6 @@ import Pipette from "lucide-static/icons/pipette.svg?react";import Plane from "lucide-static/icons/plane.svg?react";import Play from "lucide-static/icons/play.svg?react";import Plug from "lucide-static/icons/plug.svg?react";-import PlugZap from "lucide-static/icons/plug-zap.svg?react";import Plus from "lucide-static/icons/plus.svg?react";import Pointer from "lucide-static/icons/pointer.svg?react";import Power from "lucide-static/icons/power.svg?react";@@ -427,6 +427,7 @@ export const ICONS = {"badge-dollar-sign": { Component: BadgeDollarSign, kind: "lucide" },banknote: { Component: Banknote, kind: "lucide" },bell: { Component: Bell, kind: "lucide" },+ blocks: { Component: Blocks, kind: "lucide" },bolt: { Component: Bolt, kind: "lucide" },"book-open": { Component: BookOpen, kind: "lucide" },"book-open-text": { Component: BookOpenText, kind: "lucide" },@@ -627,7 +628,6 @@ export const ICONS = {plane: { Component: Plane, kind: "lucide" },play: { Component: Play, kind: "lucide" },plug: { Component: Plug, kind: "lucide" },- "plug-zap": { Component: PlugZap, kind: "lucide" },plus: { Component: Plus, kind: "lucide" },pointer: { Component: Pointer, kind: "lucide" },power: { Component: Power, kind: "lucide" },diff --git a/frontend/editor/src/core/pages/SettingsPage.tsx b/frontend/editor/src/core/pages/SettingsPage.tsxindex f523271e8e..2e868a7743 100644--- a/frontend/editor/src/core/pages/SettingsPage.tsx+++ b/frontend/editor/src/core/pages/SettingsPage.tsx@@ -6,6 +6,7 @@ import React, {Suspense,} from "react";import { useLocation, useNavigate } from "react-router-dom";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";import { LoadingFallback } from "@app/components/shared/LoadingFallback";import { useSectionHeadings } from "@app/components/settings/useSectionHeadings";@@ -13,7 +14,6 @@ import { useActiveHeading } from "@app/components/settings/useActiveHeading";import { InfoTooltip } from "@app/ui/InfoTooltip";import LoginRequiredBanner from "@app/components/shared/config/LoginRequiredBanner";import { Badge, Tooltip } from "@mantine/core";-import LocalIcon from "@app/components/shared/LocalIcon";import { SettingsMobileBackButton } from "@app/components/shared/config/SettingsMobileBackButton";import { SettingsNavChevron } from "@app/components/shared/config/SettingsNavChevron";import { useSettingsNav } from "@app/components/settings/useSettingsNav";@@ -251,10 +251,9 @@ const SettingsPageInner: React.FC = () => {// saying why it is off is reachable by keyboard.aria-disabled={isDisabled || undefined}>- <LocalIcon- icon={item.icon}- width={18}- height={18}+ <Icon+ name={item.icon}+ size={18}className="settings-page__nav-icon"/><span className="settings-page__nav-label">@@ -271,10 +270,9 @@ const SettingsPageInner: React.FC = () => {</Badge>)}{showPlanWarning && (- <LocalIcon- icon="warning-rounded"- width={14}- height={14}+ <Icon+ name="triangle-alert"+ size={14}className="settings-page__nav-warning"/>)}diff --git a/frontend/editor/src/desktop/components/SetupWizard/ServerSelection.tsx b/frontend/editor/src/desktop/components/SetupWizard/ServerSelection.tsxindex cda4f2f4fc..fcfc8e9914 100644--- a/frontend/editor/src/desktop/components/SetupWizard/ServerSelection.tsx+++ b/frontend/editor/src/desktop/components/SetupWizard/ServerSelection.tsx@@ -7,8 +7,7 @@ import {SSOProviderConfig,} from "@app/services/connectionModeService";import { connectionModeService } from "@app/services/connectionModeService";-import LocalIcon from "@app/components/shared/LocalIcon";-+import { Icon } from "@app/ui/Icon";interface ServerSelectionProps {onSelect: (config: ServerConfig) => void;loading: boolean;@@ -270,13 +269,7 @@ export const ServerSelection: React.FC<ServerSelectionProps> = ({<Alertvariant="light"color="orange"- icon={- <LocalIcon- icon="warning-rounded"- width="1.25rem"- height="1.25rem"- />- }+ icon={<Icon name="triangle-alert" size="1.25rem" />}title={t("setup.server.error.securityDisabled.title","Login Not Enabled",diff --git a/frontend/editor/src/desktop/components/onboarding/classificationDemo/ClassificationDemoWorkbenchView.tsx b/frontend/editor/src/desktop/components/onboarding/classificationDemo/ClassificationDemoWorkbenchView.tsxindex 9d4a57d22a..dfa29bdc08 100644--- a/frontend/editor/src/desktop/components/onboarding/classificationDemo/ClassificationDemoWorkbenchView.tsx+++ b/frontend/editor/src/desktop/components/onboarding/classificationDemo/ClassificationDemoWorkbenchView.tsx@@ -1,10 +1,9 @@/** The sweep, rendered in place of the workbench canvas with the rails either side.* A takeover, not a registered view: unregistering an active view ejects mid-sweep. */+import { Icon } from "@app/ui/Icon";import { useEffect, useState } from "react";import { useTranslation } from "react-i18next";-import CheckCircleRoundedIcon from "@mui/icons-material/CheckCircleRounded";-import CloseRoundedIcon from "@mui/icons-material/CloseRounded";import { ActionIcon } from "@app/ui/ActionIcon";import { Button } from "@app/ui/Button";import { BrandMark } from "@app/components/shared/BrandMark";@@ -97,7 +96,7 @@ export function ClassificationDemoWorkbenchView({onClick={dismiss}aria-label={t("common.close", "Close")}>- <CloseRoundedIcon fontSize="small" />+ <Icon name="x" size={20} /></ActionIcon>{children}</div>@@ -134,10 +133,7 @@ export function ClassificationDemoWorkbenchView({{t("classificationDemo.results.heading", "Your Downloads, sorted")}</h2><p className={styles.viewLead}>- <CheckCircleRoundedIcon- className={styles.resultTick}- fontSize="inherit"- />+ <Icon name="circle-check" className={styles.resultTick} />{/* Two pluralised fragments: i18next pluralises on a single `count`, so onestring with two counts gets one wrong ("read 1 PDFs into 1 types"). */}{t("classificationDemo.results.summary", {diff --git a/frontend/editor/src/desktop/components/onboarding/classificationDemo/classificationDemoSlides.tsx b/frontend/editor/src/desktop/components/onboarding/classificationDemo/classificationDemoSlides.tsxindex a0370693ec..65b172ff8f 100644--- a/frontend/editor/src/desktop/components/onboarding/classificationDemo/classificationDemoSlides.tsx+++ b/frontend/editor/src/desktop/components/onboarding/classificationDemo/classificationDemoSlides.tsx@@ -2,9 +2,8 @@* belongs to {@link OnboardingSlideShell}. */import { useEffect, useState } from "react";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";-import FolderOpenRoundedIcon from "@mui/icons-material/FolderOpenRounded";-import LockOutlinedIcon from "@mui/icons-material/LockOutlined";import { ShellHero } from "@app/components/onboarding/OnboardingSlideShell";import { BrandMark } from "@app/components/shared/BrandMark";import {@@ -23,7 +22,7 @@ export function DefaultAppHero() {export function FolderHero() {return (<ShellHero>- <FolderOpenRoundedIcon sx={{ fontSize: 30 }} />+ <Icon name="folder-open" size={30} /></ShellHero>);}@@ -209,7 +208,7 @@ export function PrivacyNote() {const { t } = useTranslation();return (<div className={styles.note}>- <LockOutlinedIcon fontSize="small" className={styles.noteIcon} />+ <Icon name="lock" size={20} className={styles.noteIcon} />{t("classificationDemo.offer.privacy","Your PDFs stay on this device. Your connected server records processing usage.",diff --git a/frontend/editor/src/desktop/components/shared/DefaultAppBanner.tsx b/frontend/editor/src/desktop/components/shared/DefaultAppBanner.tsxindex 5ba92c2782..120f2449c5 100644--- a/frontend/editor/src/desktop/components/shared/DefaultAppBanner.tsx+++ b/frontend/editor/src/desktop/components/shared/DefaultAppBanner.tsx@@ -16,13 +16,13 @@ export const DefaultAppBanner: React.FC = () => {return (<AppBanner- icon="picture-as-pdf-rounded"+ icon="file-text"message={t("defaultApp.prompt.message","Make Stirling PDF your default application for opening PDF files.",)}buttonText={t("defaultApp.setDefault", "Set Default")}- buttonIcon="check-circle-rounded"+ buttonIcon="circle-check"onButtonClick={handleSetDefault}secondaryButtonText={t("defaultApp.prompt.dontRemind",diff --git a/frontend/editor/src/desktop/components/shared/SelfHostedOfflineBanner.tsx b/frontend/editor/src/desktop/components/shared/SelfHostedOfflineBanner.tsxindex 9f11296b56..cf1e8b0191 100644--- a/frontend/editor/src/desktop/components/shared/SelfHostedOfflineBanner.tsx+++ b/frontend/editor/src/desktop/components/shared/SelfHostedOfflineBanner.tsx@@ -3,7 +3,7 @@ import { Paper, Group, Text, Popover, List, ScrollArea } from "@mantine/core";import { Button } from "@app/ui/Button";import { ActionIcon } from "@app/ui/ActionIcon";import { useTranslation } from "react-i18next";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { useToolWorkflow } from "@app/contexts/ToolWorkflowContext";import { useConversionCloudStatus } from "@app/hooks/useConversionCloudStatus";import {@@ -217,10 +217,9 @@ export function SelfHostedOfflineBanner() {wrap="nowrap"style={{ minWidth: 0, flex: 1 }}>- <LocalIcon- icon="warning-rounded"- width="1rem"- height="1rem"+ <Icon+ name="triangle-alert"+ size="1rem"style={{ color: BANNER_ICON, flexShrink: 0 }}/><Text@@ -293,7 +292,7 @@ export function SelfHostedOfflineBanner() {aria-label={t("close", "Close")}style={{ color: BANNER_TEXT }}>- <LocalIcon icon="close-rounded" width="0.8rem" height="0.8rem" />+ <Icon name="x" size="0.8rem" /></ActionIcon></Group></Paper>diff --git a/frontend/editor/src/desktop/components/shared/config/configNavSections.tsx b/frontend/editor/src/desktop/components/shared/config/configNavSections.tsxindex f5ea130e68..1ff24f842c 100644--- a/frontend/editor/src/desktop/components/shared/config/configNavSections.tsx+++ b/frontend/editor/src/desktop/components/shared/config/configNavSections.tsx@@ -79,7 +79,7 @@ export const useConfigNavSections = ("settings.connection.description","Work locally on this machine or connect the app to a Stirling server.",),- icon: "desktop-cloud-rounded",+ icon: "cloud",component: <ConnectionSettings />,},],diff --git a/frontend/editor/src/desktop/routes/login/LoginHeader.tsx b/frontend/editor/src/desktop/routes/login/LoginHeader.tsxindex 1db8939fc7..69342eccce 100644--- a/frontend/editor/src/desktop/routes/login/LoginHeader.tsx+++ b/frontend/editor/src/desktop/routes/login/LoginHeader.tsx@@ -1,4 +1,4 @@-import CloseIcon from "@mui/icons-material/Close";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";import { ActionIcon } from "@app/ui/ActionIcon";import { Logo } from "@app/ui/Logo";@@ -67,7 +67,7 @@ export default function LoginHeader({outline: "none",}}>- <CloseIcon fontSize="small" />+ <Icon name="x" size={20} /></ActionIcon>)}</div>diff --git a/frontend/editor/src/portal/components/AppShell.tsx b/frontend/editor/src/portal/components/AppShell.tsxindex 723285efb9..2b6e7b8117 100644--- a/frontend/editor/src/portal/components/AppShell.tsx+++ b/frontend/editor/src/portal/components/AppShell.tsx@@ -5,7 +5,7 @@ import { ActionIcon } from "@app/ui";import { Sidebar } from "@portal/components/Sidebar";import { PortalSearchBar } from "@portal/components/PortalSearchBar";import { useUI } from "@portal/contexts/UIContext";-import { MenuIcon, SearchIcon } from "@portal/components/icons";+import { Icon } from "@app/ui/Icon";import { Logo } from "@app/ui/Logo";import "@app/components/layout/WorkspaceFrame.css";import { QuickNavHostBridge } from "@app/components/shared/quickNav/QuickNavHostBridge";@@ -31,7 +31,7 @@ function MobileTopbar() {aria-expanded={mobileNavOpen}onClick={toggleMobileNav}>- <MenuIcon size={20} />+ <Icon name="menu" size={20} /></ActionIcon><Logovariant="iconAndText"@@ -48,7 +48,7 @@ function MobileTopbar() {document.getElementById("portal-search-input")?.focus();}}>- <SearchIcon size={19} />+ <Icon name="search" size={19} /></ActionIcon></header>);diff --git a/frontend/editor/src/portal/components/AssistantButton.tsx b/frontend/editor/src/portal/components/AssistantButton.tsxindex d1d264aac4..223382bfeb 100644--- a/frontend/editor/src/portal/components/AssistantButton.tsx+++ b/frontend/editor/src/portal/components/AssistantButton.tsx@@ -1,6 +1,6 @@import { useTranslation } from "react-i18next";import { useUI } from "@portal/contexts/UIContext";-import { SparklesIcon } from "@portal/components/icons";+import { Icon } from "@app/ui/Icon";import { Button } from "@app/ui/Button";import "@portal/components/AssistantButton.css";@@ -34,7 +34,7 @@ export function AssistantButton() {<line x1="6" y1="6" x2="18" y2="18" /></svg>) : (- <SparklesIcon size={22} />+ <Icon name="sparkles" size={22} />)}</Button>);diff --git a/frontend/editor/src/portal/components/AssistantPanel.tsx b/frontend/editor/src/portal/components/AssistantPanel.tsxindex c48579a037..f81623d961 100644--- a/frontend/editor/src/portal/components/AssistantPanel.tsx+++ b/frontend/editor/src/portal/components/AssistantPanel.tsx@@ -7,7 +7,7 @@ import {fetchAssistantSuggestions,getAssistantReply,} from "@portal/api/assistant";-import { CloseIcon, SendIcon, SparklesIcon } from "@portal/components/icons";+import { Icon } from "@app/ui/Icon";import "@portal/components/AssistantPanel.css";interface Message {@@ -93,7 +93,7 @@ export function AssistantPanel() {><header className="portal-assistant__header"><div className="portal-assistant__header-left">- <SparklesIcon size={16} />+ <Icon name="sparkles" size={16} /><span className="portal-assistant__title">{t("portal.assistant.title")}</span>@@ -104,7 +104,7 @@ export function AssistantPanel() {onClick={closeAssistant}aria-label={t("portal.assistant.close", "Close assistant")}>- <CloseIcon size={16} />+ <Icon name="x" size={16} /></ActionIcon></header>@@ -176,7 +176,7 @@ export function AssistantPanel() {disabled={!input.trim() || typing}aria-label={t("portal.assistant.send")}>- <SendIcon size={14} />+ <Icon name="send" size={14} /></ActionIcon></form></div>diff --git a/frontend/editor/src/portal/components/BrandMarks.test.tsx b/frontend/editor/src/portal/components/BrandMarks.test.tsxnew file mode 100644index 0000000000..38b43f7877--- /dev/null+++ b/frontend/editor/src/portal/components/BrandMarks.test.tsx@@ -0,0 +1,28 @@+import { describe, expect, it } from "vitest";++import { markName } from "@portal/components/BrandMarks";+import { CREATABLE_CONNECTION_TYPES } from "@portal/components/sources/connectionTypes";+import {+ COMING_SOON_SOURCE_TYPES,+ CREATABLE_SOURCE_TYPES,+} from "@portal/components/sources/sourceTypes";++// These ids come back from the API and never appear as <Icon name> literals, so+// nothing else checks that each one has artwork. The plug is only for ids the+// app has never heard of.+describe("markName", () => {+ const ids = [+ ...CREATABLE_CONNECTION_TYPES.map((t) => t.id),+ ...CREATABLE_SOURCE_TYPES.map((t) => t.type),+ ...COMING_SOON_SOURCE_TYPES.map((t) => t.type),+ ];++ it.each([...new Set(ids)])("has a mark for %s", (id) => {+ expect(markName(id)).not.toBe("plug");+ });++ it("falls back to the plug for an unknown id", () => {+ expect(markName("no-such-connector")).toBe("plug");+ expect(markName("constructor")).toBe("plug");+ });+});diff --git a/frontend/editor/src/portal/components/BrandMarks.tsx b/frontend/editor/src/portal/components/BrandMarks.tsxindex afa6de8d65..3a942fdbf8 100644--- a/frontend/editor/src/portal/components/BrandMarks.tsx+++ b/frontend/editor/src/portal/components/BrandMarks.tsx@@ -1,474 +1,47 @@-import type { CSSProperties, ReactNode } from "react";-import {- DropboxIcon,- GoogleDriveIcon,- OneDriveIcon,-} from "@app/components/shared/CloudStorageIcons";+import type { CSSProperties } from "react";+import { Icon, isIconName, type IconName } from "@app/ui/Icon";-/**- * Full-colour brand marks for the integrations catalogue and source connectors,- * drawn on a transparent 24x24 canvas (no tinted badge behind them). Vendors- * with a recognisable mark get their brand geometry and colours; self-hosted or- * generic entries render neutral currentColor strokes so they follow the theme.- * Path-exempt from theme-lint's code-colors gate (brand hexes are the point).- */+/** Ids whose registry name differs from the id itself. */+const ID_ALIASES: Record<string, IconName> = {+ email: "mail",+ smb: "hard-drive",+ vectordb: "database",+};-interface MarkProps {- size?: number;- className?: string;- style?: CSSProperties;-}+/** Unknown connector types get a neutral plug rather than nothing. */+const FALLBACK: IconName = "plug";-function Fill({- size = 20,- className,- style,- children,- viewBox = "0 0 24 24",-}: MarkProps & { children: ReactNode; viewBox?: string }) {- return (- <svg- viewBox={viewBox}- width={size}- height={size}- className={className}- style={style}- aria-hidden- >- {children}- </svg>- );+export function markName(id: string): IconName {+ if (Object.hasOwn(ID_ALIASES, id)) return ID_ALIASES[id];+ return isIconName(id) ? id : FALLBACK;}-function Stroke({- size = 20,- className,- style,- children,-}: MarkProps & { children: ReactNode }) {- return (- <svg- viewBox="0 0 24 24"- width={size}- height={size}- className={className}- style={style}- fill="none"- stroke="currentColor"- strokeWidth="1.7"- strokeLinecap="round"- strokeLinejoin="round"- aria-hidden- >- {children}- </svg>- );+interface BrandMarkProps {+ id: string;+ size?: number | string;+ /** Renders the mark in the current text colour instead of its brand colours,+ * for lists where it sits among stroke icons. */+ colorless?: boolean;+ className?: string;+ style?: CSSProperties;}-/** Brand-coloured marks, keyed by connection-type/source-type id. */-const BRAND: Record<string, (p: MarkProps) => ReactNode> = {- s3: (p) => (- <Fill {...p}>- <path- d="M5.2 4.5c0-1.2 3-2.1 6.8-2.1s6.8.9 6.8 2.1l-1.5 14.6c-.1 1.5-2.4 2.7-5.3 2.7s-5.2-1.2-5.3-2.7z"- fill="#E25444"- />- <ellipse cx="12" cy="4.5" rx="6.8" ry="2.1" fill="#F2B0AA" />- <ellipse cx="12" cy="4.7" rx="4.6" ry="1.2" fill="#B8352A" />- </Fill>- ),- sharepoint: (p) => (- <Fill {...p}>- <circle cx="10" cy="8.6" r="5.6" fill="#036C70" />- <circle cx="15.4" cy="13.4" r="4.9" fill="#1A9BA1" />- <circle cx="9.8" cy="17.2" r="4" fill="#37C6D0" />- </Fill>- ),- purview: (p) => (- <Fill {...p}>- <path d="M12 2.6 21.4 12 12 21.4 2.6 12z" fill="#1490DF" />- <path d="M12 2.6 21.4 12H12z" fill="#28A8EA" />- <path d="M12 12v9.4L2.6 12z" fill="#0F6CBD" />- </Fill>- ),- box: (p) => (- <Fill {...p}>- <rect x="2" y="2" width="20" height="20" rx="4.5" fill="#0061D5" />- <path- d="M8 6.5v11"- stroke="#fff"- strokeWidth="2.1"- strokeLinecap="round"- />- <circle- cx="12.6"- cy="13.3"- r="4.1"- fill="none"- stroke="#fff"- strokeWidth="2.1"- />- </Fill>- ),- slack: (p) => (- <Fill {...p}>- <rect x="9.6" y="2.2" width="3.4" height="8" rx="1.7" fill="#36C5F0" />- <circle cx="5.8" cy="8.5" r="1.7" fill="#36C5F0" />- <rect x="13.8" y="9.6" width="8" height="3.4" rx="1.7" fill="#2EB67D" />- <circle cx="15.5" cy="5.8" r="1.7" fill="#2EB67D" />- <rect x="11" y="13.8" width="3.4" height="8" rx="1.7" fill="#ECB22E" />- <circle cx="18.2" cy="15.5" r="1.7" fill="#ECB22E" />- <rect x="2.2" y="11" width="8" height="3.4" rx="1.7" fill="#E01E5A" />- <circle cx="8.5" cy="18.2" r="1.7" fill="#E01E5A" />- </Fill>- ),- teams: (p) => (- <Fill {...p}>- <rect x="2.5" y="2.5" width="19" height="19" rx="4.5" fill="#6264A7" />- <path- d="M7.2 9h7v2.2h-2.3v6.6h-2.4v-6.6H7.2z"- fill="#fff"- transform="translate(1.3 -0.4)"- />- </Fill>- ),- discord: (p) => (- <Fill {...p}>- <path- d="M5.6 5.6C7.6 4.6 9.8 4.1 12 4.1s4.4.5 6.4 1.5c1.5 3 2 6.1 1.6 9.4-1.5 1.6-3.4 2.7-5.3 3.2l-1.1-2.2h-3.2l-1.1 2.2c-1.9-.5-3.8-1.6-5.3-3.2-.4-3.3.1-6.4 1.6-9.4z"- fill="#5865F2"- />- <ellipse cx="9.2" cy="11.6" rx="1.35" ry="1.5" fill="#fff" />- <ellipse cx="14.8" cy="11.6" rx="1.35" ry="1.5" fill="#fff" />- </Fill>- ),- googlechat: (p) => (- <Fill {...p}>- <path- d="M4.5 2.5h13a2.5 2.5 0 0 1 2.5 2.5v16.5l-4.4-4H4.5A2.5 2.5 0 0 1 2 15V5a2.5 2.5 0 0 1 2.5-2.5z"- fill="#00AC47"- />- <path- d="M7 8.4h10M7 12.1h6.5"- stroke="#fff"- strokeWidth="1.8"- strokeLinecap="round"- />- </Fill>- ),- zapier: (p) => (- <Fill {...p}>- <g fill="#FF4F00">- <rect x="10.6" y="2.5" width="2.8" height="19" rx="1.4" />- <rect- x="10.6"- y="2.5"- width="2.8"- height="19"- rx="1.4"- transform="rotate(90 12 12)"- />- <rect- x="10.6"- y="2.5"- width="2.8"- height="19"- rx="1.4"- transform="rotate(45 12 12)"- />- <rect- x="10.6"- y="2.5"- width="2.8"- height="19"- rx="1.4"- transform="rotate(135 12 12)"- />- </g>- <circle cx="12" cy="12" r="2.6" fill="#FF4F00" />- </Fill>- ),- n8n: (p) => (- <Fill {...p}>- <g stroke="#EA4B71" strokeWidth="1.6" fill="none" strokeLinecap="round">- <path d="M3.6 12h5.2" />- <path d="M13.2 12h1.2c1.1 0 1.5-.8 2-1.7s.9-1.7 2-1.7h1" />- <path d="M13.2 12h1.2c1.1 0 1.5.8 2 1.7s.9 1.7 2 1.7h1" />- </g>- <g fill="#EA4B71">- <circle cx="2.6" cy="12" r="1.7" />- <circle cx="11" cy="12" r="2.4" />- <circle cx="20.6" cy="8.6" r="1.7" />- <circle cx="20.6" cy="15.4" r="1.7" />- </g>- </Fill>- ),- jira: (p) => (- <Fill {...p}>- <path- d="M12 2.4 17 7.4a1.6 1.6 0 0 1 0 2.3L12 14.6 7 9.7a1.6 1.6 0 0 1 0-2.3z"- fill="#2684FF"- />- <path- d="M12 9.4 17 14.3a1.6 1.6 0 0 1 0 2.3L12 21.6 7 16.6a1.6 1.6 0 0 1 0-2.3z"- fill="#0052CC"- />- </Fill>- ),- confluence: (p) => (- <Fill {...p}>- <path- d="M3 16.2c2.7-4.3 5.5-5.9 8.7-4.8 2.1.7 3.8 2.1 7.2 2.7l-1.6 4.4c-3.9-.7-5.9-2.2-7.6-2.8-1.7-.5-3.1.1-4.8 2.6z"- fill="#2684FF"- />- <path- d="M21 7.8c-2.7 4.3-5.5 5.9-8.7 4.8-2.1-.7-3.8-2.1-7.2-2.7l1.6-4.4c3.9.7 5.9 2.2 7.6 2.8 1.7.5 3.1-.1 4.8-2.6z"- fill="#0052CC"- />- </Fill>- ),- nextcloud: (p) => (- <Fill {...p}>- <g fill="none" stroke="#0082C9" strokeWidth="2">- <circle cx="4.9" cy="12" r="2.1" />- <circle cx="12" cy="12" r="3.4" />- <circle cx="19.1" cy="12" r="2.1" />- </g>- </Fill>- ),- splunk: (p) => (- <Fill {...p}>- <path d="M6 4.8 18.4 12 6 19.2v-3.4l7-3.8-7-3.8z" fill="#65A637" />- </Fill>- ),- elastic: (p) => (- <Fill {...p}>- <path- d="M4.6 9.3C6.8 5.6 10.9 3.7 15 4.5c2.9.6 5 2.4 5.8 4.8H4.6z"- fill="#FEC514"- />- <rect- x="3.4"- y="10.4"- width="17.2"- height="3.2"- rx="1.6"- fill="#00BFB3"- />- <path- d="M4.6 14.7h16.2c-.8 2.4-2.9 4.2-5.8 4.8-4.1.8-8.2-1.1-10.4-4.8z"- fill="#1BA9F5"- />- </Fill>- ),- sumologic: (p) => (- <Fill {...p}>- <rect x="2.5" y="2.5" width="19" height="19" rx="4.5" fill="#000099" />- <path- d="M6.5 9.5c1.8-1.4 3.7-1.4 5.5 0s3.7 1.4 5.5 0M6.5 14.5c1.8-1.4 3.7-1.4 5.5 0s3.7 1.4 5.5 0"- stroke="#fff"- strokeWidth="1.7"- strokeLinecap="round"- fill="none"- />- </Fill>- ),- sendgrid: (p) => (- <Fill {...p}>- <rect x="3" y="3" width="6" height="6" fill="#51A9E3" />- <rect x="9" y="3" width="6" height="6" fill="#1A82E2" />- <rect x="15" y="3" width="6" height="6" fill="#51A9E3" />- <rect x="3" y="9" width="6" height="6" fill="#1A82E2" />- <rect x="9" y="9" width="6" height="6" fill="#51A9E3" />- <rect x="15" y="9" width="6" height="6" fill="#1A82E2" />- <rect x="3" y="15" width="6" height="6" fill="#51A9E3" />- <rect x="9" y="15" width="6" height="6" fill="#1A82E2" />- </Fill>- ),- mailgun: (p) => (- <Fill {...p}>- <circle cx="12" cy="12" r="9.5" fill="#ED413E" />- <circle cx="12" cy="12" r="5.2" fill="#fff" />- <circle cx="12" cy="12" r="2.2" fill="#ED413E" />- <circle cx="17.8" cy="12" r="1.3" fill="#ED413E" />- </Fill>- ),- cloudmersive: (p) => (- <Fill {...p}>- <rect x="2.5" y="2.5" width="19" height="19" rx="4.5" fill="#D64541" />- <path- d="M15.8 8.6a4.9 4.9 0 1 0 0 6.8"- fill="none"- stroke="#fff"- strokeWidth="2.2"- strokeLinecap="round"- />- </Fill>- ),- cloudmersiveadvanced: (p) => (- <Fill {...p}>- <rect x="2.5" y="2.5" width="19" height="19" rx="4.5" fill="#B03A37" />- <path- d="M15.8 8.6a4.9 4.9 0 1 0 0 6.8"- fill="none"- stroke="#fff"- strokeWidth="2.2"- strokeLinecap="round"- />- <circle cx="16.9" cy="12" r="1.4" fill="#fff" />- </Fill>- ),- presidio: (p) => (- <Fill {...p}>- <rect x="2.5" y="2.5" width="19" height="19" rx="4.5" fill="#6B4EE6" />- <path- d="M12 6.2l4.6 2v3.2c0 3-1.9 5-4.6 6.1-2.7-1.1-4.6-3.1-4.6-6.1V8.2z"- fill="none"- stroke="#fff"- strokeWidth="1.7"- strokeLinejoin="round"- />- <circle cx="12" cy="11.2" r="1.1" fill="#fff" />- </Fill>- ),- clamav: (p) => (- <Fill {...p}>- <path- d="M12 2.8l7.2 3v5.1c0 4.5-3 7.6-7.2 9.3-4.2-1.7-7.2-4.8-7.2-9.3V5.8z"- fill="#3E8E9E"- />- <path- d="m8.9 11.7 2.2 2.2 4-4"- fill="none"- stroke="#fff"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round"- />- </Fill>- ),- consigno: (p) => (- <Fill {...p}>- <path- d="M16.1 3.3a2.35 2.35 0 0 1 3.3 3.3L8.2 17.8 3.6 19l1.2-4.6z"- fill="#1B2A4A"- />- <path- d="M12.5 20.4c2.4-1.3 4.2-1.3 6.6 0"- fill="none"- stroke="#C33E37"- strokeWidth="1.8"- strokeLinecap="round"- />- </Fill>- ),-};--/** Neutral currentColor strokes for generic / self-hosted / roadmap entries. */-const NEUTRAL: Record<string, ReactNode> = {- folder: (- <path d="M3 7a2 2 0 0 1 2-2h4l2 2h6a2 2 0 0 1 2 2v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z" />- ),- webhook: <polyline points="13 2 3 14 12 14 11 22 21 10 12 10 13 2" />,- editor: (- <>- <path d="M12 20h9" />- <path d="M16.5 3.5a2.12 2.12 0 0 1 3 3L7 19l-4 1 1-4z" />- </>- ),- api: (- <>- <path d="M8.5 4C6.5 4 6 5 6 6.5v2.3C6 10.4 5.4 11.2 4 11.5v1c1.4.3 2 1.1 2 2.7v2.3C6 19 6.5 20 8.5 20" />- <path d="M15.5 4c2 0 2.5 1 2.5 2.5v2.3c0 1.6.6 2.4 2 2.7v1c-1.4.3-2 1.1-2 2.7v2.3c0 1.5-.5 2.5-2.5 2.5" />- </>- ),- network: (- <>- <rect x="2.5" y="4.5" width="9" height="7" rx="1" />- <rect x="12.5" y="12.5" width="9" height="7" rx="1" />- <path d="M7 11.5V16h5.5" />- </>- ),- sftp: (- <>- <rect x="4" y="13" width="16" height="7" rx="1.5" />- <path d="M7.5 16.5h.01" />- <path d="M11 16.5h.01" />- <path d="M12 10V3.5" />- <path d="m8.5 6.5 3.5-3 3.5 3" />- </>- ),- ftp: (- <>- <rect x="4" y="13" width="16" height="7" rx="1.5" />- <path d="M7.5 16.5h.01" />- <path d="M11 16.5h.01" />- <path d="M9 4.5h6l-2-2M15 8.5H9l2 2" />- </>- ),- email: (- <>- <path d="M21 12.5V18a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-5.5" />- <path d="M3 12.5h5l2 3h4l2-3h5" />- <path d="M12 3v6.5" />- <path d="m9 7 3 3 3-3" />- </>- ),- _default: (- <>- <path d="M9 7V3.5" />- <path d="M15 7V3.5" />- <path d="M6.5 7h11v3.5a5.5 5.5 0 0 1-11 0z" />- <path d="M12 16v4.5" />- </>- ),-};--/** One mark for any integration/source id; unknown ids get a neutral plug. */+/** Brand mark for an integration, connector or source type. Geometry lives in+ * core/icons/svg/; this only resolves an id to a registry name. */export function BrandMark({id,size = 20,+ colorless = false,className,style,-}: MarkProps & { id: string }) {- if (id === "googledrive") {- return (- <GoogleDriveIcon- colored- width={size}- height={size}- className={className}- style={style}- />- );- }- if (id === "onedrive") {- return (- <OneDriveIcon- colored- width={size}- height={size}- className={className}- style={style}- />- );- }- if (id === "dropbox") {- return (- <DropboxIcon- colored- width={size}- height={size}- className={className}- style={style}- />- );- }- const brand = BRAND[id];- if (brand) return <>{brand({ size, className, style })}</>;+}: BrandMarkProps) {return (- <Stroke size={size} className={className} style={style}>- {NEUTRAL[id] ?? NEUTRAL._default}- </Stroke>+ <Icon+ name={markName(id)}+ size={size}+ colorless={colorless}+ className={className}+ style={style}+ />);}diff --git a/frontend/editor/src/portal/components/DownloadEditorModal.tsx b/frontend/editor/src/portal/components/DownloadEditorModal.tsxindex 602e3ca530..21fcda5878 100644--- a/frontend/editor/src/portal/components/DownloadEditorModal.tsx+++ b/frontend/editor/src/portal/components/DownloadEditorModal.tsx@@ -4,13 +4,7 @@ import { Button, CodeBlock, Modal, SegmentedControl } from "@app/ui";import { EDITOR_URL } from "@portal/auth/editorUrl";import { markEditorInstalled } from "@portal/hooks/useEditorInstalled";import { DOWNLOAD_URLS } from "@app/constants/downloads";-import DownloadRounded from "@mui/icons-material/DownloadRounded";-import DnsRounded from "@mui/icons-material/DnsRounded";-import LayersRounded from "@mui/icons-material/LayersRounded";-import TerminalRounded from "@mui/icons-material/TerminalRounded";-import ChevronRightRounded from "@mui/icons-material/ChevronRightRounded";-import OpenInNewRounded from "@mui/icons-material/OpenInNewRounded";-import type { SvgIconComponent } from "@mui/icons-material";+import { Icon, type IconName } from "@app/ui/Icon";import "@portal/components/DownloadEditorModal.css";/* ──────────────────────────────────────────────────────────────────────── */@@ -43,13 +37,13 @@ type DockerVariant = "latest" | "latest-fat" | "latest-ultra-lite";const DESKTOP: OptionId[] = ["windows", "mac", "linux"];const SELF_HOSTED: OptionId[] = ["docker", "kubernetes", "manual"];-const ICONS: Record<OptionId, SvgIconComponent> = {- windows: DownloadRounded,- mac: DownloadRounded,- linux: DownloadRounded,- docker: DnsRounded,- kubernetes: LayersRounded,- manual: TerminalRounded,+const ICONS: Record<OptionId, IconName> = {+ windows: "download",+ mac: "download",+ linux: "download",+ docker: "server",+ kubernetes: "network",+ manual: "terminal",};interface Props {@@ -97,7 +91,7 @@ export function DownloadEditorModal({ open, onClose }: Props) {{t("portal.home.download.guide", {name: t(`portal.home.download.${id}.title`),})}- <OpenInNewRounded sx={{ fontSize: 15 }} />+ <Icon name="external-link" size={15} /></button>);@@ -117,7 +111,7 @@ export function DownloadEditorModal({ open, onClose }: Props) {<><Buttonvariant="primary"- leftSection={<DownloadRounded sx={{ fontSize: 16 }} />}+ leftSection={<Icon name="download" size={16} />}onClick={() => download(url)}>{t(`portal.home.download.${id}.downloadBtn`)}@@ -136,7 +130,7 @@ export function DownloadEditorModal({ open, onClose }: Props) {{note("linux")}<Buttonvariant="secondary"- leftSection={<OpenInNewRounded sx={{ fontSize: 16 }} />}+ leftSection={<Icon name="external-link" size={16} />}onClick={() => openUrl(GUIDES.linux)}>{t("portal.home.download.linux.guideBtn")}@@ -182,7 +176,7 @@ export function DownloadEditorModal({ open, onClose }: Props) {<><Buttonvariant="primary"- leftSection={<DownloadRounded sx={{ fontSize: 16 }} />}+ leftSection={<Icon name="download" size={16} />}onClick={() => download(JAR_URL)}>{t("portal.home.download.manual.downloadBtn")}@@ -199,7 +193,6 @@ export function DownloadEditorModal({ open, onClose }: Props) {}const renderRow = (id: OptionId) => {- const Icon = ICONS[id];return (<buttonkey={id}@@ -208,15 +201,16 @@ export function DownloadEditorModal({ open, onClose }: Props) {onClick={() => setSelected(id)}><span className="portal-install__option-icon" aria-hidden>- <Icon sx={{ fontSize: 20 }} />+ <Icon name={ICONS[id]} size={20} /></span><span className="portal-install__option-text"><strong>{t(`portal.home.download.${id}.title`)}</strong><span>{t(`portal.home.download.${id}.tagline`)}</span></span>- <ChevronRightRounded+ <Icon+ name="chevron-right"+ size={20}className="portal-install__option-chevron"- sx={{ fontSize: 20 }}aria-hidden/></button>@@ -253,7 +247,7 @@ export function DownloadEditorModal({ open, onClose }: Props) {) : (<Buttonvariant="secondary"- leftSection={<OpenInNewRounded sx={{ fontSize: 15 }} />}+ leftSection={<Icon name="external-link" size={15} />}onClick={() => {window.open(EDITOR_URL, "_blank", "noopener,noreferrer");}}diff --git a/frontend/editor/src/portal/components/InfoHint.tsx b/frontend/editor/src/portal/components/InfoHint.tsxindex 544f828432..ffc4024c08 100644--- a/frontend/editor/src/portal/components/InfoHint.tsx+++ b/frontend/editor/src/portal/components/InfoHint.tsx@@ -1,5 +1,5 @@import { ActionIcon, Tooltip, type TooltipPlacement } from "@app/ui";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import "@portal/components/InfoHint.css";export interface InfoHintProps {@@ -22,7 +22,7 @@ export function InfoHint({ content, label, placement = "top" }: InfoHintProps) {return (<Tooltip content={content} placement={placement} className="portal-hint"><ActionIcon variant="quiet" size="sm" aria-label={label}>- <LocalIcon icon="info-rounded" width="0.9rem" />+ <Icon name="info" size="0.9rem" /></ActionIcon></Tooltip>);diff --git a/frontend/editor/src/portal/components/LinkAccountFooterItem.tsx b/frontend/editor/src/portal/components/LinkAccountFooterItem.tsxindex 1f08c0a293..45bc2b99a8 100644--- a/frontend/editor/src/portal/components/LinkAccountFooterItem.tsx+++ b/frontend/editor/src/portal/components/LinkAccountFooterItem.tsx@@ -3,8 +3,7 @@ import { useTranslation } from "react-i18next";import { NavItem } from "@app/ui";import { useUI } from "@app/portal/contexts/UIContext";import { useLink } from "@app/portal/contexts/LinkContext";-import { LinkIcon } from "@app/portal/components/icons";-+import { Icon } from "@app/ui/Icon";/*** Sidebar-footer link-account CTA. Only visible when the org is unlinked — once* linked, the linked-instances row + plan badge already communicate the state,@@ -22,7 +21,7 @@ export function LinkAccountFooterItem() {<NavItemid="account-link"label={t("portal.shell.sidebar.linkAccount", "Link Stirling account")}- icon={<LinkIcon />}+ icon={<Icon name="link" size={18} />}onClick={() => openLinkModal()}/>);diff --git a/frontend/editor/src/portal/components/ProcessorFlow.tsx b/frontend/editor/src/portal/components/ProcessorFlow.tsxindex 47249f2cfe..09bed88b5d 100644--- a/frontend/editor/src/portal/components/ProcessorFlow.tsx+++ b/frontend/editor/src/portal/components/ProcessorFlow.tsx@@ -142,6 +142,7 @@ export function ProcessorFlow({ dataOverride }: ProcessorFlowProps = {}) {<FlowSankey sources={sources} outcomes={outcomes} policies={policies} />) : (<div className="portal-pf__stage" ref={wrapRef}>+ {/* icon-lint-disable -- connector geometry is computed from node positions */}<svg className="portal-pf__wires" aria-hidden>{wires}</svg>@@ -167,6 +168,7 @@ export function ProcessorFlow({ dataOverride }: ProcessorFlowProps = {}) {/></div>+ {/* icon-lint-disable -- connector geometry is computed from node positions */}<svg className="portal-pf__particles" aria-hidden><g ref={pGroupRef} /></svg>diff --git a/frontend/editor/src/portal/components/Sidebar.tsx b/frontend/editor/src/portal/components/Sidebar.tsxindex 4d6942c3ae..8dab3a3915 100644--- a/frontend/editor/src/portal/components/Sidebar.tsx+++ b/frontend/editor/src/portal/components/Sidebar.tsx@@ -12,7 +12,7 @@ import { useTranslation } from "react-i18next";import { useView, type ViewId } from "@portal/contexts/ViewContext";import { useUI } from "@portal/contexts/UIContext";import { LinkAccountFooterItem } from "@portal/components/LinkAccountFooterItem";-import { CloseIcon } from "@portal/components/icons";+import { Icon } from "@app/ui/Icon";import {GROUP_PROCESSOR,GROUP_PLATFORM,@@ -113,7 +113,7 @@ export function Sidebar() {aria-label={t("portal.shell.topbar.closeNav")}onClick={closeMobileNav}>- <CloseIcon size={18} />+ <Icon name="x" size={18} /></ActionIcon></div>diff --git a/frontend/editor/src/portal/components/billing/CardPlaceholder.tsx b/frontend/editor/src/portal/components/billing/CardPlaceholder.tsxindex 6678b20bd1..177349d709 100644--- a/frontend/editor/src/portal/components/billing/CardPlaceholder.tsx+++ b/frontend/editor/src/portal/components/billing/CardPlaceholder.tsx@@ -1,5 +1,5 @@import { useTranslation } from "react-i18next";-import { LockIcon } from "@portal/components/icons";+import { Icon } from "@app/ui/Icon";import "@portal/theme/surface.css";/**@@ -16,7 +16,7 @@ export function CardPlaceholder() {<span className="portal-billing__card-placeholder-badge">Stripe</span></div><div className="portal-billing__card-placeholder-field">- <LockIcon size={13} />+ <Icon name="lock" size={13} /><span>{t("portal.billing.checkout.card.fields",diff --git a/frontend/editor/src/portal/components/documents/DocumentExtractions.tsx b/frontend/editor/src/portal/components/documents/DocumentExtractions.tsxindex 646498156d..a6dba634f9 100644--- a/frontend/editor/src/portal/components/documents/DocumentExtractions.tsx+++ b/frontend/editor/src/portal/components/documents/DocumentExtractions.tsx@@ -1,5 +1,5 @@import { useTranslation } from "react-i18next";-import LockRounded from "@mui/icons-material/LockRounded";+import { Icon } from "@app/ui/Icon";import { column, DataTable, type DataTableColumn } from "@app/ui";import { type Extraction, type ReviewDocument } from "@portal/api/documents";import {@@ -54,7 +54,7 @@ export function DocumentExtractions({return (<div className="portal-documents__masked"><span className="portal-documents__masked-icon" aria-hidden>- <LockRounded style={{ fontSize: "1.5rem" }} />+ <Icon name="lock" size={"1.5rem"} /></span><p className="portal-documents__masked-text">{t("portal.documents.extractions.masked")}diff --git a/frontend/editor/src/portal/components/documents/ElevationBanner.tsx b/frontend/editor/src/portal/components/documents/ElevationBanner.tsxindex 67a26ad1c2..2539d9ac1c 100644--- a/frontend/editor/src/portal/components/documents/ElevationBanner.tsx+++ b/frontend/editor/src/portal/components/documents/ElevationBanner.tsx@@ -1,6 +1,5 @@import { useTranslation } from "react-i18next";-import ScheduleRounded from "@mui/icons-material/ScheduleRounded";-import LockRounded from "@mui/icons-material/LockRounded";+import { Icon } from "@app/ui/Icon";import { Banner, Button } from "@app/ui";import { formatCountdown } from "@portal/components/documents/format";@@ -28,7 +27,7 @@ export function ElevationBanner({return (<Bannertone="success"- icon={<ScheduleRounded style={{ fontSize: "1.1rem" }} />}+ icon={<Icon name="clock" size={"1.1rem"} />}title={t("portal.documents.elevation.active.title", {time: formatCountdown(secondsLeft),})}@@ -44,7 +43,7 @@ export function ElevationBanner({return (<Bannertone="warning"- icon={<LockRounded style={{ fontSize: "1.1rem" }} />}+ icon={<Icon name="lock" size={"1.1rem"} />}title={t("portal.documents.elevation.gated.title")}description={fourEyesdiff --git a/frontend/editor/src/portal/components/documents/ReviewQueue.tsx b/frontend/editor/src/portal/components/documents/ReviewQueue.tsxindex 486e770364..88ecaf8ac5 100644--- a/frontend/editor/src/portal/components/documents/ReviewQueue.tsx+++ b/frontend/editor/src/portal/components/documents/ReviewQueue.tsx@@ -1,7 +1,7 @@import { useMemo, useState } from "react";import { useNavigate } from "react-router-dom";import { useTranslation } from "react-i18next";-import AddRoundedIcon from "@mui/icons-material/AddRounded";+import { Icon } from "@app/ui/Icon";import {Button,EmptyState,@@ -12,7 +12,6 @@ import {} from "@app/ui";import type { DocumentStatus, ReviewDocument } from "@portal/api/documents";import { VIEW_PATHS, toPortalPath } from "@portal/contexts/ViewContext";-import { DocumentsIcon } from "@portal/components/icons";import { ReviewQueueTable } from "@portal/components/documents/ReviewQueueTable";import { DocumentDrawer } from "@portal/components/documents/DocumentDrawer";import { SourceModal } from "@portal/components/sources/SourceModal";@@ -32,20 +31,6 @@ interface ReviewQueueProps {loading: boolean;}-function SearchIcon() {- return (- <svg width="15" height="15" viewBox="0 0 24 24" fill="none" aria-hidden>- <circle cx="11" cy="11" r="7" stroke="currentColor" strokeWidth="2" />- <path- d="m20 20-3.5-3.5"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- />- </svg>- );-}-/*** The processing list: status filter pills, a filename search, the document* table, and a detail drawer. The primary Documents surface.@@ -125,7 +110,7 @@ export function ReviewQueue({ documents, loading }: ReviewQueueProps) {onChange={(e) => setQuery(e.target.value)}placeholder={t("portal.documents.search")}aria-label={t("portal.documents.search")}- leadingIcon={<SearchIcon />}+ leadingIcon={<Icon name="search" size={15} />}inputSize="sm"/></div>@@ -141,7 +126,7 @@ export function ReviewQueue({ documents, loading }: ReviewQueueProps) {{isEmpty && (<EmptyState- icon={<DocumentsIcon size={28} />}+ icon={<Icon name="file-text" size={28} />}title={t("portal.documents.queue.empty.title")}description={t("portal.documents.queue.empty.description")}actions={@@ -150,9 +135,7 @@ export function ReviewQueue({ documents, loading }: ReviewQueueProps) {onClick={() =>navigate(`${toPortalPath(VIEW_PATHS.pipelines)}/new`)}- leftSection={- <AddRoundedIcon style={{ fontSize: "1.125rem" }} />- }+ leftSection={<Icon name="plus" size={"1.125rem"} />}>{t("portal.documents.queue.empty.createPipeline")}</Button>diff --git a/frontend/editor/src/portal/components/pipelines/DestinationPicker.tsx b/frontend/editor/src/portal/components/pipelines/DestinationPicker.tsxindex 1952519091..153d12ce8d 100644--- a/frontend/editor/src/portal/components/pipelines/DestinationPicker.tsx+++ b/frontend/editor/src/portal/components/pipelines/DestinationPicker.tsx@@ -1,6 +1,5 @@import { useTranslation } from "react-i18next";-import AddRoundedIcon from "@mui/icons-material/AddRounded";-import EditOutlinedIcon from "@mui/icons-material/EditOutlined";+import { Icon } from "@app/ui/Icon";import { ActionIcon, Button, FormField, Select } from "@app/ui";/**@@ -69,7 +68,7 @@ export function DestinationPicker({disabled={chosen === ""}onClick={() => onEdit(chosen)}>- <EditOutlinedIcon style={{ fontSize: "1rem" }} />+ <Icon name="pencil" size={"1rem"} /></ActionIcon></div></FormField>@@ -78,7 +77,7 @@ export function DestinationPicker({variant="tertiary"size="sm"onClick={onCreateNew}- leftSection={<AddRoundedIcon style={{ fontSize: "1.125rem" }} />}+ leftSection={<Icon name="plus" size={"1.125rem"} />}>{t("portal.sources.actions.connectSource")}</Button>diff --git a/frontend/editor/src/portal/components/pipelines/PipelineCreateHeader.tsx b/frontend/editor/src/portal/components/pipelines/PipelineCreateHeader.tsxindex 00506639b4..13f2cad372 100644--- a/frontend/editor/src/portal/components/pipelines/PipelineCreateHeader.tsx+++ b/frontend/editor/src/portal/components/pipelines/PipelineCreateHeader.tsx@@ -1,5 +1,5 @@import { useTranslation } from "react-i18next";-import ArrowBackRoundedIcon from "@mui/icons-material/ArrowBackRounded";+import { Icon } from "@app/ui/Icon";import { ActionIcon, Button, IconPicker, Input } from "@app/ui";import { PipelineBlockerTooltip } from "@portal/components/pipelines/PipelineBlockerTooltip";import { PIPELINE_ICON_OPTIONS } from "@portal/components/pipelines/pipelineIcon";@@ -72,7 +72,7 @@ export function PipelineCreateHeader({onClick={onBack}aria-label={t("portal.pipelines.builder.back")}>- <ArrowBackRoundedIcon style={{ fontSize: "1.25rem" }} />+ <Icon name="arrow-left" size={"1.25rem"} /></ActionIcon><IconPickerdiff --git a/frontend/editor/src/portal/components/pipelines/PipelineEditHeader.tsx b/frontend/editor/src/portal/components/pipelines/PipelineEditHeader.tsxindex ef64af58ec..68ff7e615c 100644--- a/frontend/editor/src/portal/components/pipelines/PipelineEditHeader.tsx+++ b/frontend/editor/src/portal/components/pipelines/PipelineEditHeader.tsx@@ -1,13 +1,6 @@import { useEffect, useRef, useState } from "react";import { useTranslation } from "react-i18next";-import ArrowBackRoundedIcon from "@mui/icons-material/ArrowBackRounded";-import EditOutlinedIcon from "@mui/icons-material/EditOutlined";-import PlayArrowRoundedIcon from "@mui/icons-material/PlayArrowRounded";-import PauseRoundedIcon from "@mui/icons-material/PauseRounded";-import PowerSettingsNewRoundedIcon from "@mui/icons-material/PowerSettingsNewRounded";-import ReplayRoundedIcon from "@mui/icons-material/ReplayRounded";-import DeleteOutlineRoundedIcon from "@mui/icons-material/DeleteOutlineRounded";-import MoreHorizRoundedIcon from "@mui/icons-material/MoreHorizRounded";+import { Icon } from "@app/ui/Icon";import { ActionIcon, Button, Dropdown, IconPicker, Input } from "@app/ui";import { PipelineBlockerTooltip } from "@portal/components/pipelines/PipelineBlockerTooltip";import { PIPELINE_ICON_OPTIONS } from "@portal/components/pipelines/pipelineIcon";@@ -141,7 +134,7 @@ export function PipelineEditHeader({onClick={onBack}aria-label={t("portal.pipelines.builder.back")}>- <ArrowBackRoundedIcon style={{ fontSize: "1.25rem" }} />+ <Icon name="arrow-left" size={"1.25rem"} /></ActionIcon><IconPicker@@ -175,7 +168,7 @@ export function PipelineEditHeader({onClick={startRename}aria-label={t("portal.pipelines.builder.rename")}>- <EditOutlinedIcon style={{ fontSize: "1rem" }} />+ <Icon name="pencil" size={"1rem"} /></ActionIcon>)}</>@@ -202,9 +195,9 @@ export function PipelineEditHeader({onClick={onTogglePause}leftSection={enabled ? (- <PauseRoundedIcon style={{ fontSize: "1.125rem" }} />+ <Icon name="pause" size={"1.125rem"} />) : (- <PowerSettingsNewRoundedIcon style={{ fontSize: "1.125rem" }} />+ <Icon name="power" size={"1.125rem"} />)}>@@ -221,9 +214,7 @@ export function PipelineEditHeader({loading={running}disabled={reprocessing}onClick={onRun}- leftSection={- <PlayArrowRoundedIcon style={{ fontSize: "1.125rem" }} />- }+ leftSection={<Icon name="play" size={"1.125rem"} />}>{t("portal.pipelines.detail.run")}</Button>@@ -236,14 +227,14 @@ export function PipelineEditHeader({size="sm"aria-label={t("portal.pipelines.builder.moreActions")}>- <MoreHorizRoundedIcon style={{ fontSize: "1.125rem" }} />+ <Icon name="ellipsis" size={"1.125rem"} /></ActionIcon></Dropdown.Trigger><Dropdown.Menu><Dropdown.ItemonSelect={onReprocess}disabled={reprocessing || running || readOnly}- leading={<ReplayRoundedIcon style={{ fontSize: "1.125rem" }} />}+ leading={<Icon name="rotate-ccw" size={"1.125rem"} />}>{t("portal.pipelines.detail.clearHistory")}</Dropdown.Item>@@ -252,9 +243,7 @@ export function PipelineEditHeader({onSelect={onDelete}disabled={readOnly}className="portal-pipeline-edit-header__delete-item"- leading={- <DeleteOutlineRoundedIcon style={{ fontSize: "1.125rem" }} />- }+ leading={<Icon name="trash" size={"1.125rem"} />}>{t("portal.pipelines.detail.delete")}</Dropdown.Item>diff --git a/frontend/editor/src/portal/components/pipelines/PipelineGraphToolbar.tsx b/frontend/editor/src/portal/components/pipelines/PipelineGraphToolbar.tsxindex 1eaa2eca05..cd1aecd59c 100644--- a/frontend/editor/src/portal/components/pipelines/PipelineGraphToolbar.tsx+++ b/frontend/editor/src/portal/components/pipelines/PipelineGraphToolbar.tsx@@ -1,11 +1,7 @@import { useRef } from "react";import { useTranslation } from "react-i18next";import { Tooltip } from "@mantine/core";-import ScienceOutlinedIcon from "@mui/icons-material/ScienceOutlined";-import CheckCircleOutlineRoundedIcon from "@mui/icons-material/CheckCircleOutlineRounded";-import DownloadRoundedIcon from "@mui/icons-material/DownloadRounded";-import ErrorOutlineRoundedIcon from "@mui/icons-material/ErrorOutlineRounded";-import CodeRoundedIcon from "@mui/icons-material/CodeRounded";+import { Icon } from "@app/ui/Icon";import { ActionIcon, Button, FilePicker, Spinner } from "@app/ui";import { type RunOutputFile } from "@portal/api/pipelines";import "@portal/components/pipelines/PipelineGraphToolbar.css";@@ -67,7 +63,7 @@ export function PipelineGraphToolbar({onTest(file);resetPicker.current?.();}}- leftSection={<ScienceOutlinedIcon style={{ fontSize: "1.125rem" }} />}+ leftSection={<Icon name="flask-conical" size="1.125rem" />}>{t("portal.pipelines.builder.testRun")}</FilePicker>@@ -89,7 +85,7 @@ export function PipelineGraphToolbar({onClick={onViewDefinition}aria-label={t("portal.pipelines.builder.viewDefinition")}>- <CodeRoundedIcon style={{ fontSize: "1.125rem" }} />+ <Icon name="code" size={"1.125rem"} /></ActionIcon></Tooltip></div>@@ -111,15 +107,17 @@ function RunResultStrip({ result, onDownload }: RunResultStripProps) {<div className="portal-pipeline-toolbar__result-status">{result.status === "running" && <Spinner size="sm" />}{result.status === "completed" && (- <CheckCircleOutlineRoundedIcon+ <Icon+ name="circle-check"+ size={"1.25rem"}className="portal-pipeline-toolbar__result-icon is-ok"- style={{ fontSize: "1.25rem" }}/>)}{result.status === "failed" && (- <ErrorOutlineRoundedIcon+ <Icon+ name="circle-alert"+ size={"1.25rem"}className="portal-pipeline-toolbar__result-icon is-bad"- style={{ fontSize: "1.25rem" }}/>)}<span>@@ -144,7 +142,7 @@ function RunResultStrip({ result, onDownload }: RunResultStripProps) {variant="tertiary"size="sm"onClick={() => onDownload(output)}- leftSection={<DownloadRoundedIcon style={{ fontSize: "1.125rem" }} />}+ leftSection={<Icon name="download" size={"1.125rem"} />}>{output.fileName ?? output.fileId}</Button>diff --git a/frontend/editor/src/portal/components/pipelines/PipelineInputTrigger.tsx b/frontend/editor/src/portal/components/pipelines/PipelineInputTrigger.tsxindex eb5af9cd21..deca1a792e 100644--- a/frontend/editor/src/portal/components/pipelines/PipelineInputTrigger.tsx+++ b/frontend/editor/src/portal/components/pipelines/PipelineInputTrigger.tsx@@ -3,7 +3,7 @@import { useTranslation } from "react-i18next";import { Tooltip } from "@mantine/core";-import InfoOutlinedIcon from "@mui/icons-material/InfoOutlined";+import { Icon } from "@app/ui/Icon";import { FormField, Input, Select } from "@app/ui";export type ScheduleUnit = "MINUTES" | "HOURS" | "DAYS";@@ -62,7 +62,7 @@ export function PipelineInputTrigger({><span className="portal-builder__label-hint">{label}- <InfoOutlinedIcon style={{ fontSize: "0.875rem" }} />+ <Icon name="info" size={"0.875rem"} /></span></Tooltip>}diff --git a/frontend/editor/src/portal/components/pipelines/PipelineInspector.css b/frontend/editor/src/portal/components/pipelines/PipelineInspector.cssindex b5aeaff6fc..fac769e329 100644--- a/frontend/editor/src/portal/components/pipelines/PipelineInspector.css+++ b/frontend/editor/src/portal/components/pipelines/PipelineInspector.css@@ -29,3 +29,9 @@font-weight: 500;color: var(--c-text);}++/* Same slot as the node cards: the selected step's glyph is whatever the builder passes. */+.portal-inspector__title > svg {+ width: 1.125rem;+ height: 1.125rem;+}diff --git a/frontend/editor/src/portal/components/pipelines/PipelineInspector.tsx b/frontend/editor/src/portal/components/pipelines/PipelineInspector.tsxindex cac71b5790..1b7132ffce 100644--- a/frontend/editor/src/portal/components/pipelines/PipelineInspector.tsx+++ b/frontend/editor/src/portal/components/pipelines/PipelineInspector.tsx@@ -1,6 +1,6 @@import type { ReactNode } from "react";import { useTranslation } from "react-i18next";-import TuneRoundedIcon from "@mui/icons-material/TuneRounded";+import { Icon } from "@app/ui/Icon";import { Banner, EmptyState } from "@app/ui";import "@portal/theme/surface.css";import "@portal/components/pipelines/PipelineInspector.css";@@ -68,7 +68,7 @@ export function PipelineInspector({{/* The title stays put while the settings scroll: it names the node being edited, which iswhat makes a long form legible. */}<div className="portal-inspector__title">- {icon ?? <TuneRoundedIcon style={{ fontSize: "1.125rem" }} />}+ {icon ?? <Icon name="sliders-horizontal" size={"1.125rem"} />}<span>{title}</span></div><div className="portal-inspector__body">diff --git a/frontend/editor/src/portal/components/pipelines/PipelineStepSettings.tsx b/frontend/editor/src/portal/components/pipelines/PipelineStepSettings.tsxindex 84edd1c8ca..bd4ca4a9df 100644--- a/frontend/editor/src/portal/components/pipelines/PipelineStepSettings.tsx+++ b/frontend/editor/src/portal/components/pipelines/PipelineStepSettings.tsx@@ -1,6 +1,6 @@import { Suspense } from "react";import { useTranslation } from "react-i18next";-import InsertDriveFileOutlinedIcon from "@mui/icons-material/InsertDriveFileOutlined";+import { Icon } from "@app/ui/Icon";import { Banner, Chip } from "@app/ui";import { PreferencesProvider } from "@app/contexts/PreferencesContext";import { SidebarProvider } from "@app/contexts/SidebarContext";@@ -172,11 +172,7 @@ export function PipelineStepSettings({{chips.map((chip) => (<Chipkey={chip.field}- leadingIcon={- <InsertDriveFileOutlinedIcon- style={{ fontSize: "0.875rem" }}- />- }+ leadingIcon={<Icon name="file" size={"0.875rem"} />}onRemove={() => onClearBinding(chip.field)}>{chip.label}diff --git a/frontend/editor/src/portal/components/pipelines/PipelinesTable.stories.tsx b/frontend/editor/src/portal/components/pipelines/PipelinesTable.stories.tsxindex b01059eb3f..3e8bbc3fa1 100644--- a/frontend/editor/src/portal/components/pipelines/PipelinesTable.stories.tsx+++ b/frontend/editor/src/portal/components/pipelines/PipelinesTable.stories.tsx@@ -21,7 +21,7 @@ const PIPELINES: PipelineView[] = [name: "Archive reprocess",enabled: false,required: true,- icon: "compress",+ icon: "shrink",status: "paused",trigger: "manual",sources: [],diff --git a/frontend/editor/src/portal/components/pipelines/ToolPicker.tsx b/frontend/editor/src/portal/components/pipelines/ToolPicker.tsxindex 0fad8dd158..237bacf75f 100644--- a/frontend/editor/src/portal/components/pipelines/ToolPicker.tsx+++ b/frontend/editor/src/portal/components/pipelines/ToolPicker.tsx@@ -1,6 +1,6 @@import { useMemo, useState } from "react";import { useTranslation } from "react-i18next";-import SearchRoundedIcon from "@mui/icons-material/SearchRounded";+import { Icon } from "@app/ui/Icon";import { Button, Input } from "@app/ui";import {getSubcategoryLabel,@@ -103,7 +103,7 @@ export function ToolPicker({value={query}aria-label={t("portal.pipelines.builder.searchTools")}placeholder={t("portal.pipelines.builder.searchTools")}- leadingIcon={<SearchRoundedIcon style={{ fontSize: "1.125rem" }} />}+ leadingIcon={<Icon name="search" size={"1.125rem"} />}onChange={(e) => setQuery(e.target.value)}onKeyDown={(e) => {if (e.key === "Escape") onClose();@@ -193,7 +193,7 @@ export function ToolPicker({><BrandMarkid={op.custom ? "api" : op.connectionTypeId}- size={17}+ size={18}/></span>}diff --git a/frontend/editor/src/portal/components/pipelines/graph/GraphEdge.tsx b/frontend/editor/src/portal/components/pipelines/graph/GraphEdge.tsxindex 7f7dcca5d4..4553e8ef90 100644--- a/frontend/editor/src/portal/components/pipelines/graph/GraphEdge.tsx+++ b/frontend/editor/src/portal/components/pipelines/graph/GraphEdge.tsx@@ -1,6 +1,5 @@import { useTranslation } from "react-i18next";-import AddRoundedIcon from "@mui/icons-material/AddRounded";-import WarningAmberRoundedIcon from "@mui/icons-material/WarningAmberRounded";+import { Icon } from "@app/ui/Icon";import { ActionIcon } from "@app/ui";import type { LaidOutEdge } from "@portal/components/pipelines/graph/pipelineLayout";import { useEdgeDrop } from "@portal/components/pipelines/graph/useChainDragDrop";@@ -67,7 +66,7 @@ export function GraphEdge({aria-label={t("portal.pipelines.graph.insertHere")}onClick={() => onInsert(edge.insertIndex as number)}>- <AddRoundedIcon style={{ fontSize: "0.875rem" }} />+ <Icon name="plus" size={"0.875rem"} /></ActionIcon>) : null;@@ -94,7 +93,7 @@ export function GraphEdge({{warning ? (<span className="portal-graph-edge__note"><span className="portal-graph-edge__warning" title={warning.text}>- <WarningAmberRoundedIcon style={{ fontSize: "0.875rem" }} />+ <Icon name="triangle-alert" size={"0.875rem"} /><span className="portal-graph-edge__warning-label">{warning.text}</span>diff --git a/frontend/editor/src/portal/components/pipelines/graph/GraphNode.tsx b/frontend/editor/src/portal/components/pipelines/graph/GraphNode.tsxindex c19a7c15f2..dd5248b18b 100644--- a/frontend/editor/src/portal/components/pipelines/graph/GraphNode.tsx+++ b/frontend/editor/src/portal/components/pipelines/graph/GraphNode.tsx@@ -1,12 +1,6 @@import type { MouseEvent, ReactNode, Ref } from "react";import { useTranslation } from "react-i18next";-import CheckRoundedIcon from "@mui/icons-material/CheckRounded";-import CloseRoundedIcon from "@mui/icons-material/CloseRounded";-import ErrorOutlineRoundedIcon from "@mui/icons-material/ErrorOutlineRounded";-import MoveToInboxRoundedIcon from "@mui/icons-material/MoveToInboxRounded";-import SendRoundedIcon from "@mui/icons-material/SendRounded";-import TuneRoundedIcon from "@mui/icons-material/TuneRounded";-import WarningAmberRoundedIcon from "@mui/icons-material/WarningAmberRounded";+import { Icon } from "@app/ui/Icon";import { ActionIcon, NodeCard } from "@app/ui";import { type IconBadgeAccent } from "@app/ui/IconBadge";import type { GraphNodeKind } from "@portal/components/pipelines/graph/pipelineLayout";@@ -19,9 +13,9 @@ export type NodeRunState = "running" | "done" | "failed";type CardKind = Exclude<GraphNodeKind, "placeholder">;const KIND_ICON: Record<CardKind, ReactNode> = {- input: <MoveToInboxRoundedIcon style={{ fontSize: "1.125rem" }} />,- step: <TuneRoundedIcon style={{ fontSize: "1.125rem" }} />,- output: <SendRoundedIcon style={{ fontSize: "1.125rem" }} />,+ input: <Icon name="import" size={"1.125rem"} />,+ step: <Icon name="sliders-horizontal" size={"1.125rem"} />,+ output: <Icon name="send" size={"1.125rem"} />,};const KIND_ACCENT: Record<CardKind, IconBadgeAccent> = {@@ -98,7 +92,7 @@ export function GraphNode({aria-label={t("portal.pipelines.graph.removeNode", { name: title })}onClick={onRemove}>- <CloseRoundedIcon style={{ fontSize: "0.875rem" }} />+ <Icon name="x" size={"0.875rem"} /></ActionIcon>);@@ -124,7 +118,7 @@ export function GraphNode({detail={warning ? (<span className="portal-graph-node__warning">- <WarningAmberRoundedIcon style={{ fontSize: "0.875rem" }} />+ <Icon name="triangle-alert" size={"0.875rem"} />{warning}</span>) : (@@ -160,7 +154,7 @@ function RunStatus({ runState, title, onOpenRunState }: RunStatusProps) {aria-label={t("portal.pipelines.graph.showError", { name: title })}onClick={onOpenRunState}>- <ErrorOutlineRoundedIcon style={{ fontSize: "1.125rem" }} />+ <Icon name="circle-alert" size={"1.125rem"} /></ActionIcon>);}@@ -169,12 +163,8 @@ function RunStatus({ runState, title, onOpenRunState }: RunStatusProps) {{runState === "running" && (<span className="portal-graph-node__pulse" aria-hidden />)}- {runState === "done" && (- <CheckRoundedIcon style={{ fontSize: "1.125rem" }} />- )}- {runState === "failed" && (- <ErrorOutlineRoundedIcon style={{ fontSize: "1.125rem" }} />- )}+ {runState === "done" && <Icon name="check" size={"1.125rem"} />}+ {runState === "failed" && <Icon name="circle-alert" size={"1.125rem"} />}<span className="portal-graph-node__run-label">{t(`portal.pipelines.graph.run.${runState}`)}</span>diff --git a/frontend/editor/src/portal/components/pipelines/graph/GraphPlaceholderNode.tsx b/frontend/editor/src/portal/components/pipelines/graph/GraphPlaceholderNode.tsxindex 0ecee1bfc7..58048aaa26 100644--- a/frontend/editor/src/portal/components/pipelines/graph/GraphPlaceholderNode.tsx+++ b/frontend/editor/src/portal/components/pipelines/graph/GraphPlaceholderNode.tsx@@ -1,4 +1,4 @@-import AddRoundedIcon from "@mui/icons-material/AddRounded";+import { Icon } from "@app/ui/Icon";import { Button } from "@app/ui";import "@portal/components/pipelines/graph/GraphPlaceholderNode.css";@@ -22,7 +22,7 @@ export function GraphPlaceholderNode({variant="quiet"className="portal-graph-placeholder"onClick={onAdd}- leftSection={<AddRoundedIcon style={{ fontSize: "1.125rem" }} />}+ leftSection={<Icon name="plus" size={"1.125rem"} />}><span className="portal-graph-placeholder__title">{label}</span></Button>diff --git a/frontend/editor/src/portal/components/pipelines/pipelineIcon.tsx b/frontend/editor/src/portal/components/pipelines/pipelineIcon.tsxindex 35a96066f2..a8de6f8a04 100644--- a/frontend/editor/src/portal/components/pipelines/pipelineIcon.tsx+++ b/frontend/editor/src/portal/components/pipelines/pipelineIcon.tsx@@ -5,49 +5,32 @@import type { ReactNode } from "react";import type { IconPickerOption } from "@app/ui";-import type { SxProps, Theme } from "@mui/material";-import { PIPELINE_ROUTE_GLYPH } from "@portal/components/icons";-import ShieldOutlinedIcon from "@mui/icons-material/ShieldOutlined";-import LockOutlinedIcon from "@mui/icons-material/LockOutlined";-import LabelOutlinedIcon from "@mui/icons-material/LabelOutlined";-import LayersOutlinedIcon from "@mui/icons-material/LayersOutlined";-import CheckCircleOutlinedIcon from "@mui/icons-material/CheckCircleOutlined";-import AltRouteOutlinedIcon from "@mui/icons-material/AltRouteOutlined";-import ScheduleOutlinedIcon from "@mui/icons-material/ScheduleOutlined";-import BrandingWatermarkOutlinedIcon from "@mui/icons-material/BrandingWatermarkOutlined";-import DescriptionOutlinedIcon from "@mui/icons-material/DescriptionOutlined";-import FolderOutlinedIcon from "@mui/icons-material/FolderOutlined";-import DocumentScannerOutlinedIcon from "@mui/icons-material/DocumentScannerOutlined";-import BoltOutlinedIcon from "@mui/icons-material/BoltOutlined";-import AutoAwesomeOutlinedIcon from "@mui/icons-material/AutoAwesomeOutlined";+import { Icon, type IconName } from "@app/ui/Icon";-type MuiIcon = React.ComponentType<{ sx?: SxProps<Theme>; className?: string }>;--// "route" is the default, drawn bespoke (see pipelineIcon) to match the sidebar glyph, so it is not-// in this MUI map. Every other key resolves to an outline Material glyph.-const ICONS: Record<string, MuiIcon> = {+// Every key resolves to a registry icon; "route" is the default.+const ICONS: Record<string, IconName> = {// Pickable vocabulary.- shield: ShieldOutlinedIcon,- lock: LockOutlinedIcon,- label: LabelOutlinedIcon,- layers: LayersOutlinedIcon,- check: CheckCircleOutlinedIcon,- route: AltRouteOutlinedIcon,- schedule: ScheduleOutlinedIcon,- watermark: BrandingWatermarkOutlinedIcon,- doc: DescriptionOutlinedIcon,- folder: FolderOutlinedIcon,- scan: DocumentScannerOutlinedIcon,- bolt: BoltOutlinedIcon,- sparkle: AutoAwesomeOutlinedIcon,+ shield: "shield",+ lock: "lock",+ label: "tag",+ layers: "layers",+ check: "circle-check",+ route: "route",+ schedule: "clock",+ watermark: "watermark",+ doc: "file-text",+ folder: "folder",+ scan: "scan-line",+ bolt: "zap",+ sparkle: "sparkles",// Category-id aliases (same glyphs as policyCategoryIcon), so a template-derived pipeline that// stores only its categoryId still resolves without an explicit pick.- ingestion: LayersOutlinedIcon,- security: ShieldOutlinedIcon,- classification: LabelOutlinedIcon,- compliance: CheckCircleOutlinedIcon,- routing: AltRouteOutlinedIcon,- retention: ScheduleOutlinedIcon,+ ingestion: "layers",+ security: "shield",+ classification: "tag",+ compliance: "circle-check",+ routing: "route",+ retention: "clock",};// A category id doubles as an icon value (see the ICONS aliases), but the picker only offers the@@ -88,36 +71,14 @@ export const PIPELINE_ICON_KEYS: readonly string[] = ["sparkle",];-// Defaults to inheriting the surrounding font-size so a wrapping box controls size.+// Defaults to the surrounding font-size so a wrapping box controls size.export function pipelineIcon(key?: string,- fontSize: string = "inherit",+ size: string = "1em",className?: string,): ReactNode {- const resolved = key && (key === "route" || ICONS[key]) ? key : "route";- if (resolved === "route") {- // The default/route glyph is bespoke (matches the sidebar), em-sized like the Material icons.- return (- <svg- viewBox="0 0 24 24"- width="1em"- height="1em"- fill="none"- stroke="currentColor"- strokeWidth={1.75}- strokeLinecap="round"- strokeLinejoin="round"- style={{ fontSize }}- className={className}- aria-hidden- >- {PIPELINE_ROUTE_GLYPH}- </svg>- );- }- const Icon = ICONS[resolved];- const sx: SxProps<Theme> = { fontSize };- return <Icon sx={sx} className={className} />;+ const resolved = key && ICONS[key] ? key : DEFAULT_PIPELINE_ICON;+ return <Icon name={ICONS[resolved]} size={size} className={className} />;}/** The pipeline's icon vocabulary as options for the shared SUI `IconPicker`. */diff --git a/frontend/editor/src/portal/components/policies/PolicyExternalApiConfig.tsx b/frontend/editor/src/portal/components/policies/PolicyExternalApiConfig.tsxindex 8be82aaaeb..c4a978b765 100644--- a/frontend/editor/src/portal/components/policies/PolicyExternalApiConfig.tsx+++ b/frontend/editor/src/portal/components/policies/PolicyExternalApiConfig.tsx@@ -1,7 +1,6 @@import { useEffect, useMemo, useState } from "react";import { useTranslation } from "react-i18next";-import SearchRoundedIcon from "@mui/icons-material/SearchRounded";-import ArrowBackRoundedIcon from "@mui/icons-material/ArrowBackRounded";+import { Icon } from "@app/ui/Icon";import { Banner, Button, FormField, Input, Select } from "@app/ui";import { fetchIntegrationCapabilities } from "@portal/api/integrations";import { ConnectionPicker } from "@portal/components/sources/ConnectionPicker";@@ -125,7 +124,11 @@ export function PolicyExternalApiConfig({return (<div className="portal-policies__capability-config"><div className="portal-conn-picker__search">- <SearchRoundedIcon className="portal-conn-picker__search-icon" />+ <Icon+ name="search"+ size={18}+ className="portal-conn-picker__search-icon"+ /><inputtype="search"value={query}@@ -165,7 +168,7 @@ export function PolicyExternalApiConfig({variant="quiet"size="sm"className="portal-sources__connection-back"- leftSection={<ArrowBackRoundedIcon fontSize="inherit" />}+ leftSection={<Icon name="arrow-left" size="1em" />}onClick={() =>onChange({...parameters,diff --git a/frontend/editor/src/portal/components/processor-flow/FlowIcons.tsx b/frontend/editor/src/portal/components/processor-flow/FlowIcons.tsxindex 8cb83ab444..6b4be6c41a 100644--- a/frontend/editor/src/portal/components/processor-flow/FlowIcons.tsx+++ b/frontend/editor/src/portal/components/processor-flow/FlowIcons.tsx@@ -1,28 +1,27 @@-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import type { FlowOutcomeKey } from "@portal/api/processorFlow";import {EDITOR_TYPE,ICON_SIZE,} from "@portal/components/processor-flow/flowTypes";-/** Real Material Symbols icon for a live source node, keyed off its `type`. */+/** Icon for a live source node, keyed off its `type`. */export function SourceIcon({ type }: { type: string }) {switch (type) {case EDITOR_TYPE:- return <LocalIcon icon="edit-document" width={ICON_SIZE} />;+ return <Icon name="file-pen" size={ICON_SIZE} />;case "s3":- return <LocalIcon icon="cloud" width={ICON_SIZE} />;+ return <Icon name="cloud" size={ICON_SIZE} />;case "folder":- return <LocalIcon icon="folder" width={ICON_SIZE} />;+ return <Icon name="folder" size={ICON_SIZE} />;default:- return <LocalIcon icon="database" width={ICON_SIZE} />;+ return <Icon name="database" size={ICON_SIZE} />;}}-/** Real Material Symbols icon for an audit outcome node. Literal icon names- * (not a ternary) so the icon extractor bundles them. */+/** Icon for an audit outcome node. */export function OutcomeIcon({ outcome }: { outcome: FlowOutcomeKey }) {if (outcome === "success")- return <LocalIcon icon="check-circle" width={ICON_SIZE} />;- return <LocalIcon icon="cancel" width={ICON_SIZE} />;+ return <Icon name="circle-check" size={ICON_SIZE} />;+ return <Icon name="circle-x" size={ICON_SIZE} />;}diff --git a/frontend/editor/src/portal/components/processor-flow/FlowSankey.tsx b/frontend/editor/src/portal/components/processor-flow/FlowSankey.tsxindex 962cef995a..657046220f 100644--- a/frontend/editor/src/portal/components/processor-flow/FlowSankey.tsx+++ b/frontend/editor/src/portal/components/processor-flow/FlowSankey.tsx@@ -224,6 +224,7 @@ export function FlowSankey({ sources, outcomes, policies }: FlowSankeyProps) {return (<div className="portal-pf__sankey">+ {/* icon-lint-disable -- d3 sankey diagram */}<svg viewBox={`0 0 ${SW} ${SH}`} width="100%" aria-hidden>{wires}{bars}diff --git a/frontend/editor/src/portal/components/processor-flow/FlowSources.tsx b/frontend/editor/src/portal/components/processor-flow/FlowSources.tsxindex 927e74304d..4dc86d846e 100644--- a/frontend/editor/src/portal/components/processor-flow/FlowSources.tsx+++ b/frontend/editor/src/portal/components/processor-flow/FlowSources.tsx@@ -1,7 +1,7 @@import { type RefObject } from "react";import { useTranslation } from "react-i18next";import { Button } from "@app/ui";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import type {FlowComingSoonSource,FlowSource,@@ -79,7 +79,7 @@ export function FlowSources({onClick={onOpen}leftSection={<span className="portal-pf__node-icon" aria-hidden>- <LocalIcon icon="add" width={ICON_SIZE} />+ <Icon name="plus" size={ICON_SIZE} /></span>}>diff --git a/frontend/editor/src/portal/components/procurement/DealStatusHero.tsx b/frontend/editor/src/portal/components/procurement/DealStatusHero.tsxindex 186fa22b72..7fbf5ac2be 100644--- a/frontend/editor/src/portal/components/procurement/DealStatusHero.tsx+++ b/frontend/editor/src/portal/components/procurement/DealStatusHero.tsx@@ -1,4 +1,5 @@import { useEffect, type ReactNode } from "react";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";import { Button } from "@app/ui";import {@@ -6,13 +7,6 @@ import {type DealStage,type ProcurementSnapshot,} from "@portal/api/procurement";-import {- CalendarIcon,- CheckIcon,- DocumentsIcon,- KeyIcon,- UserPlusIcon,-} from "@portal/components/icons";import { warmCalendly } from "@portal/components/procurement/CalendlyInline";import { openApiUrl } from "@portal/api/externalUrl";import "@portal/theme/surface.css";@@ -180,7 +174,7 @@ export function DealStatusHero({{isLive && (<div className="portal-hero__live"><span className="portal-hero__live-tile" aria-hidden>- <CheckIcon size={15} />+ <Icon name="check" size={15} /></span><span className="portal-hero__live-text"><span className="portal-hero__live-title">@@ -221,21 +215,21 @@ export function DealStatusHero({label={t("portal.procurement.hero.licenseKey")}onClick={onLicense}>- <KeyIcon size={15} />+ <Icon name="key" size={15} /></IconAction>)}<IconActionlabel={t("portal.procurement.hero.documents")}onClick={onDocuments}>- <DocumentsIcon size={15} />+ <Icon name="file-text" size={15} /></IconAction>{!isLive && (<IconActionlabel={t("portal.procurement.hero.inviteTeammates")}onClick={onInvite}>- <UserPlusIcon size={15} />+ <Icon name="user-plus" size={15} /></IconAction>)}{canSchedule && (@@ -243,7 +237,7 @@ export function DealStatusHero({label={t("portal.procurement.hero.scheduleCall")}onClick={onSchedule}>- <CalendarIcon size={15} />+ <Icon name="calendar" size={15} /></IconAction>)}</div>diff --git a/frontend/editor/src/portal/components/procurement/ProcurementAgreement.tsx b/frontend/editor/src/portal/components/procurement/ProcurementAgreement.tsxindex 52c3fc10fb..7510352f2f 100644--- a/frontend/editor/src/portal/components/procurement/ProcurementAgreement.tsx+++ b/frontend/editor/src/portal/components/procurement/ProcurementAgreement.tsx@@ -9,7 +9,7 @@ import {recordAgreementSignature,type QuoteResult,} from "@portal/api/procurement";-import { DownloadIcon } from "@portal/components/icons";+import { Icon } from "@app/ui/Icon";import { StepModalHeader } from "@portal/components/shared/StepModalHeader";import { useAsync } from "@portal/hooks/useAsync";import "@portal/theme/surface.css";@@ -127,7 +127,7 @@ export function ProcurementAgreement({<Buttonvariant="tertiary"size="sm"- leftSection={<DownloadIcon size={14} />}+ leftSection={<Icon name="download" size={14} />}loading={downloadingMsa}onClick={downloadMsa}>diff --git a/frontend/editor/src/portal/components/procurement/QuoteBuilder.tsx b/frontend/editor/src/portal/components/procurement/QuoteBuilder.tsxindex 409f470685..c0e9cadda1 100644--- a/frontend/editor/src/portal/components/procurement/QuoteBuilder.tsx+++ b/frontend/editor/src/portal/components/procurement/QuoteBuilder.tsx@@ -1,12 +1,7 @@import { useEffect, useState, type ReactNode } from "react";import { useTranslation } from "react-i18next";import { Button } from "@app/ui";-import {- DocumentsIcon,- DownloadIcon,- PoliciesIcon,- UsersIcon,-} from "@portal/components/icons";+import { Icon } from "@app/ui/Icon";import { money } from "@portal/components/procurement/format";import {buildQuote,@@ -217,7 +212,7 @@ export function QuoteBuilder({<div className="portal-qb__body">{step === 0 && (<Step- icon={<DocumentsIcon size={22} />}+ icon={<Icon name="file-text" size={22} />}title={t("portal.procurement.builder.s1Title")}sub={t("portal.procurement.builder.s1Sub")}>@@ -293,7 +288,7 @@ export function QuoteBuilder({{step === 1 && (<Step- icon={<PoliciesIcon size={22} />}+ icon={<Icon name="shield-check" size={22} />}title={t("portal.procurement.builder.s2Title")}sub={t("portal.procurement.builder.s2Sub")}>@@ -369,7 +364,7 @@ export function QuoteBuilder({{step === 2 && (<Step- icon={<UsersIcon size={22} />}+ icon={<Icon name="users" size={22} />}title={t("portal.procurement.builder.s3Title")}sub={t("portal.procurement.builder.s3Sub")}>@@ -552,7 +547,7 @@ export function QuoteBuilder({variant="tertiary"size="sm"className="portal-qb__paper-download"- leftSection={<DownloadIcon size={14} />}+ leftSection={<Icon name="download" size={14} />}loading={downloading}onClick={onDownload}>diff --git a/frontend/editor/src/portal/components/settings/accountLinkSettings.tsx b/frontend/editor/src/portal/components/settings/accountLinkSettings.tsxindex 22c03ec682..21fcbf08af 100644--- a/frontend/editor/src/portal/components/settings/accountLinkSettings.tsx+++ b/frontend/editor/src/portal/components/settings/accountLinkSettings.tsx@@ -1,3 +1,4 @@+import type { IconName } from "@app/ui/Icon";import type { ComponentType } from "react";import { AccountLinkPanel } from "@portal/components/account-link/AccountLinkPanel";@@ -6,8 +7,8 @@ export interface AccountLinkSettingsSeam {navKey: "account-link";/** i18n key for the nav label; resolved with `t()` at the call site. */labelKey: string;- /** LocalIcon name for the nav item. */- icon: string;+ /** Registry icon name for the nav item. */+ icon: IconName;/** The section body — the account-link panel. */Body: ComponentType;}@@ -21,6 +22,6 @@ export interface AccountLinkSettingsSeam {export const accountLinkSettings: AccountLinkSettingsSeam | null = {navKey: "account-link",labelKey: "portal.settings.sections.account-link",- icon: "link-rounded",+ icon: "link",Body: AccountLinkPanel,};diff --git a/frontend/editor/src/portal/components/sidebarGroups.tsx b/frontend/editor/src/portal/components/sidebarGroups.tsxindex cb48848b57..066acc4951 100644--- a/frontend/editor/src/portal/components/sidebarGroups.tsx+++ b/frontend/editor/src/portal/components/sidebarGroups.tsx@@ -1,13 +1,6 @@import { type ReactNode } from "react";import { type ViewId } from "@portal/contexts/ViewContext";-import {- HomeIcon,- SourcesIcon,- IntegrationsIcon,- PipelinesIcon,- DocumentsIcon,- ReviewIcon,-} from "@portal/components/icons";+import { Icon } from "@app/ui/Icon";export interface NavEntry {id: ViewId;@@ -31,12 +24,12 @@ export interface NavGroup {// Policies were folded into Pipelines (a policy is a pipeline the org requires), so there's no// separate Policies tab.export const GROUP_PROCESSOR: NavEntry[] = [- { id: "home", icon: <HomeIcon /> },- { id: "sources", icon: <SourcesIcon /> },- { id: "pipelines", icon: <PipelinesIcon /> },- { id: "documents", icon: <DocumentsIcon /> },- { id: "review", icon: <ReviewIcon /> },- { id: "integrations", icon: <IntegrationsIcon /> },+ { id: "home", icon: <Icon name="house" size={18} /> },+ { id: "sources", icon: <Icon name="plug" size={18} /> },+ { id: "pipelines", icon: <Icon name="workflow" size={18} /> },+ { id: "documents", icon: <Icon name="file-text" size={18} /> },+ { id: "review", icon: <Icon name="clipboard-check" size={18} /> },+ { id: "integrations", icon: <Icon name="blocks" size={18} /> },];/**diff --git a/frontend/editor/src/portal/components/sources/ConnectionPicker.tsx b/frontend/editor/src/portal/components/sources/ConnectionPicker.tsxindex 9d8deded4b..600a1600da 100644--- a/frontend/editor/src/portal/components/sources/ConnectionPicker.tsx+++ b/frontend/editor/src/portal/components/sources/ConnectionPicker.tsx@@ -1,4 +1,4 @@-import AddRoundedIcon from "@mui/icons-material/AddRounded";+import { Icon } from "@app/ui/Icon";import { useEffect, useState } from "react";import { useTranslation } from "react-i18next";import { Banner, Button, Select } from "@app/ui";@@ -102,7 +102,7 @@ export function ConnectionPicker({)}<Buttonvariant="secondary"- leftSection={<AddRoundedIcon fontSize="inherit" />}+ leftSection={<Icon name="plus" size="1em" />}onClick={openCreate}>{t("portal.connections.picker.createNew")}diff --git a/frontend/editor/src/portal/components/sources/ConnectionTypePicker.tsx b/frontend/editor/src/portal/components/sources/ConnectionTypePicker.tsxindex 9540006ee3..ca8826580e 100644--- a/frontend/editor/src/portal/components/sources/ConnectionTypePicker.tsx+++ b/frontend/editor/src/portal/components/sources/ConnectionTypePicker.tsx@@ -1,6 +1,6 @@import { useMemo, useState } from "react";import { useTranslation } from "react-i18next";-import SearchRoundedIcon from "@mui/icons-material/SearchRounded";+import { Icon } from "@app/ui/Icon";import {CONNECTION_CATEGORIES,searchConnectionTypes,@@ -58,7 +58,11 @@ export function ConnectionTypePicker({return (<div className="portal-conn-picker"><div className="portal-conn-picker__search">- <SearchRoundedIcon className="portal-conn-picker__search-icon" />+ <Icon+ name="search"+ size={18}+ className="portal-conn-picker__search-icon"+ /><inputtype="search"autoFocusdiff --git a/frontend/editor/src/portal/data/ops.ts b/frontend/editor/src/portal/data/ops.tsindex 1d40cd4833..a81caf4329 100644--- a/frontend/editor/src/portal/data/ops.ts+++ b/frontend/editor/src/portal/data/ops.ts@@ -47,7 +47,6 @@ export type OpCategory =export interface PipelineOp {id: string;label: string;- icon: string;desc: string;kind: OpKind;/** Ship in the default chip row when this op's stage is on. */@@ -67,7 +66,6 @@ export interface LibraryOp extends Omit<export interface PipelineAgent {id: string;label: string;- icon: string;desc: string;/** Op IDs from PIPELINE_OPS that this agent expands into. */ops: string[];@@ -76,14 +74,12 @@ export interface PipelineAgent {export interface SourceOption {id: "upload" | "webhook" | "s3" | "email" | "scheduled";label: string;- icon: string;desc: string;}export interface DestinationOption {id: "vault" | "s3" | "webhook" | "pipeline" | "database" | "sftp";label: string;- icon: string;desc: string;}@@ -96,35 +92,30 @@ export const PIPELINE_OPS: Record<OpKind, PipelineOp[]> = {{id: "ocr",label: "OCR",- icon: "visibility",kind: "ingest",desc: "Text-recognize scanned or image-based pages",},{id: "parse",label: "Parse",- icon: "dashboard",kind: "ingest",desc: "Reconstruct reading order and layout structure",},{id: "classify",label: "Classify",- icon: "layers",kind: "ingest",desc: "Identify the document type and return a confidence score",},{id: "bundle-split",label: "Bundle split",- icon: "grid-view",kind: "ingest",desc: "Split a multi-document upload into component documents",},{id: "extract",label: "Extract",- icon: "auto-awesome",kind: "ingest",desc: "Pull structured fields from the document into a typed schema",},@@ -133,42 +124,36 @@ export const PIPELINE_OPS: Record<OpKind, PipelineOp[]> = {{id: "validate",label: "Schema validate",- icon: "shield",kind: "validate",desc: "Check required fields, business rules, and coverage gaps against the typed schema",},{id: "authenticity",label: "Authenticity",- icon: "check",kind: "validate",desc: "Verify the document is genuine (signature, issuer, watermark checks)",},{id: "tamper-check",label: "Tamper check",- icon: "alertTriangle",kind: "validate",desc: "Detect modifications since signing or last-known-good state",},{id: "source-auth",label: "Source auth",- icon: "lock",kind: "validate",desc: "Confirm the document came from an authenticated source",},{id: "counterparty-match",label: "Counterparty match",- icon: "userPlus",kind: "validate",desc: "Match the document counterparty against expected identity",},{id: "confidence-check",label: "Confidence bounds",- icon: "analytics",kind: "validate",desc: "Gate downstream ops on extraction-confidence thresholds",},@@ -177,42 +162,36 @@ export const PIPELINE_OPS: Record<OpKind, PipelineOp[]> = {{id: "merge",label: "Merge",- icon: "layers",kind: "modify",desc: "Combine multiple PDFs into a single document",},{id: "split",label: "Split",- icon: "grid-view",kind: "modify",desc: "Split a PDF into pages, sections, or by document boundary",},{id: "convert",label: "Convert",- icon: "fileText",kind: "modify",desc: "Convert between PDF, Word, Excel, image, HTML, Markdown",},{id: "compress",label: "Compress",- icon: "package",kind: "modify",desc: "Reduce file size while preserving fidelity",},{id: "rotate",label: "Rotate",- icon: "arrowRight",kind: "modify",desc: "Rotate pages or correct page orientation",},{id: "crop",label: "Crop",- icon: "dashboard",kind: "modify",desc: "Crop pages to a region or trim margins",},@@ -221,7 +200,6 @@ export const PIPELINE_OPS: Record<OpKind, PipelineOp[]> = {{id: "redact",label: "Redact PII",- icon: "visibility",kind: "secure",defaultOn: true,desc: "Remove or mask PII before the document is stored or released downstream",@@ -229,42 +207,36 @@ export const PIPELINE_OPS: Record<OpKind, PipelineOp[]> = {{id: "pii-enforce",label: "PII/PHI enforcement",- icon: "shield",kind: "secure",desc: "Policy check that outputs do not leak protected data beyond declared scope",},{id: "watermark",label: "Confidentiality mark",- icon: "penTool",kind: "secure",desc: "Stamp a visible confidentiality / classification watermark onto pages",},{id: "attribution-watermark",label: "Attribution watermark",- icon: "penTool",kind: "secure",desc: "Invisible per-recipient watermarking for leak tracing",},{id: "flatten",label: "Flatten + lock",- icon: "dashboard",kind: "secure",desc: "Flatten forms and annotations to harden the document against tampering",},{id: "sign-output",label: "Signed outputs",- icon: "penTool",kind: "secure",desc: "Tamper-evident signatures covering the artifact and run metadata",},{id: "encrypt-rest",label: "Encryption at rest",- icon: "lock",kind: "secure",defaultOn: true,desc: "AES-256 on stored artifacts. Stirling-managed, customer KMS, or BYOK",@@ -272,7 +244,6 @@ export const PIPELINE_OPS: Record<OpKind, PipelineOp[]> = {{id: "retention",label: "Retention policy",- icon: "fileText",kind: "secure",defaultOn: true,pipelineOnly: true,@@ -281,7 +252,6 @@ export const PIPELINE_OPS: Record<OpKind, PipelineOp[]> = {{id: "residency",label: "Regional residency",- icon: "globe",kind: "secure",pipelineOnly: true,desc: "Where the artifact is stored and processed. Region-pin or air-gap",@@ -289,7 +259,6 @@ export const PIPELINE_OPS: Record<OpKind, PipelineOp[]> = {{id: "access-policy",label: "Access policy",- icon: "key",kind: "secure",defaultOn: true,pipelineOnly: true,@@ -300,7 +269,6 @@ export const PIPELINE_OPS: Record<OpKind, PipelineOp[]> = {{id: "store-primary",label: "Primary store",- icon: "fileText",kind: "store",defaultOn: true,pipelineOnly: true,@@ -309,7 +277,6 @@ export const PIPELINE_OPS: Record<OpKind, PipelineOp[]> = {{id: "mirror-bucket",label: "Mirror to bucket",- icon: "globe",kind: "store",pipelineOnly: true,desc: "Copy the secured artifact to the customer’s S3 / GCS / Azure Blob for compliance archival",@@ -317,7 +284,6 @@ export const PIPELINE_OPS: Record<OpKind, PipelineOp[]> = {{id: "mirror-archive",label: "Compliance archive",- icon: "lock",kind: "store",pipelineOnly: true,desc: "Mirror to SharePoint / M365 Records / WORM-locked archive for regulated retention",@@ -325,7 +291,6 @@ export const PIPELINE_OPS: Record<OpKind, PipelineOp[]> = {{id: "emit-manifest",label: "Processing manifest",- icon: "penTool",kind: "store",defaultOn: true,pipelineOnly: true,@@ -336,21 +301,18 @@ export const PIPELINE_OPS: Record<OpKind, PipelineOp[]> = {{id: "review",label: "Human review",- icon: "userPlus",kind: "alert",desc: "Route the document to the review queue when rules fail",},{id: "flag",label: "Flag",- icon: "alertTriangle",kind: "alert",desc: "Raise an in-app flag on low-confidence or out-of-policy docs",},{id: "notify",label: "Notify",- icon: "notifications",kind: "alert",desc: "Fire a webhook or email when the pipeline finishes or trips a rule",},@@ -377,28 +339,24 @@ export const PIPELINE_AGENTS: readonly PipelineAgent[] = [{id: "agent-pii-sweep",label: "PII Sweep",- icon: "shield",desc: "Redact PII categories + encrypt the sealed artifact",ops: ["redact", "encrypt-rest"],},{id: "agent-trust-verify",label: "Trust & Verify",- icon: "check",desc: "Authenticity, tamper, and confidence checks before downstream",ops: ["authenticity", "tamper-check", "confidence-check"],},{id: "agent-compliance-pack",label: "Compliance Pack",- icon: "lock",desc: "Redact + watermark + sign + retention policy",ops: ["redact", "watermark", "sign-output", "retention"],},{id: "agent-format-prep",label: "Format Prep",- icon: "package",desc: "Compress and flatten before downstream consumption",ops: ["compress", "flatten"],},@@ -481,7 +439,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "validate",label: "Schema validate",- icon: "shield",kind: "validate",category: "Validation",desc: "Check required fields, business rules, and coverage gaps against the typed schema",@@ -489,7 +446,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "authenticity",label: "Authenticity",- icon: "check",kind: "validate",category: "Validation",desc: "Verify the document is genuine (signature, issuer, watermark checks)",@@ -497,7 +453,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "tamper-check",label: "Tamper check",- icon: "alertTriangle",kind: "validate",category: "Validation",desc: "Detect modifications since signing or last-known-good state",@@ -505,7 +460,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "source-auth",label: "Source auth",- icon: "lock",kind: "validate",category: "Validation",desc: "Confirm the document came from an authenticated source",@@ -513,7 +467,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "counterparty-match",label: "Counterparty match",- icon: "userPlus",kind: "validate",category: "Validation",desc: "Match the document counterparty against expected identity",@@ -521,7 +474,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "confidence-check",label: "Confidence bounds",- icon: "analytics",kind: "validate",category: "Validation",desc: "Gate downstream ops on extraction-confidence thresholds",@@ -529,7 +481,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "inspect-basic",label: "Basic info",- icon: "fileText",kind: "validate",category: "Document Review",desc: "Get document metadata (title, author, page count, dates)",@@ -537,7 +488,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "inspect-pages",label: "Page count",- icon: "fileText",kind: "validate",category: "Document Review",desc: "Return the page count of the document",@@ -545,7 +495,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "inspect-fonts",label: "Font info",- icon: "fileText",kind: "validate",category: "Document Review",desc: "List fonts embedded in the document",@@ -553,7 +502,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "inspect-security",label: "Security info",- icon: "lock",kind: "validate",category: "Document Review",desc: "Read security configuration (encryption, signatures, permissions)",@@ -561,7 +509,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "inspect-form",label: "Form fields",- icon: "fileText",kind: "validate",category: "Document Review",desc: "Enumerate form fields and their values",@@ -569,7 +516,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "filter-text",label: "Filter by text",- icon: "shield",kind: "validate",category: "Validation",desc: "Pass only docs containing specific text",@@ -577,7 +523,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "filter-image",label: "Filter by image",- icon: "shield",kind: "validate",category: "Validation",desc: "Pass only docs containing images",@@ -585,7 +530,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "filter-page-count",label: "Filter by page count",- icon: "shield",kind: "validate",category: "Validation",desc: "Pass only docs within a page-count range",@@ -593,7 +537,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "filter-page-size",label: "Filter by page size",- icon: "shield",kind: "validate",category: "Validation",desc: "Pass only docs matching a page-dimension constraint",@@ -601,7 +544,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "filter-file-size",label: "Filter by file size",- icon: "shield",kind: "validate",category: "Validation",desc: "Pass only docs within a file-size range",@@ -611,7 +553,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "merge",label: "Merge",- icon: "layers",kind: "modify",category: "Page Formatting",desc: "Combine multiple PDFs into a single document",@@ -619,7 +560,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "split",label: "Split",- icon: "grid-view",kind: "modify",category: "Removal",desc: "Split a PDF into pages, sections, or by document boundary",@@ -627,7 +567,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "split-chapters",label: "Split by chapters",- icon: "grid-view",kind: "modify",category: "Removal",desc: "Split a PDF along bookmark or chapter boundaries",@@ -635,7 +574,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "split-size",label: "Split by size",- icon: "grid-view",kind: "modify",category: "Removal",desc: "Split a PDF when it exceeds a size or page-count threshold",@@ -643,7 +581,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "auto-split",label: "Auto split",- icon: "grid-view",kind: "modify",category: "Classification",desc: "Detect document boundaries and split automatically",@@ -651,7 +588,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "remove-pages",label: "Remove pages",- icon: "grid-view",kind: "modify",category: "Removal",desc: "Drop specified pages from the document",@@ -659,7 +595,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "remove-blanks",label: "Remove blank pages",- icon: "grid-view",kind: "modify",category: "Removal",desc: "Detect and drop blank pages",@@ -667,7 +602,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "rearrange-pages",label: "Rearrange pages",- icon: "grid-view",kind: "modify",category: "Page Formatting",desc: "Reorder pages by a specified sequence",@@ -675,7 +609,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "rotate",label: "Rotate",- icon: "arrowRight",kind: "modify",category: "Page Formatting",desc: "Rotate pages or correct page orientation",@@ -683,7 +616,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "crop",label: "Crop",- icon: "dashboard",kind: "modify",category: "Page Formatting",desc: "Crop pages to a region or trim margins",@@ -691,7 +623,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "compress",label: "Compress",- icon: "package",kind: "modify",category: "Developer Tools",desc: "Reduce file size while preserving fidelity",@@ -699,7 +630,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "flatten",label: "Flatten",- icon: "dashboard",kind: "modify",category: "Page Formatting",desc: "Flatten forms and annotations into the page content",@@ -707,7 +637,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "repair",label: "Repair",- icon: "package",kind: "modify",category: "Developer Tools",desc: "Repair a corrupted or malformed PDF",@@ -715,7 +644,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "remove-images",label: "Remove images",- icon: "visibility",kind: "modify",category: "Removal",desc: "Strip images to reduce file size",@@ -723,7 +651,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "update-metadata",label: "Update metadata",- icon: "fileText",kind: "modify",category: "Developer Tools",desc: "Edit PDF metadata fields (title, author, keywords)",@@ -731,7 +658,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "auto-rename",label: "Auto rename",- icon: "fileText",kind: "modify",category: "Classification",desc: "Rename based on extracted document content",@@ -739,7 +665,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "add-image",label: "Add image",- icon: "penTool",kind: "modify",category: "Page Formatting",desc: "Insert an image onto pages",@@ -747,7 +672,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "add-stamp",label: "Add stamp",- icon: "penTool",kind: "modify",category: "Page Formatting",desc: "Apply a stamp to pages",@@ -755,7 +679,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "add-page-numbers",label: "Page numbers",- icon: "penTool",kind: "modify",category: "Page Formatting",desc: "Add page numbers to the document",@@ -763,7 +686,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "add-attachments",label: "Add attachments",- icon: "penTool",kind: "modify",category: "Advanced Formatting",desc: "Embed file attachments in the PDF",@@ -771,7 +693,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "overlay",label: "Overlay PDFs",- icon: "layers",kind: "modify",category: "Advanced Formatting",desc: "Overlay one PDF on top of another",@@ -779,7 +700,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "multi-page-layout",label: "Multi-page layout",- icon: "grid-view",kind: "modify",category: "Advanced Formatting",desc: "Combine multiple pages into a single page (n-up)",@@ -787,7 +707,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "scale-pages",label: "Scale pages",- icon: "dashboard",kind: "modify",category: "Page Formatting",desc: "Resize pages to a target dimension",@@ -795,7 +714,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "edit-toc",label: "Edit TOC",- icon: "fileText",kind: "modify",category: "Advanced Formatting",desc: "Edit the table of contents / bookmarks",@@ -803,7 +721,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "invert-colors",label: "Invert colors",- icon: "penTool",kind: "modify",category: "Page Formatting",desc: "Invert page colors or replace specific colors",@@ -811,7 +728,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "convert-image",label: "PDF → image",- icon: "fileText",kind: "modify",category: "Extraction",desc: "Convert PDF pages to image files",@@ -819,7 +735,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "image-to-pdf",label: "Image → PDF",- icon: "fileText",kind: "modify",category: "Advanced Formatting",desc: "Convert images into a PDF",@@ -827,7 +742,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "convert-word",label: "PDF → Word",- icon: "fileText",kind: "modify",category: "Extraction",desc: "Convert PDF to a DOCX document",@@ -835,7 +749,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "convert-pptx",label: "PDF → presentation",- icon: "fileText",kind: "modify",category: "Extraction",desc: "Convert PDF to a PPTX deck",@@ -843,7 +756,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "convert-text",label: "PDF → text",- icon: "fileText",kind: "modify",category: "Extraction",desc: "Extract plain text from the PDF",@@ -851,7 +763,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "convert-html",label: "PDF → HTML",- icon: "fileText",kind: "modify",category: "Extraction",desc: "Convert PDF to HTML",@@ -859,7 +770,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "convert-xml",label: "PDF → XML",- icon: "fileText",kind: "modify",category: "Extraction",desc: "Convert PDF to structured XML",@@ -867,7 +777,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "convert-csv",label: "PDF → CSV",- icon: "fileText",kind: "modify",category: "Extraction",desc: "Extract tables from the PDF as CSV",@@ -875,7 +784,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "convert-markdown",label: "PDF → Markdown",- icon: "fileText",kind: "modify",category: "Extraction",desc: "Convert PDF to Markdown",@@ -883,7 +791,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "convert-pdfa",label: "PDF → PDF/A",- icon: "fileText",kind: "modify",category: "Advanced Formatting",desc: "Convert to the PDF/A archival format",@@ -891,7 +798,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "html-to-pdf",label: "HTML → PDF",- icon: "fileText",kind: "modify",category: "Advanced Formatting",desc: "Render HTML as a PDF",@@ -899,7 +805,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "markdown-to-pdf",label: "Markdown → PDF",- icon: "fileText",kind: "modify",category: "Advanced Formatting",desc: "Render Markdown as a PDF",@@ -907,7 +812,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "url-to-pdf",label: "URL → PDF",- icon: "fileText",kind: "modify",category: "Advanced Formatting",desc: "Render a web page as a PDF",@@ -915,7 +819,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "eml-to-pdf",label: "Email → PDF",- icon: "fileText",kind: "modify",category: "Advanced Formatting",desc: "Convert an email file (.eml) to a PDF",@@ -923,7 +826,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "ocr",label: "OCR",- icon: "visibility",kind: "modify",category: "Extraction",desc: "Optical character recognition on scanned pages",@@ -931,7 +833,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "extract-images",label: "Extract images",- icon: "auto-awesome",kind: "modify",category: "Extraction",desc: "Extract embedded images from the PDF",@@ -939,7 +840,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "extract-bookmarks",label: "Extract bookmarks",- icon: "auto-awesome",kind: "modify",category: "Extraction",desc: "Extract the bookmark / outline tree",@@ -947,7 +847,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "extract-scans",label: "Extract scans",- icon: "auto-awesome",kind: "modify",category: "Extraction",desc: "Detect and extract scanned image regions",@@ -957,7 +856,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "redact",label: "Redact PII",- icon: "visibility",kind: "secure",category: "Document Security",desc: "Remove or mask PII before the document is stored or released",@@ -965,7 +863,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "pii-enforce",label: "PII / PHI enforcement",- icon: "shield",kind: "secure",category: "Document Security",desc: "Policy check that outputs do not leak protected data beyond declared scope",@@ -973,7 +870,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "auto-redact",label: "Auto-redact",- icon: "visibility",kind: "secure",category: "Document Security",desc: "Automatically redact sensitive content based on policy",@@ -981,7 +877,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "watermark",label: "Confidentiality mark",- icon: "penTool",kind: "secure",category: "Document Security",desc: "Apply a visible confidentiality watermark to pages",@@ -989,7 +884,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "attribution-watermark",label: "Attribution watermark",- icon: "penTool",kind: "secure",category: "Document Security",desc: "Embed a per-recipient invisible watermark for leak tracing",@@ -997,7 +891,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "sanitize",label: "Sanitize",- icon: "shield",kind: "secure",category: "Document Security",desc: "Strip hidden data, JavaScript, and metadata from the PDF",@@ -1005,7 +898,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "sign-output",label: "Sign outputs",- icon: "penTool",kind: "secure",category: "Signing",desc: "Apply a tamper-evident signature covering the artifact and run metadata",@@ -1013,7 +905,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "cert-sign",label: "Certificate sign",- icon: "penTool",kind: "secure",category: "Signing",desc: "Sign with a digital certificate",@@ -1021,7 +912,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "add-password",label: "Add password",- icon: "lock",kind: "secure",category: "Document Security",desc: "Password-protect the output PDF",@@ -1029,7 +919,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "encrypt-rest",label: "Encryption at rest",- icon: "lock",kind: "secure",category: "Document Security",desc: "AES-256 encryption on stored artifacts (Stirling-managed, BYOK, or HYOK)",@@ -1037,7 +926,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "flatten-secure",label: "Flatten + lock",- icon: "dashboard",kind: "secure",category: "Document Security",desc: "Flatten forms and lock the document against tampering",@@ -1045,7 +933,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "retention",label: "Retention policy",- icon: "fileText",kind: "secure",category: "Document Security",desc: "How long Stirling retains the artifact, run record, and audit trail",@@ -1053,7 +940,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "residency",label: "Regional residency",- icon: "globe",kind: "secure",category: "Document Security",desc: "Where the artifact is stored and processed (region-pin or air-gap)",@@ -1061,7 +947,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "access-policy",label: "Access policy",- icon: "key",kind: "secure",category: "Document Security",desc: "Who can fetch the sealed artifact (signed URL, IdP-gated, public)",@@ -1069,7 +954,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "remove-cert-sign",label: "Remove signature",- icon: "penTool",kind: "secure",category: "Signing",desc: "Strip a digital signature from the document",@@ -1079,7 +963,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "summarize",label: "Document summarizer",- icon: "fileText",kind: "modify",category: "Document Review",provider: "claude",@@ -1088,7 +971,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "translate",label: "Document translator",- icon: "globe",kind: "modify",category: "Automation",provider: "claude",@@ -1097,7 +979,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "contract-analyze",label: "Contract analyzer",- icon: "shield",kind: "validate",category: "Document Review",provider: "claude",@@ -1106,7 +987,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "compliance-audit",label: "Compliance auditor",- icon: "check",kind: "validate",category: "Document Review",provider: "stirling",@@ -1115,7 +995,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "generate",label: "Document generation",- icon: "penTool",kind: "modify",category: "Automation",provider: "claude",@@ -1124,7 +1003,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "certify",label: "Document certification",- icon: "check",kind: "validate",category: "Document Review",provider: "claude",@@ -1133,7 +1011,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "intelligent-forms",label: "Intelligent forms",- icon: "fileText",kind: "modify",category: "Automation",provider: "stirling",@@ -1144,7 +1021,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "schema-extract",label: "Schema-aware extract",- icon: "auto-awesome",kind: "modify",category: "Classification",desc: "Extract the typed fields the inferred schema declares — not heuristic regexes. Confidence scored per field",@@ -1152,7 +1028,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "schema-validate",label: "Schema validate",- icon: "shield",kind: "validate",category: "Validation",desc: "Validate the document against its inferred schema. Required-field coverage, type-correctness, business rules",@@ -1160,7 +1035,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "schema-route",label: "Conditional routing",- icon: "arrowRight",kind: "validate",category: "Classification",desc: "Fork to a downstream pipeline based on the inferred schema (Invoice → AP, Loan Closing → Compliance, etc.)",@@ -1168,7 +1042,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "drift-check",label: "Schema drift check",- icon: "alertTriangle",kind: "validate",category: "Validation",desc: "Flag when a doc claims to be a known type but its field shape diverges from prior examples",@@ -1176,7 +1049,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "smart-redact",label: "Field-aware redact",- icon: "visibility",kind: "secure",category: "Document Security",desc: "Schema-aware PII redaction — targets fields the schema declares as PII, not regex fishing",@@ -1184,7 +1056,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "field-confidence",label: "Field confidence",- icon: "analytics",kind: "validate",category: "Validation",desc: "Per-field confidence scoring backed by the typed schema",@@ -1192,7 +1063,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "schema-split",label: "Schema-aware split",- icon: "grid-view",kind: "modify",category: "Classification",desc: "Split a multi-doc bundle along schema boundaries",@@ -1200,7 +1070,6 @@ export const LIBRARY_OPS: readonly LibraryOp[] = [{id: "smart-watermark",label: "Smart watermark",- icon: "penTool",kind: "secure",category: "Document Security",desc: "Watermark text incorporates extracted schema fields",@@ -1223,31 +1092,26 @@ export const SOURCE_OPTIONS: readonly SourceOption[] = [{id: "upload",label: "Upload API",- icon: "upload",desc: "POST documents to a Stirling endpoint",},{id: "webhook",label: "Inbound webhook",- icon: "webhook",desc: "Receive documents from another system via webhook",},{id: "s3",label: "S3 bucket watch",- icon: "storage",desc: "Poll an S3 bucket for new files",},{id: "email",label: "Email intake",- icon: "fileText",desc: "Route an inbox to this pipeline",},{id: "scheduled",label: "Scheduled import",- icon: "schedule",desc: "Fetch from SFTP/URL on a schedule",},];@@ -1256,37 +1120,31 @@ export const DESTINATION_OPTIONS: readonly DestinationOption[] = [{id: "vault",label: "Stirling vault",- icon: "shield",desc: "Store the processed document and extracted data in Stirling",},{id: "s3",label: "S3 bucket",- icon: "storage",desc: "Write results to an S3 bucket",},{id: "webhook",label: "Outbound webhook",- icon: "externalLink",desc: "POST results to a URL you control",},{id: "pipeline",label: "Another pipeline",- icon: "arrowRight",desc: "Chain to a second pipeline",},{id: "database",label: "Database",- icon: "database",desc: "Insert extracted fields into Postgres/Snowflake/BigQuery",},{id: "sftp",label: "SFTP",- icon: "fileText",desc: "Drop output files on an SFTP server",},];diff --git a/frontend/editor/src/portal/search/entitySearch.tsx b/frontend/editor/src/portal/search/entitySearch.tsxindex 98ef8b9b76..8790fa9c1f 100644--- a/frontend/editor/src/portal/search/entitySearch.tsx+++ b/frontend/editor/src/portal/search/entitySearch.tsx@@ -22,13 +22,7 @@ import type { Member } from "@portal/api/users";// endpoints, SaaS the invitation-based team endpoints (the admin ones 403// there for the always-ROLE_USER sessions).import { usersBackend } from "@app/portal/usersBackend";-import {- DocsIcon,- PipelinesIcon,- PoliciesIcon,- SourcesIcon,- UsersIcon,-} from "@portal/components/icons";+import { Icon } from "@app/ui/Icon";import type { Tier } from "@portal/contexts/TierContext";import { VIEW_PATHS, toPortalPath } from "@portal/contexts/ViewContext";import { DOCS_PATH } from "@app/routes/docsRoute";@@ -123,7 +117,7 @@ export function rankDocsResults(.map((seg) => seg.text).join("").trim() || result.sectionLabel,- icon: <DocsIcon />,+ icon: <Icon name="book-open" size={18} />,score: result.score,onSelect: () => navigate(`${DOCS_PATH}#${result.id}`),}));@@ -227,7 +221,7 @@ export function rankPortalPolicyResults(group: "portal-policies",title: policyResultTitle(item, t),subtitle: t(item.category.desc),- icon: <PoliciesIcon />,+ icon: <Icon name="shield-check" size={18} />,score,onSelect: () => openPolicy(item.category.id),}));@@ -251,7 +245,7 @@ export function rankPortalPipelineResults(group: "portal-pipelines",title: item.name,subtitle: item.trigger,- icon: <PipelinesIcon />,+ icon: <Icon name="workflow" size={18} />,score,onSelect: () => openPipeline(item.id),}));@@ -292,7 +286,7 @@ export function buildProcessorEntityGroups(group: "portal-users",title: item.name,subtitle: item.email,- icon: <UsersIcon />,+ icon: <Icon name="users" size={18} />,score,onSelect: () =>navigate(`/settings/users?member=${encodeURIComponent(item.id)}`),@@ -362,7 +356,7 @@ export function buildProcessorEntityGroups(group: "portal-sources",title: item.name,subtitle: item.type,- icon: <SourcesIcon />,+ icon: <Icon name="plug" size={18} />,score,onSelect: () =>navigate(`${toPortalPath(VIEW_PATHS.sources)}/${item.id}`),diff --git a/frontend/editor/src/portal/views/Documents.tsx b/frontend/editor/src/portal/views/Documents.tsxindex 3f2deb2c71..91b189e8af 100644--- a/frontend/editor/src/portal/views/Documents.tsx+++ b/frontend/editor/src/portal/views/Documents.tsx@@ -1,4 +1,5 @@import type { TFunction } from "i18next";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";import { Button } from "@app/ui";import { useTier } from "@portal/contexts/TierContext";@@ -10,20 +11,6 @@ import {import { ReviewQueue } from "@portal/components/documents/ReviewQueue";import "@portal/views/Documents.css";-function DownloadIcon() {- return (- <svg width="15" height="15" viewBox="0 0 24 24" fill="none" aria-hidden>- <path- d="M12 3v12m0 0 4-4m-4 4-4-4M5 21h14"- stroke="currentColor"- strokeWidth="2"- strokeLinecap="round"- strokeLinejoin="round"- />- </svg>- );-}-function csvCell(value: string): string {return `"${value.replace(/"/g, '""')}"`;}@@ -95,7 +82,7 @@ export function Documents() {<Buttonvariant="secondary"fat- leftSection={<DownloadIcon />}+ leftSection={<Icon name="download" size={15} />}onClick={exportCsv}disabled={documents.length === 0}>diff --git a/frontend/editor/src/portal/views/Integrations.tsx b/frontend/editor/src/portal/views/Integrations.tsxindex 1c25a6f152..230c4c8522 100644--- a/frontend/editor/src/portal/views/Integrations.tsx+++ b/frontend/editor/src/portal/views/Integrations.tsx@@ -1,7 +1,6 @@import { useCallback, useEffect, useMemo, useState } from "react";import { useTranslation } from "react-i18next";-import AddRoundedIcon from "@mui/icons-material/AddRounded";-import SearchRoundedIcon from "@mui/icons-material/SearchRounded";+import { Icon } from "@app/ui/Icon";import {Banner,Button,@@ -374,7 +373,7 @@ export function Integrations() {<ButtonfatonClick={() => openCreate("api")}- leftSection={<AddRoundedIcon style={{ fontSize: "1.125rem" }} />}+ leftSection={<Icon name="plus" size={"1.125rem"} />}>{t("portal.integrations.customApi")}</Button>@@ -415,7 +414,7 @@ export function Integrations() {</div><div className="portal-integrations__toolbar-side"><label className="portal-integrations__search">- <SearchRoundedIcon fontSize="inherit" />+ <Icon name="search" size="1em" /><inputtype="search"value={query}diff --git a/frontend/editor/src/portal/views/PipelineBuilder.css b/frontend/editor/src/portal/views/PipelineBuilder.cssindex 6c98a4e9e8..0425370588 100644--- a/frontend/editor/src/portal/views/PipelineBuilder.css+++ b/frontend/editor/src/portal/views/PipelineBuilder.css@@ -131,8 +131,12 @@font-size: 1.125rem;}+/* Tool icons arrive pre-sized from the registry (1.5rem) and brand marks at their own size, so+ the slot sizes whatever it is given to its font-size and the column reads as one set. */.portal-pipelines__picker-icon svg {display: block;+ width: 1em;+ height: 1em;}/* Name over its optional note - a two-line item, so the note reads as a sub-line rather thandiff --git a/frontend/editor/src/portal/views/PipelineBuilder.tsx b/frontend/editor/src/portal/views/PipelineBuilder.tsxindex 918a69d534..09faaceb26 100644--- a/frontend/editor/src/portal/views/PipelineBuilder.tsx+++ b/frontend/editor/src/portal/views/PipelineBuilder.tsx@@ -8,10 +8,7 @@ import { isConditionComplete } from "@app/conditions/validation";import { useEffect, useMemo, useRef, useState, type ReactNode } from "react";import { useLocation, useNavigate, useParams } from "react-router-dom";import { useTranslation } from "react-i18next";-import EditOutlinedIcon from "@mui/icons-material/EditOutlined";-import AddRoundedIcon from "@mui/icons-material/AddRounded";-import MoveToInboxRoundedIcon from "@mui/icons-material/MoveToInboxRounded";-import SendRoundedIcon from "@mui/icons-material/SendRounded";+import { Icon } from "@app/ui/Icon";import {ActionIcon,Banner,@@ -591,9 +588,9 @@ export function PipelineBuilder() {const op = stepOperation(step);if (op)return (- <BrandMark id={op.custom ? "api" : op.connectionTypeId} size={17} />+ <BrandMark id={op.custom ? "api" : op.connectionTypeId} size={18} />);- if (isIntegrationStep(step)) return <BrandMark id="api" size={17} />;+ if (isIntegrationStep(step)) return <BrandMark id="api" size={18} />;return step.toolId ? allTools[step.toolId]?.icon : undefined;}@@ -1309,7 +1306,7 @@ export function PipelineBuilder() {setSourceModal({ open: true, sourceId: input.sourceId })}>- <EditOutlinedIcon style={{ fontSize: "1rem" }} />+ <Icon name="pencil" size={"1rem"} /></ActionIcon></div></FormField>@@ -1329,7 +1326,7 @@ export function PipelineBuilder() {variant="tertiary"size="sm"onClick={() => createSourceFor("input")}- leftSection={<AddRoundedIcon style={{ fontSize: "1.125rem" }} />}+ leftSection={<Icon name="plus" size={"1.125rem"} />}>{t("portal.sources.actions.connectSource")}</Button>@@ -1568,9 +1565,9 @@ export function PipelineBuilder() {}icon={selected === "input" ? (- <MoveToInboxRoundedIcon style={{ fontSize: "1.125rem" }} />+ <Icon name="import" size={"1.125rem"} />) : selected === "output" ? (- <SendRoundedIcon style={{ fontSize: "1.125rem" }} />+ <Icon name="send" size={"1.125rem"} />) : selectedStep ? (stepIcon(selectedStep)) : undefineddiff --git a/frontend/editor/src/portal/views/Pipelines.tsx b/frontend/editor/src/portal/views/Pipelines.tsxindex c61cc7517e..8d2e956787 100644--- a/frontend/editor/src/portal/views/Pipelines.tsx+++ b/frontend/editor/src/portal/views/Pipelines.tsx@@ -2,7 +2,7 @@ import { useCallback, useEffect, useMemo, useState } from "react";import { useQueryClient } from "@tanstack/react-query";import { useNavigate, useSearchParams } from "react-router-dom";import { useTranslation } from "react-i18next";-import AddRoundedIcon from "@mui/icons-material/AddRounded";+import { Icon } from "@app/ui/Icon";import { Banner, Button, CardRail, EmptyState, Skeleton } from "@app/ui";import { errorMessage } from "@portal/api/http";import { useSectionFlags } from "@portal/hooks/useAsync";@@ -22,7 +22,6 @@ import {} from "@portal/api/policies";import { qk } from "@portal/queries/keys";import { VIEW_PATHS, toPortalPath } from "@portal/contexts/ViewContext";-import { PipelinesIcon } from "@portal/components/icons";import { PipelinesTable } from "@portal/components/pipelines/PipelinesTable";import { PipelineTemplateCard } from "@portal/components/pipelines/PipelineTemplateCard";import { PolicySetupWizard } from "@portal/components/policies/PolicySetupWizard";@@ -196,7 +195,7 @@ export function Pipelines() {<ButtonfatonClick={openCreate}- leftSection={<AddRoundedIcon style={{ fontSize: "1.125rem" }} />}+ leftSection={<Icon name="plus" size={"1.125rem"} />}>{t("portal.pipelines.actions.newCustomPipeline")}</Button>@@ -231,16 +230,14 @@ export function Pipelines() {{showEmpty && (<EmptyState- icon={<PipelinesIcon size={28} />}+ icon={<Icon name="workflow" size={28} />}title={t("portal.pipelines.empty.title")}description={t("portal.pipelines.empty.description")}actions={<><ButtononClick={openCreate}- leftSection={- <AddRoundedIcon style={{ fontSize: "1.125rem" }} />- }+ leftSection={<Icon name="plus" size={"1.125rem"} />}>{t("portal.pipelines.empty.action")}</Button>diff --git a/frontend/editor/src/portal/views/Sources.tsx b/frontend/editor/src/portal/views/Sources.tsxindex 13e326bb16..853ef745fc 100644--- a/frontend/editor/src/portal/views/Sources.tsx+++ b/frontend/editor/src/portal/views/Sources.tsx@@ -1,7 +1,7 @@import { useEffect, useState } from "react";import { useTranslation } from "react-i18next";import { Navigate, useSearchParams } from "react-router-dom";-import AddRoundedIcon from "@mui/icons-material/AddRounded";+import { Icon } from "@app/ui/Icon";import { Button, Skeleton } from "@app/ui";import { useSectionFlags } from "@portal/hooks/useAsync";import { useSources } from "@portal/queries/sources";@@ -56,7 +56,7 @@ export function Sources() {<ButtonfatonClick={openCreate}- leftSection={<AddRoundedIcon style={{ fontSize: "1.125rem" }} />}+ leftSection={<Icon name="plus" size={"1.125rem"} />}>{t("portal.sources.actions.connectSource")}</Button>diff --git a/frontend/editor/src/proprietary/billing/SpendCapControl.tsx b/frontend/editor/src/proprietary/billing/SpendCapControl.tsxindex d6c267a099..a7c9f598a4 100644--- a/frontend/editor/src/proprietary/billing/SpendCapControl.tsx+++ b/frontend/editor/src/proprietary/billing/SpendCapControl.tsx@@ -1,5 +1,5 @@import React, { useEffect, useState } from "react";-import DescriptionIcon from "@mui/icons-material/DescriptionOutlined";+import { Icon } from "@app/ui/Icon";import { Button } from "@app/ui";import {DEFAULT_CAP_PRESETS,@@ -183,10 +183,7 @@ export function SpendCapControl({{previewDocs != null && (<div className="scc-estimate">- <DescriptionIcon- className="scc-estimate__icon"- sx={{ fontSize: 22 }}- />+ <Icon name="file-text" size={22} className="scc-estimate__icon" /><div><div className="scc-estimate__main">{L.docsEstimate(previewDocs.toLocaleString())}diff --git a/frontend/editor/src/proprietary/components/chat/ChatPanel.css b/frontend/editor/src/proprietary/components/chat/ChatPanel.cssindex 9f9e76d73b..fc2a7093e8 100644--- a/frontend/editor/src/proprietary/components/chat/ChatPanel.css+++ b/frontend/editor/src/proprietary/components/chat/ChatPanel.css@@ -583,7 +583,7 @@}/*- * Wrapper that scales a registry tool icon (LocalIcon, typically 1.5rem/24px)+ * Wrapper that scales a registry tool icon (typically 1.5rem/24px)* down to fit the compact icon slots used by the live indicator and the* completed tool list. Transform does not affect layout, so the parent's* overflow:hidden clips the un-scaled footprint cleanly.diff --git a/frontend/editor/src/proprietary/components/chat/ChatPanel.tsx b/frontend/editor/src/proprietary/components/chat/ChatPanel.tsxindex 2ff5ccfbe9..29a9b4287d 100644--- a/frontend/editor/src/proprietary/components/chat/ChatPanel.tsx+++ b/frontend/editor/src/proprietary/components/chat/ChatPanel.tsx@@ -21,15 +21,7 @@ import {} from "@mantine/core";import { Button } from "@app/ui/Button";import { ActionIcon } from "@app/ui/ActionIcon";-import ArrowUpwardIcon from "@mui/icons-material/ArrowUpward";-import ArticleOutlinedIcon from "@mui/icons-material/ArticleOutlined";-import BuildOutlinedIcon from "@mui/icons-material/BuildOutlined";-import CloudOutlinedIcon from "@mui/icons-material/CloudOutlined";-import ContentCopyIcon from "@mui/icons-material/ContentCopy";-import DeleteSweepIcon from "@mui/icons-material/DeleteSweep";-import ExpandLessIcon from "@mui/icons-material/ExpandLess";-import ExpandMoreIcon from "@mui/icons-material/ExpandMore";-import InfoOutlinedIcon from "@mui/icons-material/InfoOutlined";+import { Icon } from "@app/ui/Icon";import {useChat,AiWorkflowPhase,@@ -164,15 +156,15 @@ function progressStepIcon(if (registryIcon) {return <span className="chat-step-icon-scaled">{registryIcon}</span>;}- return <BuildOutlinedIcon sx={{ fontSize: 17 }} />;+ return <Icon name="wrench" size={17} />;}if (progress.phase === AiWorkflowPhase.EXTRACTING_CONTENT ||progress.phase === AiWorkflowPhase.ENGINE_PROGRESS) {- return <ArticleOutlinedIcon sx={{ fontSize: 17 }} />;+ return <Icon name="file-text" size={17} />;}- return <CloudOutlinedIcon sx={{ fontSize: 17 }} />;+ return <Icon name="cloud" size={17} />;}/**@@ -277,9 +269,9 @@ function CompletedProgressLogDropdown({><Group gap={4} wrap="nowrap" align="center">{expanded ? (- <ExpandLessIcon sx={{ fontSize: 12 }} />+ <Icon name="chevron-up" size={12} />) : (- <ExpandMoreIcon sx={{ fontSize: 12 }} />+ <Icon name="chevron-down" size={12} />)}<Text size="xs" c="dimmed">{label}@@ -345,7 +337,7 @@ function ChatMessageBubble({title={t("chat.actions.copy", "Copy message")}aria-label={t("chat.actions.copy", "Copy message")}>- <ContentCopyIcon sx={{ fontSize: 13 }} />+ <Icon name="copy" size={13} /></ActionIcon><span className="chat-message-timestamp">{formatRelativeTime(timestamp, t)}@@ -490,7 +482,7 @@ export function ChatPanel({ onBack, backLabel }: ChatPanelProps) {menuItems={[{key: "clear-chat",- icon: <DeleteSweepIcon sx={{ fontSize: 18 }} />,+ icon: <Icon name="trash" size={18} />,label: t("chat.header.clearChat", "Clear chat"),onClick: clearChat,disabled: messages.length === 0 && !isLoading,@@ -502,10 +494,7 @@ export function ChatPanel({ onBack, backLabel }: ChatPanelProps) {{showQuickActions && (<div className="chat-panel-disclaimer chat-panel-disclaimer--banner">- <InfoOutlinedIcon- className="chat-panel-disclaimer__icon"- sx={{ fontSize: 18 }}- />+ <Icon name="info" size={18} className="chat-panel-disclaimer__icon" /><span>{disclaimerText}</span></div>)}@@ -552,10 +541,7 @@ export function ChatPanel({ onBack, backLabel }: ChatPanelProps) {{!showQuickActions && (<div className="chat-panel-disclaimer chat-panel-disclaimer--inline">- <InfoOutlinedIcon- className="chat-panel-disclaimer__icon"- sx={{ fontSize: 13 }}- />+ <Icon name="info" size={13} className="chat-panel-disclaimer__icon" /><span>{disclaimerText}</span></div>)}@@ -568,7 +554,7 @@ export function ChatPanel({ onBack, backLabel }: ChatPanelProps) {disabled={!input.trim() || isLoading}aria-label={t("chat.input.send", "Send message")}>- <ArrowUpwardIcon sx={{ fontSize: 16 }} />+ <Icon name="arrow-up" size={16} /></ActionIcon><Textarearef={inputRef}diff --git a/frontend/editor/src/proprietary/components/chat/ChatQuickActions.tsx b/frontend/editor/src/proprietary/components/chat/ChatQuickActions.tsxindex 408cb757f3..edf25620a1 100644--- a/frontend/editor/src/proprietary/components/chat/ChatQuickActions.tsx+++ b/frontend/editor/src/proprietary/components/chat/ChatQuickActions.tsx@@ -3,14 +3,7 @@ import { useTranslation } from "react-i18next";import { Box, Stack, Text } from "@mantine/core";import { Button } from "@app/ui/Button";import { ActionIcon } from "@app/ui/ActionIcon";-import CloseIcon from "@mui/icons-material/Close";-import CompressIcon from "@mui/icons-material/Compress";-import ContentCutIcon from "@mui/icons-material/ContentCut";-import InsertDriveFileIcon from "@mui/icons-material/InsertDriveFileOutlined";-import KeyboardArrowDownIcon from "@mui/icons-material/KeyboardArrowDown";-import LayersIcon from "@mui/icons-material/Layers";-import PictureAsPdfIcon from "@mui/icons-material/PictureAsPdf";-import UploadFileIcon from "@mui/icons-material/UploadFile";+import { Icon } from "@app/ui/Icon";import { useAllFiles, useFileActions } from "@app/contexts/FileContext";import { useFilesModalContext } from "@app/contexts/FilesModalContext";import { detectFileExtension, isPdfFile } from "@app/utils/fileUtils";@@ -44,12 +37,10 @@ function QuickActionCard({ action }: { action: QuickAction }) {</Box>}rightSection={- <KeyboardArrowDownIcon- sx={{- fontSize: 18,- transform: "rotate(-90deg)",- color: "var(--c-text-subtle)",- }}+ <Icon+ name="chevron-down"+ size={18}+ style={{ transform: "rotate(-90deg)", color: "var(--c-text-subtle)" }}/>}>@@ -86,10 +77,7 @@ function WorkbenchFilePills({<div className="chat-file-pills">{visible.map((stub) => (<span key={stub.id} className="chat-file-pill">- <InsertDriveFileIcon- className="chat-file-pill__icon"- sx={{ fontSize: 14 }}- />+ <Icon name="file" size={14} className="chat-file-pill__icon" /><span className="chat-file-pill__label" title={stub.name}>{stub.name}</span>@@ -100,7 +88,7 @@ function WorkbenchFilePills({onClick={() => onRemove(stub.id)}aria-label={removeLabel(stub.name)}>- <CloseIcon sx={{ fontSize: 12 }} />+ <Icon name="x" size={12} /></ActionIcon></span>))}@@ -179,7 +167,7 @@ export function ChatQuickActions({ heading, onAction }: ChatQuickActionsProps) {return [{key: "open-from-computer",- icon: <UploadFileIcon sx={{ fontSize: 18 }} />,+ icon: <Icon name="file-up" size={18} />,title: t("chat.quickActions.openFromComputer", "Open from computer"),subtitle: t("chat.quickActions.browseYourFiles", "Browse your files"),onClick: () => openFilesModal(),@@ -197,7 +185,7 @@ export function ChatQuickActions({ heading, onAction }: ChatQuickActionsProps) {return [{key: "convert",- icon: <PictureAsPdfIcon sx={{ fontSize: 18 }} />,+ icon: <Icon name="file-pdf" size={18} />,title: text,onClick: send(text),},@@ -211,7 +199,7 @@ export function ChatQuickActions({ heading, onAction }: ChatQuickActionsProps) {const text = t("chat.quickActions.splitOne", "Split this document");result.push({key: "split",- icon: <ContentCutIcon sx={{ fontSize: 18 }} />,+ icon: <Icon name="scissors" size={18} />,title: text,onClick: send(text),});@@ -222,7 +210,7 @@ export function ChatQuickActions({ heading, onAction }: ChatQuickActionsProps) {);result.push({key: "compress",- icon: <CompressIcon sx={{ fontSize: 18 }} />,+ icon: <Icon name="shrink" size={18} />,title: compressText,onClick: send(compressText),});@@ -238,7 +226,7 @@ export function ChatQuickActions({ heading, onAction }: ChatQuickActionsProps) {);result.push({key: "convert",- icon: <PictureAsPdfIcon sx={{ fontSize: 18 }} />,+ icon: <Icon name="file-pdf" size={18} />,title: text,onClick: send(text),});@@ -253,13 +241,13 @@ export function ChatQuickActions({ heading, onAction }: ChatQuickActionsProps) {);result.push({key: "merge",- icon: <LayersIcon sx={{ fontSize: 18 }} />,+ icon: <Icon name="layers" size={18} />,title: mergeText,onClick: send(mergeText),});result.push({key: "compress",- icon: <CompressIcon sx={{ fontSize: 18 }} />,+ icon: <Icon name="shrink" size={18} />,title: compressText,onClick: send(compressText),});diff --git a/frontend/editor/src/proprietary/components/policies/PolicySetupWizard.tsx b/frontend/editor/src/proprietary/components/policies/PolicySetupWizard.tsxindex 7ea4bf9a6c..c3778caa38 100644--- a/frontend/editor/src/proprietary/components/policies/PolicySetupWizard.tsx+++ b/frontend/editor/src/proprietary/components/policies/PolicySetupWizard.tsx@@ -14,7 +14,7 @@ import {type ReactNode,} from "react";import { useTranslation } from "react-i18next";-import TuneRoundedIcon from "@mui/icons-material/TuneRounded";+import { Icon } from "@app/ui/Icon";import { Banner, Button, Card, Modal, ToggleSwitch } from "@app/ui";import { SettingsRow } from "@app/ui/SettingsRow";import { EnforceAsPolicyControl } from "@app/components/policies/EnforceAsPolicyControl";@@ -843,7 +843,7 @@ function PolicySetupWizardBody({"The full builder lives on Processor",)}- leftSection={<TuneRoundedIcon style={{ fontSize: "1.05rem" }} />}+ leftSection={<Icon name="sliders-horizontal" size={"1.05rem"} />}>{t("portal.policies.wizard.actions.customise")}</Button>diff --git a/frontend/editor/src/proprietary/components/policies/RoutingRules.tsx b/frontend/editor/src/proprietary/components/policies/RoutingRules.tsxindex 2fcc8b6571..ffcbb176c8 100644--- a/frontend/editor/src/proprietary/components/policies/RoutingRules.tsx+++ b/frontend/editor/src/proprietary/components/policies/RoutingRules.tsx@@ -1,6 +1,5 @@import { useTranslation } from "react-i18next";-import AddRoundedIcon from "@mui/icons-material/AddRounded";-import CloseRoundedIcon from "@mui/icons-material/CloseRounded";+import { Icon } from "@app/ui/Icon";import {ActionIcon,Banner,@@ -73,7 +72,7 @@ export function RoutingRules({<Buttonvariant="tertiary"size="sm"- leftSection={<AddRoundedIcon style={{ fontSize: "1.125rem" }} />}+ leftSection={<Icon name="plus" size={"1.125rem"} />}onClick={onCreateDestination}>{t("portal.policies.wizard.sources.connect", "Connect a source")}@@ -143,7 +142,7 @@ export function RoutingRules({)}onClick={() => onChange(rules.filter((_, i) => i !== index))}>- <CloseRoundedIcon style={{ fontSize: "0.875rem" }} />+ <Icon name="x" size={"0.875rem"} /></ActionIcon></div></div>@@ -153,7 +152,7 @@ export function RoutingRules({<Buttonvariant="tertiary"size="sm"- leftSection={<AddRoundedIcon style={{ fontSize: "1.125rem" }} />}+ leftSection={<Icon name="plus" size={"1.125rem"} />}onClick={() =>onChange([...rules,diff --git a/frontend/editor/src/proprietary/components/settings/portalSettingsNav.tsx b/frontend/editor/src/proprietary/components/settings/portalSettingsNav.tsxindex 4fb35f5748..1e7babefb6 100644--- a/frontend/editor/src/proprietary/components/settings/portalSettingsNav.tsx+++ b/frontend/editor/src/proprietary/components/settings/portalSettingsNav.tsx@@ -85,7 +85,7 @@ export function buildPortalSettingsSections("users.subtitle2","Your people, teams, and access levels.",),- icon: "group-rounded",+ icon: "users",component: <UsersSection />,fullBleed: true,},@@ -94,7 +94,7 @@ export function buildPortalSettingsSections(workspace.push({key: "billing",label: t("portal.nav.usage", "Usage & Billing"),- icon: "payments-rounded",+ icon: "credit-card",component: <BillingSection />,fullBleed: true,});@@ -107,7 +107,7 @@ export function buildPortalSettingsSections("portal.accountLink.panel.sub","Manage this server’s connection to your Stirling Cloud account.",),- icon: "link-rounded",+ icon: "link",component: <AccountLinkSection />,fullBleed: true,});@@ -132,7 +132,7 @@ export function buildPortalSettingsSections("settings.developer.apiKeysDescription","Personal keys for calling the Stirling API from scripts and integrations.",),- icon: "key-rounded",+ icon: "key",component: <ApiKeysSection />,fullBleed: true,},@@ -155,7 +155,7 @@ export function buildPortalSettingsSections("portal.infrastructure.encryption.subheading","Stored files are encrypted before they reach disk, the database or object storage.",),- icon: "encrypted-rounded",+ icon: "lock-keyhole",component: <EncryptionSection />,fullBleed: true,},@@ -175,7 +175,7 @@ export function buildPortalSettingsSections("settings.licensingAnalytics.auditDescription","Who did what on this server, and how long that record is kept.",),- icon: "fact-check-rounded",+ icon: "clipboard-check",component: <AuditSection />,fullBleed: true,},diff --git a/frontend/editor/src/proprietary/components/shared/ChangeUserPasswordModal.tsx b/frontend/editor/src/proprietary/components/shared/ChangeUserPasswordModal.tsxindex a482b3fab1..8aab7f08ce 100644--- a/frontend/editor/src/proprietary/components/shared/ChangeUserPasswordModal.tsx+++ b/frontend/editor/src/proprietary/components/shared/ChangeUserPasswordModal.tsx@@ -12,7 +12,7 @@ import {} from "@mantine/core";import { Button } from "@app/ui/Button";import { ActionIcon } from "@app/ui/ActionIcon";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { alert } from "@app/components/toast";import {ChangeUserPasswordRequest,@@ -247,14 +247,13 @@ export default function ChangeUserPasswordModal({zIndex: 1,}}>- <LocalIcon icon="close-rounded" />+ <Icon name="x" size="1em" /></ActionIcon><Stack gap="lg" pt="md"><Stack gap="md" align="center">- <LocalIcon- icon="lock"- width="3rem"- height="3rem"+ <Icon+ name="lock"+ size="3rem"style={{ color: "var(--mantine-color-gray-6)" }}/><Text size="xl" fw={600} ta="center">@@ -363,11 +362,7 @@ export default function ChangeUserPasswordModal({onClick={handleCopyPassword}disabled={processing}>- <LocalIcon- icon="content-copy"- width="0.9rem"- height="0.9rem"- />+ <Icon name="copy" size="0.9rem" /></ActionIcon></Tooltip></Group>diff --git a/frontend/editor/src/proprietary/components/shared/InviteMembersModal.tsx b/frontend/editor/src/proprietary/components/shared/InviteMembersModal.tsxindex 063fb1c4ef..0107386ffa 100644--- a/frontend/editor/src/proprietary/components/shared/InviteMembersModal.tsx+++ b/frontend/editor/src/proprietary/components/shared/InviteMembersModal.tsx@@ -17,7 +17,6 @@ import {import { Button } from "@app/ui/Button";import { ActionIcon } from "@app/ui/ActionIcon";import { SegmentedControl } from "@app/ui/SegmentedControl";-import LocalIcon from "@app/components/shared/LocalIcon";import { alert } from "@app/components/toast";import { userManagementService } from "@app/services/userManagementService";import { teamService, Team } from "@app/services/teamService";@@ -25,6 +24,7 @@ import { Z_INDEX_OVER_CONFIG_MODAL } from "@app/styles/zIndex";import { useAppConfig } from "@app/contexts/AppConfigContext";import { useNavigate } from "react-router-dom";+import { Icon } from "@app/ui/Icon";interface InviteMembersModalProps {opened: boolean;onClose: () => void;@@ -374,15 +374,14 @@ export default function InviteMembersModal({zIndex: 1,}}>- <LocalIcon icon="close-rounded" />+ <Icon name="x" size="1em" /></ActionIcon><Stack gap="lg" pt="md">{/* Header with Icon */}<Stack gap="md" align="center">- <LocalIcon- icon="person-add"- width="3rem"- height="3rem"+ <Icon+ name="user-plus"+ size="3rem"style={{ color: "var(--mantine-color-gray-6)" }}/><Text size="xl" fw={600} ta="center">@@ -412,10 +411,13 @@ export default function InviteMembersModal({<Stack gap="xs"><Group justify="space-between" align="center" wrap="nowrap"><Group gap="xs" wrap="nowrap">- <LocalIcon- icon={licenseInfo.availableSlots > 0 ? "info" : "warning"}- width="1rem"- height="1rem"+ <Icon+ name={+ licenseInfo.availableSlots > 0+ ? "info"+ : "triangle-alert"+ }+ size="1rem"/><Text size="sm" fw={500}>{t("workspace.people.license.slotsAvailable", {@@ -628,11 +630,7 @@ export default function InviteMembersModal({}}}>- <LocalIcon- icon="content-copy"- width="1rem"- height="1rem"- />+ <Icon name="copy" size="1rem" /></Button></Group></Stack>diff --git a/frontend/editor/src/proprietary/components/shared/UpgradeBanner.tsx b/frontend/editor/src/proprietary/components/shared/UpgradeBanner.tsxindex f930b51e9a..48cda0815c 100644--- a/frontend/editor/src/proprietary/components/shared/UpgradeBanner.tsx+++ b/frontend/editor/src/proprietary/components/shared/UpgradeBanner.tsx@@ -295,7 +295,7 @@ const UpgradeBanner: React.FC = () => {return (<AppBanner- icon="warning-rounded"+ icon="triangle-alert"tone="warning"title={t("upgradeBanner.attentionTitle",@@ -303,7 +303,7 @@ const UpgradeBanner: React.FC = () => {)}message={attentionMessage}buttonText={buttonText}- buttonIcon="info-rounded"+ buttonIcon="info"onButtonClick={buttonText ? handleSeeInfo : undefined}dismissible={false}/>@@ -329,14 +329,14 @@ const UpgradeBanner: React.FC = () => {<>{friendlyVisible && (<AppBanner- icon="stars-rounded"+ icon="sparkles"title={t("upgradeBanner.title", "Upgrade to the Team plan")}message={t("upgradeBanner.message","Get the most out of Stirling PDF with 100 users, PDF text editing, and advanced features.",)}buttonText={t("upgradeBanner.upgradeButton", "Upgrade Now")}- buttonIcon="upgrade-rounded"+ buttonIcon="circle-arrow-up"onButtonClick={handleUpgrade}onDismiss={handleFriendlyDismiss}show={friendlyVisible}diff --git a/frontend/editor/src/proprietary/components/shared/config/EnterpriseRequiredBanner.tsx b/frontend/editor/src/proprietary/components/shared/config/EnterpriseRequiredBanner.tsxindex a3012c3f38..11173b58e1 100644--- a/frontend/editor/src/proprietary/components/shared/config/EnterpriseRequiredBanner.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/EnterpriseRequiredBanner.tsx@@ -1,7 +1,6 @@import { Alert, Text } from "@mantine/core";import { useTranslation } from "react-i18next";-import LocalIcon from "@app/components/shared/LocalIcon";-+import { Icon } from "@app/ui/Icon";interface EnterpriseRequiredBannerProps {show: boolean;featureName: string;@@ -20,9 +19,7 @@ export default function EnterpriseRequiredBanner({return (<Alert- icon={- <LocalIcon icon="workspace-premium-rounded" width={20} height={20} />- }+ icon={<Icon name="award" size={20} />}title={t("admin.settings.enterpriseRequired.title","Enterprise License Required",diff --git a/frontend/editor/src/proprietary/components/shared/config/configNavSections.tsx b/frontend/editor/src/proprietary/components/shared/config/configNavSections.tsxindex 46f607fbe9..dfc644b096 100644--- a/frontend/editor/src/proprietary/components/shared/config/configNavSections.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configNavSections.tsx@@ -98,7 +98,7 @@ export const useConfigNavSections = ("settings.developer.apiKeysDescription","Personal keys for calling the Stirling API from scripts and integrations.",),- icon: "key-rounded",+ icon: "key",component: <ApiKeys />,});}@@ -127,7 +127,7 @@ export const useConfigNavSections = ("workspace.people.description","Everyone with an account on this server, their role and their team.",),- icon: "group-rounded",+ icon: "users",component: <PeopleSection />,...gated,},@@ -138,7 +138,7 @@ export const useConfigNavSections = ("workspace.teams.description","Group people into teams and manage who belongs where.",),- icon: "groups-rounded",+ icon: "users",component: <TeamsSection />,...gated,},@@ -149,7 +149,7 @@ export const useConfigNavSections = ("settings.licensingAnalytics.planDescription","Your licence, seats and what the current plan unlocks.",),- icon: "star-rounded",+ icon: "star",component: <AdminPlanSection />,...gated,},@@ -170,7 +170,7 @@ export const useConfigNavSections = ("admin.settings.general.description","How this server runs: branding, storage, the tools it exposes, and the paths it may touch.",),- icon: "settings-rounded",+ icon: "settings",component: (<Suspense fallback={<LoadingFallback />}><AdminSystemSection />@@ -185,7 +185,7 @@ export const useConfigNavSections = ("admin.settings.security.description","How people sign in, how sessions are held, and what this server discloses about itself.",),- icon: "shield-rounded",+ icon: "shield",component: (<Suspense fallback={<LoadingFallback />}><AdminSecurityPage />@@ -200,7 +200,7 @@ export const useConfigNavSections = ("admin.settings.connections.description","Mail, Telegram, Drive, and uploading from a phone.",),- icon: "hub-rounded",+ icon: "network",component: (<Suspense fallback={<LoadingFallback />}><AdminIntegrationsPage />@@ -215,7 +215,7 @@ export const useConfigNavSections = ("admin.settings.ai.description","Connect Stirling to the Python AI engine, choose its models, and set the guardrails it runs under.",),- icon: "smart-toy-rounded",+ icon: "bot",component: (<Suspense fallback={<LoadingFallback />}><AdminAiSection />@@ -230,7 +230,7 @@ export const useConfigNavSections = ("admin.settings.database.description","Connect a custom database, and back up or restore the one in use.",),- icon: "database-rounded",+ icon: "database",component: (<Suspense fallback={<LoadingFallback />}><AdminDatabasePage />@@ -245,7 +245,7 @@ export const useConfigNavSections = ("admin.settings.advanced.description","Feature flags, processing limits, temp files and the database. Set once at install, if ever.",),- icon: "tune-rounded",+ icon: "sliders-horizontal",component: (<Suspense fallback={<LoadingFallback />}><AdminAdvancedPage />@@ -260,7 +260,7 @@ export const useConfigNavSections = ("admin.settings.legal.description","Configure links to legal documents and policies.",),- icon: "gavel-rounded",+ icon: "gavel",component: (<Suspense fallback={<LoadingFallback />}><AdminLegalPrivacyPage />@@ -282,7 +282,7 @@ export const useConfigNavSections = ("settings.licensingAnalytics.usageDescription","Endpoint usage and activity for this server.",),- icon: "monitoring",+ icon: "chart-line",component: <AdminUsageSection />,...gated,},@@ -293,7 +293,7 @@ export const useConfigNavSections = ("settings.licensingAnalytics.auditDescription","Who did what on this server, and how long that record is kept.",),- icon: "fact-check-rounded",+ icon: "clipboard-check",component: <AdminAuditSection />,...gated,},diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminAuditSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminAuditSection.tsxindex e2c60872a6..4618e5184f 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminAuditSection.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminAuditSection.tsx@@ -32,8 +32,7 @@ import AuditClearDataSection from "@app/components/shared/config/configSections/import { useLoginRequired } from "@app/hooks/useLoginRequired";import { useAppConfig } from "@app/contexts/AppConfigContext";import EnterpriseRequiredBanner from "@app/components/shared/config/EnterpriseRequiredBanner";-import LocalIcon from "@app/components/shared/LocalIcon";-+import { Icon } from "@app/ui/Icon";const AdminAuditSection: React.FC = () => {const { t } = useTranslation();const navigate = useNavigate();@@ -137,7 +136,7 @@ const AdminAuditSection: React.FC = () => {if (!systemStatus) {return (<SettingsEmptyState- icon="fact-check"+ icon="clipboard-check"title={t("audit.notAvailable", "Audit logging is off")}>{t(@@ -160,7 +159,7 @@ const AdminAuditSection: React.FC = () => {{/* Info banner about audit settings */}{isEnabled && (<Alert- icon={<LocalIcon icon="info" width="1.2rem" height="1.2rem" />}+ icon={<Icon name="info" size="1.2rem" />}title={t("audit.configureAudit", "Configure Audit Logging")}color="blue"variant="light"@@ -176,13 +175,7 @@ const AdminAuditSection: React.FC = () => {variant="secondary"size="sm"onClick={() => navigate("/settings/adminSecurity#auditLogging")}- rightSection={- <LocalIcon- icon="arrow-forward"- width="0.9rem"- height="0.9rem"- />- }+ rightSection={<Icon name="arrow-right" size="0.9rem" />}>{t("audit.goToSettings", "Go to Audit Settings")}</Button>diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminFormDetectionSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminFormDetectionSection.tsxindex e1854bf67d..fa43f5279c 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminFormDetectionSection.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminFormDetectionSection.tsx@@ -1,4 +1,5 @@import { useEffect, useRef, useState } from "react";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";import {Stack,@@ -15,7 +16,6 @@ import { StatusBadge, type StatusTone } from "@app/ui/StatusBadge";import { ProgressBar } from "@app/ui/ProgressBar";import { Banner } from "@app/ui/Banner";import { Collapsible } from "@app/ui/Collapsible";-import LocalIcon from "@app/components/shared/LocalIcon";import {useFormDetectionModelStatus,FormDetectionCatalogEntry,@@ -67,11 +67,7 @@ function CommandRow({ code, copyLabel }: { code: string; copyLabel: string }) {}}}>- <LocalIcon- icon={copied ? "check-rounded" : "content-copy-outline-rounded"}- width="0.9rem"- height="0.9rem"- />+ <Icon name={copied ? "check" : "copy"} size="0.9rem" /></ActionIcon></Group>);@@ -309,11 +305,7 @@ export default function AdminFormDetectionSection() {: armUninstall(entry.id)}>- <LocalIcon- icon="delete-outline-rounded"- width="1rem"- height="1rem"- />+ <Icon name="trash" size="1rem" /></ActionIcon>) : null}</Group>@@ -386,13 +378,7 @@ export default function AdminFormDetectionSection() {{anyError ? (<Bannertone="danger"- icon={- <LocalIcon- icon="error-outline-rounded"- width="1.1rem"- height="1.1rem"- />- }+ icon={<Icon name="circle-alert" size="1.1rem" />}title={t("admin.formDetection.errorTitle","Something went wrong",@@ -404,13 +390,7 @@ export default function AdminFormDetectionSection() {{status && !status.writable ? (<Bannertone="warning"- icon={- <LocalIcon- icon="warning-rounded"- width="1.1rem"- height="1.1rem"- />- }+ icon={<Icon name="triangle-alert" size="1.1rem" />}description={t("admin.formDetection.notWritable","The model directory is not writable; check the configs volume mount.",@@ -421,13 +401,7 @@ export default function AdminFormDetectionSection() {{!serverEngineAvailable ? (<Bannertone="warning"- icon={- <LocalIcon- icon="warning-rounded"- width="1.1rem"- height="1.1rem"- />- }+ icon={<Icon name="triangle-alert" size="1.1rem" />}description={t("admin.formDetection.engineUnavailable","This build does not include the detection engine, so the tool stays unavailable even with a model installed.",@@ -449,7 +423,7 @@ export default function AdminFormDetectionSection() {onToggle={() => setAirgapOpen((o) => !o)}header={<Group gap={6} wrap="nowrap">- <LocalIcon icon="download-rounded" width="1rem" height="1rem" />+ <Icon name="download" size="1rem" /><Text size="sm">{t("admin.formDetection.airgap.show",diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminPlanSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminPlanSection.tsxindex 911f08d024..d0755202e4 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminPlanSection.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminPlanSection.tsx@@ -184,7 +184,7 @@ const AdminPlanSection: React.FC = () => {if (!plans || plans.length === 0) {return (<SettingsEmptyState- icon="star-rounded"+ icon="star"title={t("admin.settings.plan.noData.title", "No plan data")}>{t(@@ -199,7 +199,7 @@ const AdminPlanSection: React.FC = () => {<div style={{ display: "flex", flexDirection: "column", gap: "2rem" }}>{shouldShowLicenseWarning && (<AppBanner- icon="warning-rounded"+ icon="triangle-alert"tone="warning"title={t("plan.licenseWarning.title",@@ -210,7 +210,7 @@ const AdminPlanSection: React.FC = () => {limit: licenseAlert.freeTierLimit,})}buttonText={t("plan.licenseWarning.cta", "See plans")}- buttonIcon="upgrade-rounded"+ buttonIcon="circle-arrow-up"onButtonClick={scrollToPlans}dismissible={false}/>diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminPremiumSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminPremiumSection.tsxindex 91bea89f28..98fbea8925 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminPremiumSection.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminPremiumSection.tsx@@ -13,7 +13,7 @@ import {List,} from "@mantine/core";import { alert } from "@app/components/toast";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import RestartConfirmationModal from "@app/components/shared/config/RestartConfirmationModal";import { useRestartServer } from "@app/components/shared/config/useRestartServer";import { useAdminSettings } from "@app/hooks/useAdminSettings";@@ -109,7 +109,7 @@ export default function AdminPremiumSection() {"admin.settings.premium.movedFeatures.title","Feature Settings",)}- icon={<LocalIcon icon="info-rounded" width="1rem" height="1rem" />}+ icon={<Icon name="info" size="1rem" />}><Text size="sm">{t(diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminUsageSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminUsageSection.tsxindex 42379f3470..6c46fa913c 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/AdminUsageSection.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/AdminUsageSection.tsx@@ -10,7 +10,7 @@ import usageAnalyticsService, {} from "@app/services/usageAnalyticsService";import UsageAnalyticsChart from "@app/components/shared/config/configSections/usage/UsageAnalyticsChart";import UsageAnalyticsTable from "@app/components/shared/config/configSections/usage/UsageAnalyticsTable";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { useLoginRequired } from "@app/hooks/useLoginRequired";import { useAppConfig } from "@app/contexts/AppConfigContext";import EnterpriseRequiredBanner from "@app/components/shared/config/EnterpriseRequiredBanner";@@ -230,7 +230,7 @@ const AdminUsageSection: React.FC = () => {if (!data) {return (<SettingsEmptyState- icon="monitoring"+ icon="chart-line"title={t("usage.noData", "No usage yet")}>{t(@@ -281,7 +281,7 @@ const AdminUsageSection: React.FC = () => {{/* Info banner about usage analytics and audit relationship */}{loginEnabled && hasEnterpriseLicense && (<Alert- icon={<LocalIcon icon="info" width="1.2rem" height="1.2rem" />}+ icon={<Icon name="info" size="1.2rem" />}title={t("usage.aboutUsageAnalytics", "About Usage Analytics")}color="cyan"variant="light"@@ -298,13 +298,7 @@ const AdminUsageSection: React.FC = () => {variant="secondary"size="sm"onClick={() => navigate("/settings/adminSecurity")}- rightSection={- <LocalIcon- icon="arrow-forward"- width="0.9rem"- height="0.9rem"- />- }+ rightSection={<Icon name="arrow-right" size="0.9rem" />}>{t("usage.configureSettings", "Configure Analytics Settings")}</Button>@@ -312,13 +306,7 @@ const AdminUsageSection: React.FC = () => {variant="secondary"size="sm"onClick={() => navigate("/settings/adminSecurity#auditLogging")}- rightSection={- <LocalIcon- icon="arrow-forward"- width="0.9rem"- height="0.9rem"- />- }+ rightSection={<Icon name="arrow-right" size="0.9rem" />}>{t("usage.viewAuditLogs", "View Audit Logs")}</Button>@@ -355,9 +343,7 @@ const AdminUsageSection: React.FC = () => {/><Buttonvariant="secondary"- leftSection={- <LocalIcon icon="refresh" width="1rem" height="1rem" />- }+ leftSection={<Icon name="refresh-cw" size="1rem" />}onClick={handleRefresh}loading={loading}disabled={showDemoData}diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/ApiKeys.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/ApiKeys.tsxindex 8a3175303f..acb37b17b4 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/ApiKeys.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/ApiKeys.tsx@@ -7,8 +7,7 @@ import RefreshModal from "./apiKeys/RefreshModal";// oxlint-disable-next-line no-restricted-importsimport useApiKey from "./apiKeys/hooks/useApiKey";import { useTranslation } from "react-i18next";-import LocalIcon from "@app/components/shared/LocalIcon";-+import { Icon } from "@app/ui/Icon";export default function ApiKeys() {const [copied, setCopied] = useState<string | null>(null);const [showRefreshModal, setShowRefreshModal] = useState(false);@@ -77,10 +76,9 @@ export default function ApiKeys() {}}><Group gap="xs" wrap="nowrap" align="flex-start">- <LocalIcon- icon="info-rounded"- width={18}- height={18}+ <Icon+ name="info"+ size={18}style={{ marginTop: 2, flexShrink: 0, opacity: 0.7 }}/><Stack gap={8} style={{ flex: 1 }}>@@ -106,11 +104,7 @@ export default function ApiKeys() {}}>{t("config.apiKeys.docsLink", "API Documentation")}- <LocalIcon- icon="open-in-new-rounded"- width={14}- height={14}- />+ <Icon name="external-link" size={14} /></Anchor></Text><Text size="sm">@@ -125,11 +119,7 @@ export default function ApiKeys() {}}>{t("config.apiKeys.schemaLink", "API Schema Reference")}- <LocalIcon- icon="open-in-new-rounded"- width={14}- height={14}- />+ <Icon name="external-link" size={14} /></Anchor></Text></Stack>diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/PeopleSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/PeopleSection.tsxindex 6aa18ccb07..484bac19da 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/PeopleSection.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/PeopleSection.tsx@@ -18,7 +18,7 @@ import {} from "@mantine/core";import { Button } from "@app/ui/Button";import { ActionIcon } from "@app/ui/ActionIcon";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon, type IconName } from "@app/ui/Icon";import {userManagementService,User,@@ -343,7 +343,7 @@ User: ${user.username}`)"workspace.people.roleDescriptions.admin","Can manage settings and invite members, with full administrative access.",),- icon: "admin-panel-settings",+ icon: "shield-user",},{value: "ROLE_USER",@@ -352,20 +352,19 @@ User: ${user.username}`)"workspace.people.roleDescriptions.user","Can view and edit shared files, but cannot manage workspace settings or members.",),- icon: "person",+ icon: "user",},];const renderRoleOption = ({option,}: {- option: ComboboxItem & { icon?: string; description?: string };+ option: ComboboxItem & { icon?: IconName; description?: string };}) => (<Group gap="sm" wrap="nowrap">- <LocalIcon- icon={option.icon ?? ""}- width="1.25rem"- height="1.25rem"+ <Icon+ name={option.icon ?? "user"}+ size="1.25rem"style={{ flexShrink: 0 }}/><Box style={{ flex: 1 }}>@@ -496,7 +495,7 @@ User: ${user.username}`)<Group justify="space-between"><TextInputplaceholder={t("workspace.people.searchMembers")}- leftSection={<LocalIcon icon="search" width="1rem" height="1rem" />}+ leftSection={<Icon name="search" size="1rem" />}value={searchQuery}onChange={(e) => setSearchQuery(e.currentTarget.value)}style={{ maxWidth: 300 }}@@ -510,9 +509,7 @@ User: ${user.username}`)withArrow><Button- leftSection={- <LocalIcon icon="person-add" width="1rem" height="1rem" />- }+ leftSection={<Icon name="user-plus" size="1rem" />}onClick={handleAddMembersClick}disabled={!loginEnabled ||@@ -713,7 +710,7 @@ User: ${user.username}`)size="sm"aria-label={t("workspace.people.userInfo", "User info")}>- <LocalIcon icon="info" width="1rem" height="1rem" />+ <Icon name="info" size="1rem" /></ActionIcon></Tooltip>@@ -729,11 +726,7 @@ User: ${user.username}`)"Member actions",)}>- <LocalIcon- icon="more-vert"- width="1rem"- height="1rem"- />+ <Icon name="ellipsis-vertical" size="1rem" /></ActionIcon></Menu.Target><Menu.Dropdown@@ -741,13 +734,7 @@ User: ${user.username}`)>{!isCurrentUser(user) && (<Menu.Item- leftSection={- <LocalIcon- icon="edit"- width="1rem"- height="1rem"- />- }+ leftSection={<Icon name="pencil" size="1rem" />}onClick={() => openEditModal(user)}disabled={!loginEnabled || user.orgOwner}>@@ -759,13 +746,7 @@ User: ${user.username}`))}{!isCurrentUser(user) && (<Menu.Item- leftSection={- <LocalIcon- icon="lock"- width="1rem"- height="1rem"- />- }+ leftSection={<Icon name="lock" size="1rem" />}onClick={() => openChangePasswordModal(user)}disabled={!loginEnabled || user.orgOwner}>@@ -779,17 +760,9 @@ User: ${user.username}`)<Menu.ItemleftSection={user.enabled ? (- <LocalIcon- icon="person-off"- width="1rem"- height="1rem"- />+ <Icon name="user-x" size="1rem" />) : (- <LocalIcon- icon="person-check"- width="1rem"- height="1rem"- />+ <Icon name="user-check" size="1rem" />)}onClick={() => handleToggleEnabled(user)}@@ -803,11 +776,7 @@ User: ${user.username}`){!isCurrentUser(user) && isLockedUser(user) && (<Menu.ItemleftSection={- <LocalIcon- icon="lock-open"- width="1rem"- height="1rem"- />+ <Icon name="lock-open" size="1rem" />}onClick={() => handleUnlockUser(user)}disabled={!loginEnabled}@@ -823,13 +792,7 @@ User: ${user.username}`)<Menu.Divider /><Menu.Itemcolor="red"- leftSection={- <LocalIcon- icon="key"- width="1rem"- height="1rem"- />- }+ leftSection={<Icon name="key" size="1rem" />}onClick={() => disableMfa.mutate(user.username)}disabled={!loginEnabled}>@@ -845,13 +808,7 @@ User: ${user.username}`)<Menu.Divider /><Menu.Itemcolor="red"- leftSection={- <LocalIcon- icon="delete"- width="1rem"- height="1rem"- />- }+ leftSection={<Icon name="trash" size="1rem" />}onClick={() => handleDeleteUser(user)}disabled={!loginEnabled || user.orgOwner}>@@ -908,15 +865,14 @@ User: ${user.username}`)zIndex: 1,}}>- <LocalIcon icon="close" width="1.25rem" height="1.25rem" />+ <Icon name="x" size="1.25rem" /></ActionIcon><Stack gap="lg" pt="md">{/* Header with Icon */}<Stack gap="md" align="center">- <LocalIcon- icon="edit"- width="3rem"- height="3rem"+ <Icon+ name="pencil"+ size="3rem"style={{ color: "var(--mantine-color-gray-6)" }}/><Text size="xl" fw={600} ta="center">@@ -947,7 +903,7 @@ User: ${user.username}`)"workspace.people.roleDescriptions.currentRole","Current assigned role.",),- icon: "person",+ icon: "user",},]: roleOptionsdiff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/TeamDetailsSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/TeamDetailsSection.tsxindex 0d92fcf5f9..5fe91eff96 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/TeamDetailsSection.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/TeamDetailsSection.tsx@@ -16,7 +16,7 @@ import {} from "@mantine/core";import { Button } from "@app/ui/Button";import { ActionIcon } from "@app/ui/ActionIcon";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { alert } from "@app/components/toast";import { teamService } from "@app/services/teamService";import {@@ -304,7 +304,7 @@ User: ${user.username}`)onClick={onBack}aria-label={t("common.back", "Back")}>- <LocalIcon icon="arrow-back" width="1.2rem" height="1.2rem" />+ <Icon name="arrow-left" size="1.2rem" /></ActionIcon><div style={{ flex: 1 }}><Text fw={600} size="lg">@@ -328,9 +328,7 @@ User: ${user.username}`)zIndex={Z_INDEX_OVER_CONFIG_MODAL}><Button- leftSection={- <LocalIcon icon="person-add" width="1rem" height="1rem" />- }+ leftSection={<Icon name="user-plus" size="1rem" />}onClick={() => setAddMemberModalOpened(true)}disabled={team.name === "Internal" ||@@ -498,7 +496,7 @@ User: ${user.username}`)"User info",)}>- <LocalIcon icon="info" width="1rem" height="1rem" />+ <Icon name="info" size="1rem" /></ActionIcon></Tooltip>@@ -512,11 +510,7 @@ User: ${user.username}`)"Member actions",)}>- <LocalIcon- icon="more-vert"- width="1rem"- height="1rem"- />+ <Icon name="ellipsis-vertical" size="1rem" /></ActionIcon></Menu.Target><Menu.Dropdown@@ -524,11 +518,7 @@ User: ${user.username}`)><Menu.ItemleftSection={- <LocalIcon- icon="swap-horiz"- width="1rem"- height="1rem"- />+ <Icon name="arrow-left-right" size="1rem" />}onClick={() => openChangeTeamModal(user)}disabled={processing || team.name === "Internal"}@@ -539,13 +529,7 @@ User: ${user.username}`))}</Menu.Item><Menu.Item- leftSection={- <LocalIcon- icon="lock"- width="1rem"- height="1rem"- />- }+ leftSection={<Icon name="lock" size="1rem" />}onClick={() => openChangePasswordModal(user)}disabled={processing}>@@ -557,11 +541,7 @@ User: ${user.username}`){isLockedUser(user) && (<Menu.ItemleftSection={- <LocalIcon- icon="lock-open"- width="1rem"- height="1rem"- />+ <Icon name="lock-open" size="1rem" />}onClick={() => handleUnlockUser(user)}disabled={processing}@@ -576,11 +556,7 @@ User: ${user.username}`)team.name !== "Default" && (<Menu.ItemleftSection={- <LocalIcon- icon="person-remove"- width="1rem"- height="1rem"- />+ <Icon name="user-minus" size="1rem" />}onClick={() => handleRemoveMember(user)}disabled={processing}@@ -594,13 +570,7 @@ User: ${user.username}`)<Menu.Divider /><Menu.Itemcolor="red"- leftSection={- <LocalIcon- icon="delete"- width="1rem"- height="1rem"- />- }+ leftSection={<Icon name="trash" size="1rem" />}onClick={() => handleDeleteUser(user)}disabled={processing || team.name === "Internal"}>@@ -648,15 +618,14 @@ User: ${user.username}`)zIndex: 1,}}>- <LocalIcon icon="close-rounded" />+ <Icon name="x" size="1em" /></ActionIcon><Stack gap="lg" pt="md">{/* Header with Icon */}<Stack gap="md" align="center">- <LocalIcon- icon="person-add"- width="3rem"- height="3rem"+ <Icon+ name="user-plus"+ size="3rem"style={{ color: "var(--mantine-color-gray-6)" }}/><Text size="xl" fw={600} ta="center">@@ -731,15 +700,14 @@ User: ${user.username}`)zIndex: 1,}}>- <LocalIcon icon="close-rounded" />+ <Icon name="x" size="1em" /></ActionIcon><Stack gap="lg" pt="md">{/* Header with Icon */}<Stack gap="md" align="center">- <LocalIcon- icon="swap-horiz"- width="3rem"- height="3rem"+ <Icon+ name="arrow-left-right"+ size="3rem"style={{ color: "var(--mantine-color-gray-6)" }}/><Text size="xl" fw={600} ta="center">diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/TeamsSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/TeamsSection.tsxindex 05090221bc..deb257a05b 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/TeamsSection.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/TeamsSection.tsx@@ -15,7 +15,7 @@ import {} from "@mantine/core";import { Button } from "@app/ui/Button";import { ActionIcon } from "@app/ui/ActionIcon";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { alert } from "@app/components/toast";import { teamService, Team } from "@app/services/teamService";import { type User } from "@app/services/userManagementService";@@ -215,7 +215,7 @@ export default function TeamsSection() {{/* Header Actions */}<Group justify="flex-end"><Button- leftSection={<LocalIcon icon="add" width="1rem" height="1rem" />}+ leftSection={<Icon name="plus" size="1rem" />}onClick={() => setCreateModalOpened(true)}disabled={!loginEnabled}>@@ -314,42 +314,28 @@ export default function TeamsSection() {"Team actions",)}>- <LocalIcon- icon="more-vert"- width="1rem"- height="1rem"- />+ <Icon name="ellipsis-vertical" size="1rem" /></ActionIcon></Menu.Target><Menu.Dropdownstyle={{ zIndex: Z_INDEX_OVER_CONFIG_MODAL }}><Menu.Item- leftSection={- <LocalIcon- icon="visibility"- width="1rem"- height="1rem"- />- }+ leftSection={<Icon name="eye" size="1rem" />}onClick={() => setViewingTeamId(team.id)}disabled={!loginEnabled}>{t("workspace.teams.viewTeam", "View Team")}</Menu.Item><Menu.Item- leftSection={- <LocalIcon icon="group" width="1rem" height="1rem" />- }+ leftSection={<Icon name="users" size="1rem" />}onClick={() => openAddMemberModal(team)}disabled={!loginEnabled}>{t("workspace.teams.addMember")}</Menu.Item><Menu.Item- leftSection={- <LocalIcon icon="edit" width="1rem" height="1rem" />- }+ leftSection={<Icon name="pencil" size="1rem" />}onClick={() => openRenameModal(team)}disabled={!loginEnabled}>@@ -358,9 +344,7 @@ export default function TeamsSection() {<Menu.Divider /><Menu.Itemcolor="red"- leftSection={- <LocalIcon icon="delete" width="1rem" height="1rem" />- }+ leftSection={<Icon name="trash" size="1rem" />}onClick={() => handleDeleteTeam(team)}disabled={!loginEnabled || team.name === "Internal"}>@@ -398,15 +382,14 @@ export default function TeamsSection() {zIndex: 1,}}>- <LocalIcon icon="close" width="1.25rem" height="1.25rem" />+ <Icon name="x" size="1.25rem" /></ActionIcon><Stack gap="lg" pt="md">{/* Header with Icon */}<Stack gap="md" align="center">- <LocalIcon- icon="group-add"- width="3rem"- height="3rem"+ <Icon+ name="users-plus"+ size="3rem"style={{ color: "var(--mantine-color-gray-6)" }}/><Text size="xl" fw={600} ta="center">@@ -458,15 +441,14 @@ export default function TeamsSection() {zIndex: 1,}}>- <LocalIcon icon="close" width="1.25rem" height="1.25rem" />+ <Icon name="x" size="1.25rem" /></ActionIcon><Stack gap="lg" pt="md">{/* Header with Icon */}<Stack gap="md" align="center">- <LocalIcon- icon="edit"- width="3rem"- height="3rem"+ <Icon+ name="pencil"+ size="3rem"style={{ color: "var(--mantine-color-gray-6)" }}/><Text size="xl" fw={600} ta="center">@@ -524,15 +506,14 @@ export default function TeamsSection() {zIndex: 1,}}>- <LocalIcon icon="close" width="1.25rem" height="1.25rem" />+ <Icon name="x" size="1.25rem" /></ActionIcon><Stack gap="lg" pt="md">{/* Header with Icon */}<Stack gap="md" align="center">- <LocalIcon- icon="person-add"- width="3rem"- height="3rem"+ <Icon+ name="user-plus"+ size="3rem"style={{ color: "var(--mantine-color-gray-6)" }}/><Text size="xl" fw={600} ta="center">diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/advanced/DatabaseBackupsCard.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/advanced/DatabaseBackupsCard.tsxindex b5d8249483..4fa9585cbc 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/advanced/DatabaseBackupsCard.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/advanced/DatabaseBackupsCard.tsx@@ -1,4 +1,5 @@import { useEffect, useState } from "react";+import { Icon } from "@app/ui/Icon";import { isAxiosError } from "axios";import { useTranslation } from "react-i18next";import {@@ -20,7 +21,6 @@ import { Button } from "@app/ui/Button";import { ActionIcon } from "@app/ui/ActionIcon";import { alert } from "@app/components/toast";import { useLoginRequired } from "@app/hooks/useLoginRequired";-import LocalIcon from "@app/components/shared/LocalIcon";import databaseManagementService, {DatabaseBackupFile,} from "@app/services/databaseManagementService";@@ -315,7 +315,7 @@ export function DatabaseBackupsCard({<Stack gap="md">{!isEmbeddedH2 && (<Alert- icon={<LocalIcon icon="info" width="1.2rem" height="1.2rem" />}+ icon={<Icon name="info" size="1.2rem" />}color="yellow"radius="md">@@ -338,7 +338,7 @@ export function DatabaseBackupsCard({<Stack gap="md"><Group justify="space-between" align="center"><Group gap="xs">- <LocalIcon icon="backup" width="1.4rem" height="1.4rem" />+ <Icon name="cloud-upload" size="1.4rem" /><Text fw={600}>{t("admin.settings.database.manageBackups",@@ -358,18 +358,14 @@ export function DatabaseBackupsCard({<Group gap="xs"><Buttonvariant="secondary"- leftSection={- <LocalIcon icon="refresh" width="1rem" height="1rem" />- }+ leftSection={<Icon name="refresh-cw" size="1rem" />}onClick={loadBackupData}disabled={!loginEnabled || !isEmbeddedH2}>{t("admin.settings.database.refresh", "Refresh")}</Button><Button- leftSection={- <LocalIcon icon="upload" width="1rem" height="1rem" />- }+ leftSection={<Icon name="upload" size="1rem" />}onClick={handleCreateBackup}loading={creatingBackup}disabled={!loginEnabled || !isEmbeddedH2}@@ -400,13 +396,7 @@ export function DatabaseBackupsCard({onClick={handleUploadImport}loading={importingUpload}disabled={!loginEnabled || !isEmbeddedH2}- leftSection={- <LocalIcon- icon="play-circle"- width="1rem"- height="1rem"- />- }+ leftSection={<Icon name="circle-play" size="1rem" />}>{t("admin.settings.database.importFromUpload",@@ -481,11 +471,7 @@ export function DatabaseBackupsCard({{downloadingFile === backup.fileName ? (<Loader size="xs" />) : (- <LocalIcon- icon="download"- width="1rem"- height="1rem"- />+ <Icon name="download" size="1rem" />)}</ActionIcon></Tooltip>@@ -510,11 +496,7 @@ export function DatabaseBackupsCard({{importingBackupFile === backup.fileName ? (<Loader size="xs" />) : (- <LocalIcon- icon="backup"- width="1rem"- height="1rem"- />+ <Icon name="cloud-upload" size="1rem" />)}</ActionIcon></Tooltip>@@ -540,11 +522,7 @@ export function DatabaseBackupsCard({{deletingFile === backup.fileName ? (<Loader size="xs" />) : (- <LocalIcon- icon="delete"- width="1rem"- height="1rem"- />+ <Icon name="trash" size="1rem" />)}</ActionIcon></Tooltip>@@ -575,7 +553,7 @@ export function DatabaseBackupsCard({<Alertcolor="red"variant="light"- icon={<LocalIcon icon="warning" width="1.2rem" height="1.2rem" />}+ icon={<Icon name="triangle-alert" size="1.2rem" />}><Text fw={600}>{t(@@ -644,7 +622,7 @@ export function DatabaseBackupsCard({<Alertcolor="red"variant="light"- icon={<LocalIcon icon="warning" width="1.2rem" height="1.2rem" />}+ icon={<Icon name="triangle-alert" size="1.2rem" />}><Text fw={600}>{t(diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/ai/AiConnectionCard.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/ai/AiConnectionCard.tsxindex c976633edd..dac4ebbc43 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/ai/AiConnectionCard.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/ai/AiConnectionCard.tsx@@ -1,4 +1,5 @@import { useState } from "react";+import { Icon } from "@app/ui/Icon";import { InfoTooltip } from "@app/ui/InfoTooltip";import { useTranslation } from "react-i18next";import {@@ -13,7 +14,6 @@ import {Code,} from "@mantine/core";import { alert } from "@app/components/toast";-import LocalIcon from "@app/components/shared/LocalIcon";import PendingBadge from "@app/components/shared/config/PendingBadge";import apiClient from "@app/services/apiClient";import { Button } from "@app/ui/Button";@@ -220,7 +220,7 @@ export function AiConnectionCard({variant="light"color="blue"title={t("admin.settings.ai.general.note.title", "About the AI engine")}- icon={<LocalIcon icon="info-rounded" width="1rem" height="1rem" />}+ icon={<Icon name="info" size="1rem" />}><Text size="xs">{t(diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/ai/AiDocumentsCard.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/ai/AiDocumentsCard.tsxindex e992e8338e..407099b0c5 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/ai/AiDocumentsCard.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/ai/AiDocumentsCard.tsx@@ -1,4 +1,5 @@import { useTranslation } from "react-i18next";+import { Icon } from "@app/ui/Icon";import { InfoTooltip } from "@app/ui/InfoTooltip";import {TextInput,@@ -12,7 +13,6 @@ import {Group,Alert,} from "@mantine/core";-import LocalIcon from "@app/components/shared/LocalIcon";import PendingBadge from "@app/components/shared/config/PendingBadge";import { Z_INDEX_OVER_CONFIG_MODAL } from "@app/styles/zIndex";import {@@ -263,7 +263,7 @@ export function AiDocumentsCard({"admin.settings.ai.documents.reindexNote.title","Re-index required",)}- icon={<LocalIcon icon="warning-rounded" width="1rem" height="1rem" />}+ icon={<Icon name="triangle-alert" size="1rem" />}><Text size="xs">{t(diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/ai/AiModelsCard.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/ai/AiModelsCard.tsxindex 2ccdc9dcab..5e0303c26d 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/ai/AiModelsCard.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/ai/AiModelsCard.tsx@@ -1,4 +1,5 @@import { useTranslation } from "react-i18next";+import { Icon } from "@app/ui/Icon";import { InfoTooltip } from "@app/ui/InfoTooltip";import {TextInput,@@ -12,7 +13,6 @@ import {Group,Alert,} from "@mantine/core";-import LocalIcon from "@app/components/shared/LocalIcon";import PendingBadge from "@app/components/shared/config/PendingBadge";import { Z_INDEX_OVER_CONFIG_MODAL } from "@app/styles/zIndex";import {@@ -264,9 +264,7 @@ export function AiModelsCard({<Alertvariant="light"color="orange"- icon={- <LocalIcon icon="warning-rounded" width="1rem" height="1rem" />- }+ icon={<Icon name="triangle-alert" size="1rem" />}><Text size="xs">{t(@@ -281,9 +279,7 @@ export function AiModelsCard({<Alertvariant="light"color="blue"- icon={- <LocalIcon icon="info-rounded" width="1rem" height="1rem" />- }+ icon={<Icon name="info" size="1rem" />}><Text size="xs">{t(diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/apiKeys/ApiKeySection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/apiKeys/ApiKeySection.tsxindex 6a57c9a1e0..3d0c8a7641 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/apiKeys/ApiKeySection.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/apiKeys/ApiKeySection.tsx@@ -1,7 +1,7 @@import React from "react";import { Box, Group, Paper } from "@mantine/core";import { Button } from "@app/ui/Button";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import FitText from "@app/components/shared/FitText";import { useTranslation } from "react-i18next";@@ -60,9 +60,7 @@ export default function ApiKeySection({variant="secondary"accent="neutral"onClick={() => onCopy(publicKey, "public")}- leftSection={- <LocalIcon icon="content-copy-rounded" width={14} height={14} />- }+ leftSection={<Icon name="copy" size={14} />}style={{marginLeft: 12,}}@@ -77,9 +75,7 @@ export default function ApiKeySection({variant="secondary"accent="neutral"onClick={onRefresh}- leftSection={- <LocalIcon icon="refresh-rounded" width={14} height={14} />- }+ leftSection={<Icon name="refresh-cw" size={14} />}style={{marginLeft: 8,}}diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditClearDataSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditClearDataSection.tsxindex c166e2fc5b..7e25982dc1 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditClearDataSection.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditClearDataSection.tsx@@ -12,8 +12,7 @@ import {import { Button } from "@app/ui/Button";import { useTranslation } from "react-i18next";import auditService from "@app/services/auditService";-import LocalIcon from "@app/components/shared/LocalIcon";-+import { Icon } from "@app/ui/Icon";interface AuditClearDataSectionProps {loginEnabled?: boolean;}@@ -72,9 +71,7 @@ const AuditClearDataSection: React.FC<AuditClearDataSectionProps> = ({<Stack gap="lg"><Alertcolor="green"- icon={- <LocalIcon icon="check-circle" width="1.2rem" height="1.2rem" />- }+ icon={<Icon name="circle-check" size="1.2rem" />}title={t("audit.clearData.success", "Success")}onClose={() => setSuccess(false)}closeButtonLabel="Close alert"@@ -94,7 +91,7 @@ const AuditClearDataSection: React.FC<AuditClearDataSectionProps> = ({<Stack gap="lg"><Alertcolor="orange"- icon={<LocalIcon icon="warning" width="1.2rem" height="1.2rem" />}+ icon={<Icon name="triangle-alert" size="1.2rem" />}title={t("audit.clearData.confirmTitle","Please confirm you want to delete",@@ -165,7 +162,7 @@ const AuditClearDataSection: React.FC<AuditClearDataSectionProps> = ({{error && (<Alertcolor="red"- icon={<LocalIcon icon="error" width="1.2rem" height="1.2rem" />}+ icon={<Icon name="circle-alert" size="1.2rem" />}>{error}</Alert>@@ -202,7 +199,7 @@ const AuditClearDataSection: React.FC<AuditClearDataSectionProps> = ({<Stack gap="lg"><Alertcolor="red"- icon={<LocalIcon icon="warning" width="1.2rem" height="1.2rem" />}+ icon={<Icon name="triangle-alert" size="1.2rem" />}title={t("audit.clearData.warning1", "This action cannot be undone")}><Text size="sm">diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditEventsTable.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditEventsTable.tsxindex 22263596c0..c08577cd78 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditEventsTable.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditEventsTable.tsx@@ -21,8 +21,7 @@ import auditService, {import { Z_INDEX_OVER_CONFIG_MODAL } from "@app/styles/zIndex";import { useAuditFilters } from "@app/hooks/useAuditFilters";import AuditFiltersForm from "@app/components/shared/config/configSections/audit/AuditFiltersForm";-import LocalIcon from "@app/components/shared/LocalIcon";-+import { Icon } from "@app/ui/Icon";interface AuditEventsTableProps {loginEnabled?: boolean;captureFileHash?: boolean;@@ -162,8 +161,8 @@ const AuditEventsTable: React.FC<AuditEventsTableProps> = ({const getSortIcon = (key: "timestamp" | "eventType" | "username" | "ipAddress",) => {- if (sortKey !== key) return "unfold-more";- return sortDir === "asc" ? "expand-less" : "expand-more";+ if (sortKey !== key) return "chevrons-up-down";+ return sortDir === "asc" ? "chevron-up" : "chevron-down";};// Event type colors@@ -287,11 +286,7 @@ const AuditEventsTable: React.FC<AuditEventsTableProps> = ({}}>{t("audit.events.timestamp", "Timestamp")}- <LocalIcon- icon={getSortIcon("timestamp")}- width="0.9rem"- height="0.9rem"- />+ <Icon name={getSortIcon("timestamp")} size="0.9rem" /></Button></Table.Th><Table.Th@@ -316,11 +311,7 @@ const AuditEventsTable: React.FC<AuditEventsTableProps> = ({}}>{t("audit.events.type", "Type")}- <LocalIcon- icon={getSortIcon("eventType")}- width="0.9rem"- height="0.9rem"- />+ <Icon name={getSortIcon("eventType")} size="0.9rem" /></Button></Table.Th><Table.Th@@ -345,11 +336,7 @@ const AuditEventsTable: React.FC<AuditEventsTableProps> = ({}}>{t("audit.events.user", "User")}- <LocalIcon- icon={getSortIcon("username")}- width="0.9rem"- height="0.9rem"- />+ <Icon name={getSortIcon("username")} size="0.9rem" /></Button></Table.Th><Table.Th@@ -401,10 +388,9 @@ const AuditEventsTable: React.FC<AuditEventsTableProps> = ({<Table.Td colSpan={totalColumns}><Group justify="center" py="xl"><Stack align="center" gap={0}>- <LocalIcon- icon="search"- width="2rem"- height="2rem"+ <Icon+ name="search"+ size="2rem"style={{ opacity: 0.4 }}/><Text ta="center" c="dimmed" size="sm">diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditExportSection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditExportSection.tsxindex 4e0f808649..22cd906e3d 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditExportSection.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditExportSection.tsx@@ -4,7 +4,7 @@ import { Button } from "@app/ui/Button";import { SegmentedControl } from "@app/ui/SegmentedControl";import { useTranslation } from "react-i18next";import auditService from "@app/services/auditService";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { useAuditFilters } from "@app/hooks/useAuditFilters";import AuditFiltersForm from "@app/components/shared/config/configSections/audit/AuditFiltersForm";@@ -244,9 +244,7 @@ const AuditExportSection: React.FC<AuditExportSectionProps> = ({{/* Export Button */}<Group justify="flex-end"><Button- leftSection={- <LocalIcon icon="download" width="1rem" height="1rem" />- }+ leftSection={<Icon name="download" size="1rem" />}onClick={handleExport}loading={exporting}disabled={!loginEnabled || exporting}diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditStatsCards.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditStatsCards.tsxindex 270fcf9847..6c34380cfd 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditStatsCards.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/audit/AuditStatsCards.tsx@@ -11,8 +11,7 @@ import {} from "@mantine/core";import { useTranslation } from "react-i18next";import auditService, { AuditStats } from "@app/services/auditService";-import LocalIcon from "@app/components/shared/LocalIcon";-+import { Icon, type IconName } from "@app/ui/Icon";interface AuditStatsCardsProps {loginEnabled?: boolean;timePeriod: "day" | "week" | "month";@@ -132,7 +131,10 @@ const AuditStatsCards: React.FC<AuditStatsCardsProps> = ({return trend >= 0 ? "green" : "red";};- const getTrendIcon = (trend: number, lowerIsBetter: boolean = false) => {+ const getTrendIcon = (+ trend: number,+ lowerIsBetter: boolean = false,+ ): IconName => {const isPositive = lowerIsBetter ? trend <= 0 : trend >= 0;return isPositive ? "trending-up" : "trending-down";};@@ -146,7 +148,7 @@ const AuditStatsCards: React.FC<AuditStatsCardsProps> = ({<Text size="sm" c="dimmed">{t("audit.stats.totalEvents", "Total Events")}</Text>- <LocalIcon icon="analytics" width="1.2rem" height="1.2rem" />+ <Icon name="chart-column" size="1.2rem" /></Group><Text size="xl" fw={700}>{stats.totalEvents.toLocaleString()}@@ -157,10 +159,9 @@ const AuditStatsCards: React.FC<AuditStatsCardsProps> = ({variant="light"size="sm"leftSection={- <LocalIcon- icon={getTrendIcon(trendPercent)}- width="0.8rem"- height="0.8rem"+ <Icon+ name={getTrendIcon(trendPercent)}+ size="0.8rem"style={{ marginRight: "0.25rem" }}/>}@@ -179,11 +180,7 @@ const AuditStatsCards: React.FC<AuditStatsCardsProps> = ({<Text size="sm" c="dimmed">{t("audit.stats.successRate", "Success Rate")}</Text>- <LocalIcon- icon="check-circle-rounded"- width="1.2rem"- height="1.2rem"- />+ <Icon name="circle-check" size="1.2rem" /></Group><Text size="xl" fw={700}>{stats.successRate.toFixed(1)}%@@ -221,7 +218,7 @@ const AuditStatsCards: React.FC<AuditStatsCardsProps> = ({<Text size="sm" c="dimmed">{t("audit.stats.activeUsers", "Active Users")}</Text>- <LocalIcon icon="group" width="1.2rem" height="1.2rem" />+ <Icon name="users" size="1.2rem" /></Group><Text size="xl" fw={700}>{stats.uniqueUsers}@@ -232,10 +229,9 @@ const AuditStatsCards: React.FC<AuditStatsCardsProps> = ({variant="light"size="sm"leftSection={- <LocalIcon- icon={getTrendIcon(userTrend)}- width="0.8rem"- height="0.8rem"+ <Icon+ name={getTrendIcon(userTrend)}+ size="0.8rem"style={{ marginRight: "0.25rem" }}/>}@@ -253,7 +249,7 @@ const AuditStatsCards: React.FC<AuditStatsCardsProps> = ({<Text size="sm" c="dimmed">{t("audit.stats.avgLatency", "Avg Latency")}</Text>- <LocalIcon icon="speed" width="1.2rem" height="1.2rem" />+ <Icon name="gauge" size="1.2rem" /></Group><Text size="xl" fw={700}>{stats.avgLatencyMs > 0@@ -266,10 +262,9 @@ const AuditStatsCards: React.FC<AuditStatsCardsProps> = ({variant="light"size="sm"leftSection={- <LocalIcon- icon={getTrendIcon(latencyTrend, true)}- width="0.8rem"- height="0.8rem"+ <Icon+ name={getTrendIcon(latencyTrend, true)}+ size="0.8rem"style={{ marginRight: "0.25rem" }}/>}diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/plan/LicenseKeySection.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/plan/LicenseKeySection.tsxindex 7798d0df0f..95dacc1b89 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/plan/LicenseKeySection.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/plan/LicenseKeySection.tsx@@ -14,7 +14,7 @@ import { Button } from "@app/ui/Button";import { FilePicker } from "@app/ui/FilePicker";import { SegmentedControl } from "@app/ui/SegmentedControl";import { useTranslation } from "react-i18next";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { alert } from "@app/components/toast";import { LicenseInfo } from "@app/services/licenseService";import licenseService from "@app/services/licenseService";@@ -124,7 +124,7 @@ const LicenseKeySection: React.FC<LicenseKeySectionProps> = ({<Alertvariant="light"color="blue"- icon={<LocalIcon icon="info-rounded" width="1rem" height="1rem" />}+ icon={<Icon name="info" size="1rem" />}><Text size="sm">{t(@@ -139,7 +139,7 @@ const LicenseKeySection: React.FC<LicenseKeySectionProps> = ({<Alertvariant="light"color="red"- icon={<LocalIcon icon="warning-rounded" width="1rem" height="1rem" />}+ icon={<Icon name="triangle-alert" size="1rem" />}title={t("admin.settings.premium.key.overwriteWarning.title","⚠️ Warning: Existing License Detected",@@ -173,9 +173,7 @@ const LicenseKeySection: React.FC<LicenseKeySectionProps> = ({<Alertvariant="light"color="green"- icon={- <LocalIcon icon="check-circle-rounded" width="1rem" height="1rem" />- }+ icon={<Icon name="circle-check" size="1rem" />}><Stack gap="xs"><Text size="sm" fw={500}>@@ -283,13 +281,7 @@ const LicenseKeySection: React.FC<LicenseKeySectionProps> = ({accept=".lic,.cert"disabled={!loginEnabled || savingLicense}variant="secondary"- leftSection={- <LocalIcon- icon="upload-file-rounded"- width="1rem"- height="1rem"- />- }+ leftSection={<Icon name="file-up" size="1rem" />}>{licenseFile? licenseFile.name@@ -339,12 +331,9 @@ const LicenseKeySection: React.FC<LicenseKeySectionProps> = ({<Buttonvariant="tertiary"leftSection={- <LocalIcon- icon={- showLicenseKey ? "expand-less-rounded" : "expand-more-rounded"- }- width="1.25rem"- height="1.25rem"+ <Icon+ name={showLicenseKey ? "chevron-up" : "chevron-down"}+ size="1.25rem"/>}onClick={() => setShowLicenseKey(!showLicenseKey)}diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/plan/StaticCheckoutModal.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/plan/StaticCheckoutModal.tsxindex 8667d4800a..f319885844 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/plan/StaticCheckoutModal.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/plan/StaticCheckoutModal.tsx@@ -13,7 +13,7 @@ import {import { Button } from "@app/ui/Button";import { ActionIcon } from "@app/ui/ActionIcon";import { useTranslation } from "react-i18next";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { EmailStage } from "@app/components/shared/stripeCheckout/stages/EmailStage";import { validateEmail } from "@app/components/shared/stripeCheckout/utils/checkoutUtils";import { getClickablePaperStyle } from "@app/components/shared/stripeCheckout/utils/cardStyles";@@ -248,9 +248,7 @@ const StaticCheckoutModal: React.FC<StaticCheckoutModalProps> = ({<Alertvariant="light"color="blue"- icon={- <LocalIcon icon="info-rounded" width="1rem" height="1rem" />- }+ icon={<Icon name="info" size="1rem" />}><Stack gap="sm"><Text size="sm" fw={600}>@@ -272,13 +270,7 @@ const StaticCheckoutModal: React.FC<StaticCheckoutModalProps> = ({<Alertvariant="light"color="green"- icon={- <LocalIcon- icon="check-circle-rounded"- width="1rem"- height="1rem"- />- }+ icon={<Icon name="circle-check" size="1rem" />}title={t("plan.static.licenseActivation.success","License Activated!",@@ -373,7 +365,7 @@ const StaticCheckoutModal: React.FC<StaticCheckoutModalProps> = ({onClick={handleGoBack}aria-label={t("common.back", "Back")}>- <LocalIcon icon="arrow-back" width={20} height={20} />+ <Icon name="arrow-left" size={20} /></ActionIcon>)}<Text fw={600} size="lg">diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/security/LegalDocumentsCard.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/security/LegalDocumentsCard.tsxindex 313c578f29..b309d0d1fb 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/security/LegalDocumentsCard.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/security/LegalDocumentsCard.tsx@@ -1,7 +1,7 @@import { useTranslation } from "react-i18next";import { InfoTooltip } from "@app/ui/InfoTooltip";import { TextInput, Stack, Paper, Text, Group, Alert } from "@mantine/core";-import WarningIcon from "@mui/icons-material/Warning";+import { Icon } from "@app/ui/Icon";import PendingBadge from "@app/components/shared/config/PendingBadge";import type { LegalCardProps } from "@app/components/shared/config/configSections/security/securityCardProps";@@ -21,7 +21,7 @@ export function LegalDocumentsCard({return (<><Alert- icon={<WarningIcon style={{ fontSize: 18 }} />}+ icon={<Icon name="triangle-alert" size={18} />}title={t("admin.settings.legal.disclaimer.title","Legal Responsibility Warning",diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/server/FolderAccessCard.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/server/FolderAccessCard.tsxindex a8cc1a666d..786ec716ad 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/server/FolderAccessCard.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/server/FolderAccessCard.tsx@@ -1,4 +1,5 @@import { useCallback, useEffect, useState } from "react";+import { Icon } from "@app/ui/Icon";import { InfoTooltip } from "@app/ui/InfoTooltip";import { useTranslation } from "react-i18next";import {@@ -11,7 +12,6 @@ import {TextInput,} from "@mantine/core";import { Button } from "@app/ui/Button";-import LocalIcon from "@app/components/shared/LocalIcon";import PendingBadge from "@app/components/shared/config/PendingBadge";import { useLoginRequired } from "@app/hooks/useLoginRequired";import apiClient from "@app/services/apiClient";@@ -130,13 +130,7 @@ export function FolderAccessCard({"admin.settings.folderAccess.roots.remove","Remove folder root",)}- leftSection={- <LocalIcon- icon="close-rounded"- width="1.1rem"- height="1.1rem"- />- }+ leftSection={<Icon name="x" size="1.1rem" />}onClick={() => removeRoot(root)}disabled={!loginEnabled}style={{ flexShrink: 0 }}@@ -204,7 +198,7 @@ export function FolderAccessCard({<Text size="xs" c="dimmed">{reasonLabel(root.reason)}</Text>- <LocalIcon icon="lock" width="1rem" height="1rem" />+ <Icon name="lock" size="1rem" /></Group></Group>))}diff --git a/frontend/editor/src/proprietary/components/shared/config/configSections/server/McpCard.tsx b/frontend/editor/src/proprietary/components/shared/config/configSections/server/McpCard.tsxindex a2fc807972..e423ec4758 100644--- a/frontend/editor/src/proprietary/components/shared/config/configSections/server/McpCard.tsx+++ b/frontend/editor/src/proprietary/components/shared/config/configSections/server/McpCard.tsx@@ -1,4 +1,5 @@import { useTranslation } from "react-i18next";+import { Icon } from "@app/ui/Icon";import { InfoTooltip } from "@app/ui/InfoTooltip";import {TextInput,@@ -13,7 +14,6 @@ import {Code,List,} from "@mantine/core";-import LocalIcon from "@app/components/shared/LocalIcon";import PendingBadge from "@app/components/shared/config/PendingBadge";import { Z_INDEX_OVER_CONFIG_MODAL } from "@app/styles/zIndex";import type { McpAuthData } from "@app/components/shared/config/configSections/server/serverSettings";@@ -365,7 +365,7 @@ export function McpCard({variant="light"color="blue"title={t("admin.settings.mcp.guide.title", "Connect an MCP client")}- icon={<LocalIcon icon="info-rounded" width="1rem" height="1rem" />}+ icon={<Icon name="info" size="1rem" />}><Stack gap={6}><List size="xs" type="ordered" spacing={4}>diff --git a/frontend/editor/src/proprietary/components/shared/stripeCheckout/StripeCheckout.tsx b/frontend/editor/src/proprietary/components/shared/stripeCheckout/StripeCheckout.tsxindex 48242c5fcf..dfbd9cb024 100644--- a/frontend/editor/src/proprietary/components/shared/stripeCheckout/StripeCheckout.tsx+++ b/frontend/editor/src/proprietary/components/shared/stripeCheckout/StripeCheckout.tsx@@ -2,7 +2,7 @@ import React, { useEffect } from "react";import { Modal, Text, Group } from "@mantine/core";import { ActionIcon } from "@app/ui/ActionIcon";import { useTranslation } from "react-i18next";-import LocalIcon from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import licenseService from "@app/services/licenseService";import { useIsMobile } from "@app/hooks/useIsMobile";import { Z_INDEX_OVER_CONFIG_MODAL } from "@app/styles/zIndex";@@ -312,7 +312,7 @@ const StripeCheckout: React.FC<StripeCheckoutProps> = ({onClick={navigation.goBack}aria-label={t("common.back", "Back")}>- <LocalIcon icon="arrow-back" width={20} height={20} />+ <Icon name="arrow-left" size={20} /></ActionIcon>)}<Text fw={600} size="lg">diff --git a/frontend/editor/src/proprietary/components/viewer/PolicyEnforcementOverlay.tsx b/frontend/editor/src/proprietary/components/viewer/PolicyEnforcementOverlay.tsxindex 08522fb011..6f2d507c48 100644--- a/frontend/editor/src/proprietary/components/viewer/PolicyEnforcementOverlay.tsx+++ b/frontend/editor/src/proprietary/components/viewer/PolicyEnforcementOverlay.tsx@@ -1,6 +1,6 @@import { useState, useEffect, useRef } from "react";import { Tooltip } from "@mantine/core";-import AutorenewIcon from "@mui/icons-material/Autorenew";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";import {POLICY_IN_FLIGHT_STATUSES,@@ -63,7 +63,7 @@ export function PolicyEnforcementOverlay({ runs }: Props) {color: policyAccentVar(inFlight.policyKey),}}>- <AutorenewIcon style={{ fontSize: 16 }} />+ <Icon name="refresh-cw" size={16} /></span></Tooltip>);diff --git a/frontend/editor/src/prototypes/components/chat/ChatPanel.tsx b/frontend/editor/src/prototypes/components/chat/ChatPanel.tsxindex b67b87c951..634315dc9d 100644--- a/frontend/editor/src/prototypes/components/chat/ChatPanel.tsx+++ b/frontend/editor/src/prototypes/components/chat/ChatPanel.tsx@@ -21,12 +21,7 @@ import {UnstyledButton,List,} from "@mantine/core";-import SendIcon from "@mui/icons-material/Send";-import StopIcon from "@mui/icons-material/Stop";-import ChatBubbleOutlineIcon from "@mui/icons-material/ChatBubbleOutlined";-import CloseIcon from "@mui/icons-material/Close";-import ExpandMoreIcon from "@mui/icons-material/ExpandMore";-import ExpandLessIcon from "@mui/icons-material/ExpandLess";+import { Icon } from "@app/ui/Icon";import {useChat,AiWorkflowPhase,@@ -150,9 +145,9 @@ function ToolsUsedBlock({><Group gap={4} wrap="nowrap">{expanded ? (- <ExpandLessIcon sx={{ fontSize: 14 }} />+ <Icon name="chevron-up" size={14} />) : (- <ExpandMoreIcon sx={{ fontSize: 14 }} />+ <Icon name="chevron-down" size={14} />)}<Text size="xs" c="dimmed">{label}@@ -270,7 +265,7 @@ export function ChatPanel(_props: ChatPanelProps = {}) {onClick={toggleOpen}aria-label="Open chat">- <ChatBubbleOutlineIcon sx={{ fontSize: 24 }} />+ <Icon name="message-square" size={24} /></ActionIcon>)}@@ -289,7 +284,7 @@ export function ChatPanel(_props: ChatPanelProps = {}) {onClick={toggleOpen}aria-label="Close chat">- <CloseIcon sx={{ fontSize: 16 }} />+ <Icon name="x" size={16} /></ActionIcon></div>@@ -350,7 +345,7 @@ export function ChatPanel(_props: ChatPanelProps = {}) {onClick={cancelMessage}aria-label="Stop generating">- <StopIcon sx={{ fontSize: 14 }} />+ <Icon name="square" size={14} /></ActionIcon>) : (<ActionIcon@@ -361,7 +356,7 @@ export function ChatPanel(_props: ChatPanelProps = {}) {disabled={!input.trim()}aria-label="Send message">- <SendIcon sx={{ fontSize: 14 }} />+ <Icon name="send" size={14} /></ActionIcon>)}diff --git a/frontend/editor/src/saas/components/auth/GuestUserBanner.tsx b/frontend/editor/src/saas/components/auth/GuestUserBanner.tsxindex 1f8e137c88..37fb47fb43 100644--- a/frontend/editor/src/saas/components/auth/GuestUserBanner.tsx+++ b/frontend/editor/src/saas/components/auth/GuestUserBanner.tsx@@ -1,7 +1,6 @@import React, { useEffect, useState } from "react";import { useTranslation } from "react-i18next";-import CloseIcon from "@mui/icons-material/Close";-import PersonAddIcon from "@mui/icons-material/PersonAdd";+import { Icon } from "@app/ui/Icon";import { Button } from "@app/ui/Button";import { ActionIcon } from "@app/ui/ActionIcon";import { useAuth } from "@app/auth/UseSession";@@ -88,12 +87,14 @@ export function GuestUserBanner({ className = "" }: GuestUserBannerProps) {onClick={handleDismiss}aria-label={t("guestBanner.dismiss", "Dismiss banner")}>- <CloseIcon className="guest-banner-icon" />+ <Icon name="x" className="guest-banner-icon" /></ActionIcon><Buttonsize="sm"onClick={handleSignUp}- leftSection={<PersonAddIcon className="guest-banner-signup-icon" />}+ leftSection={+ <Icon name="user-plus" className="guest-banner-signup-icon" />+ }>{t("guestBanner.signUp", "Sign Up Free")}</Button>diff --git a/frontend/editor/src/saas/components/onboarding/OnboardingChecklist.module.css b/frontend/editor/src/saas/components/onboarding/OnboardingChecklist.module.cssindex f98caf46ef..8b08ec5d31 100644--- a/frontend/editor/src/saas/components/onboarding/OnboardingChecklist.module.css+++ b/frontend/editor/src/saas/components/onboarding/OnboardingChecklist.module.css@@ -55,7 +55,6 @@}.chevron {- font-size: 0.95rem !important;color: var(--mantine-color-dimmed);}@@ -76,12 +75,7 @@color: var(--mantine-color-text);}-.closeIcon {- font-size: 0.95rem !important;-}-.completeIcon {- font-size: 1.05rem !important;color: var(--c-accent-text);}@@ -130,12 +124,10 @@}.checkDone {- font-size: 1.05rem !important;color: var(--c-accent-text);}.checkTodo {- font-size: 1.05rem !important;color: var(--mantine-color-default-border);}diff --git a/frontend/editor/src/saas/components/onboarding/OnboardingChecklist.tsx b/frontend/editor/src/saas/components/onboarding/OnboardingChecklist.tsxindex 6f2eeade9a..f8c6068151 100644--- a/frontend/editor/src/saas/components/onboarding/OnboardingChecklist.tsx+++ b/frontend/editor/src/saas/components/onboarding/OnboardingChecklist.tsx@@ -1,10 +1,6 @@import { useCallback, useMemo, useState } from "react";import { useTranslation } from "react-i18next";-import CheckCircleIcon from "@mui/icons-material/CheckCircle";-import RadioButtonUncheckedIcon from "@mui/icons-material/RadioButtonUnchecked";-import CloseIcon from "@mui/icons-material/Close";-import ExpandMoreIcon from "@mui/icons-material/ExpandMore";-import ExpandLessIcon from "@mui/icons-material/ExpandLess";+import { Icon } from "@app/ui/Icon";import { useAuth } from "@app/auth/UseSession";import SaasOnboardingModal from "@app/components/onboarding/SaasOnboardingModal";import StaticOnboardingSlide from "@app/components/onboarding/StaticOnboardingSlide";@@ -187,9 +183,17 @@ export function OnboardingChecklist() {{doneCount} / {total}</span>{expanded ? (- <ExpandLessIcon className={styles.chevron} />+ <Icon+ name="chevron-up"+ size="0.95rem"+ className={styles.chevron}+ />) : (- <ExpandMoreIcon className={styles.chevron} />+ <Icon+ name="chevron-down"+ size="0.95rem"+ className={styles.chevron}+ />)}<spanclassName={styles.closeButton}@@ -209,9 +213,13 @@ export function OnboardingChecklist() {}}>{allDone ? (- <CheckCircleIcon className={styles.completeIcon} />+ <Icon+ name="circle-check"+ size="1.05rem"+ className={styles.completeIcon}+ />) : (- <CloseIcon className={styles.closeIcon} />+ <Icon name="x" size="0.95rem" />)}</span></span>@@ -244,9 +252,17 @@ export function OnboardingChecklist() {><span className={styles.itemIcon}>{isDone ? (- <CheckCircleIcon className={styles.checkDone} />+ <Icon+ name="circle-check"+ size="1.05rem"+ className={styles.checkDone}+ />) : (- <RadioButtonUncheckedIcon className={styles.checkTodo} />+ <Icon+ name="circle"+ size="1.05rem"+ className={styles.checkTodo}+ />)}</span><span className={styles.itemText}>diff --git a/frontend/editor/src/saas/components/settings/useSettingsNav.test.tsx b/frontend/editor/src/saas/components/settings/useSettingsNav.test.tsxindex 7ec450f296..bff8c47888 100644--- a/frontend/editor/src/saas/components/settings/useSettingsNav.test.tsx+++ b/frontend/editor/src/saas/components/settings/useSettingsNav.test.tsx@@ -32,7 +32,7 @@ vi.mock("@app/components/settings/portalSettingsNav", () => ({{key: "billing",label: "Billing",- icon: "payments-rounded",+ icon: "credit-card",component: null,},],diff --git a/frontend/editor/src/saas/components/settings/useSettingsNav.tsx b/frontend/editor/src/saas/components/settings/useSettingsNav.tsxindex 1a5e48b2af..a4ceae4e1f 100644--- a/frontend/editor/src/saas/components/settings/useSettingsNav.tsx+++ b/frontend/editor/src/saas/components/settings/useSettingsNav.tsx@@ -65,7 +65,7 @@ export function useSettingsNav(onLeave: () => void): SettingsNav {"settings.connectedInstances.title","Connected instances",),- icon: "link-rounded",+ icon: "link",fullBleed: true,component: (<Suspense fallback={<LoadingFallback />}>diff --git a/frontend/editor/src/saas/components/shared/config/configSections/McpSection.tsx b/frontend/editor/src/saas/components/shared/config/configSections/McpSection.tsxindex 8a485b6c6e..b1e37b4284 100644--- a/frontend/editor/src/saas/components/shared/config/configSections/McpSection.tsx+++ b/frontend/editor/src/saas/components/shared/config/configSections/McpSection.tsx@@ -1,4 +1,5 @@import { useMemo } from "react";+import { Icon } from "@app/ui/Icon";import { useTranslation } from "react-i18next";import {Stack,@@ -12,7 +13,6 @@ import {Tooltip,} from "@mantine/core";import { Button } from "@app/ui/Button";-import LocalIcon from "@app/components/shared/LocalIcon";import { useAppConfig } from "@app/contexts/AppConfigContext";import { openAppSettings } from "@app/utils/appSettings";import { useAuth } from "@app/auth/UseSession";@@ -44,13 +44,7 @@ function CopyInline({ value, label }: { value: string; label: string }) {variant="secondary"accent={copied ? "success" : undefined}onClick={copy}- leftSection={- <LocalIcon- icon={copied ? "check-rounded" : "content-copy-rounded"}- width={14}- height={14}- />- }+ leftSection={<Icon name={copied ? "check" : "copy"} size={14} />}>{copied? t("config.mcp.copy.copied", "Copied")@@ -243,9 +237,7 @@ export default function McpSection() {<Alertvariant="light"color="blue"- icon={- <LocalIcon icon="info-rounded" width="1rem" height="1rem" />- }+ icon={<Icon name="info" size="1rem" />}><Groupjustify="space-between"@@ -263,9 +255,7 @@ export default function McpSection() {size="sm"variant="secondary"style={{ flexShrink: 0 }}- leftSection={- <LocalIcon icon="key-rounded" width={14} height={14} />- }+ leftSection={<Icon name="key" size={14} />}onClick={() => openAppSettings("api-keys")}>{t("config.mcp.viewApiKeys", "View API keys")}diff --git a/frontend/editor/src/saas/components/shared/config/saasConfigNavSections.tsx b/frontend/editor/src/saas/components/shared/config/saasConfigNavSections.tsxindex 9d5822230b..73512e1b81 100644--- a/frontend/editor/src/saas/components/shared/config/saasConfigNavSections.tsx+++ b/frontend/editor/src/saas/components/shared/config/saasConfigNavSections.tsx@@ -4,6 +4,7 @@ import {createConfigNavSections as createCoreConfigNavSections,type ConfigNavSection,} from "@core/components/shared/config/configNavSections";+import type { ConfigNavItem } from "@app/components/shared/config/types";import HotkeysSection from "@app/components/shared/config/configSections/HotkeysSection";import GeneralSection from "@app/components/shared/config/configSections/GeneralSection";import PreferencesSection from "@core/components/shared/config/configSections/preferences/PreferencesSection";@@ -42,13 +43,13 @@ function ensurePreferencesSection({key: "general",label: "General",- icon: "settings-rounded",+ icon: "settings",component: <GeneralSection />,},{key: "hotkeys",label: "Keyboard Shortcuts",- icon: "keyboard-rounded",+ icon: "keyboard",component: <HotkeysSection />,},],@@ -80,7 +81,7 @@ function appendDeveloperSection({key: "api-keys",label: "API Keys",- icon: "key-rounded",+ icon: "key",component: <ApiKeys />,},],@@ -119,14 +120,14 @@ function appendMcpSection(return sections;}- const mcpItem = {+ const mcpItem: ConfigNavItem = {key: "mcp" as const,label: t("config.mcp.navLabel", "MCP Server"),description: t("config.mcp.description","Model Context Protocol (MCP) lets AI assistants like Claude use your Stirling PDF tools directly. Connect a client once and your assistant can convert, edit, secure and process documents on your behalf.",),- icon: "smart-toy-rounded",+ icon: "bot",component: <McpSection />,};@@ -168,7 +169,7 @@ function appendHelpSection({key: "help" as const,label: t("settings.help.label", "Tours"),- icon: "help-rounded",+ icon: "circle-question-mark",component: (<HelpSection isAdmin={false} onRequestClose={onRequestClose} />),@@ -200,7 +201,7 @@ function appendLegalSection({key: "legal" as const,label: t("settings.legal.label", "Legal"),- icon: "gavel-rounded",+ icon: "gavel",component: <LegalSection />,},],@@ -226,7 +227,7 @@ export function createSaasConfigNavSections({key: "overview",label: t("config.account.overview.label", "Overview"),- icon: "account-circle",+ icon: "circle-user",component: <Overview onLogoutClick={onLogoutClick} />,},{diff --git a/frontend/editor/src/saas/routes/ConnectApproveView.tsx b/frontend/editor/src/saas/routes/ConnectApproveView.tsxindex ee67762565..c0208f5daf 100644--- a/frontend/editor/src/saas/routes/ConnectApproveView.tsx+++ b/frontend/editor/src/saas/routes/ConnectApproveView.tsx@@ -1,7 +1,7 @@import { useState, type ReactNode } from "react";import { useTranslation } from "@app/hooks/useTranslation";import { Banner, Button, Checkbox, Spinner } from "@app/ui";-import { LocalIcon } from "@app/components/shared/LocalIcon";+import { Icon } from "@app/ui/Icon";import { Tooltip } from "@app/components/shared/Tooltip";import { StepModalHeader } from "@app/portal/components/shared/StepModalHeader";@@ -218,7 +218,7 @@ export function ConnectApproveView({"Not an encrypted address",)}>- <LocalIcon icon="warning-rounded" width="1rem" />+ <Icon name="triangle-alert" size="1rem" /></span></Tooltip>) : null}diff --git a/frontend/editor/src/saas/routes/Login.tsx b/frontend/editor/src/saas/routes/Login.tsxindex 9b34468285..8071563103 100644--- a/frontend/editor/src/saas/routes/Login.tsx+++ b/frontend/editor/src/saas/routes/Login.tsx@@ -19,7 +19,7 @@ import {rememberPendingDestination,takePendingDestination,} from "@app/services/pendingDestination";-import LinkRoundedIcon from "@mui/icons-material/LinkRounded";+import { Icon } from "@app/ui/Icon";// Import login componentsimport ErrorMessage from "@app/auth/ui/ErrorMessage";@@ -323,7 +323,8 @@ export default function Login() {className={`oauth-button-fullwidth auth-expandable-trigger ${showMagicLinkForm ? "auth-expandable-trigger--active" : ""}`}><span className="oauth-btn-group">- <LinkRoundedIcon+ <Icon+ name="link"style={{width: "1.75rem",height: "1.75rem",