@namespace Lumeo.Docs.Shared
@using Blazicons
@using Lumeo.Docs.Services
@inject IconService _iconService
@implements IDisposable

<Blazicon Svg="@GetIcon()" class="@Class" />

@code {
    [Parameter] public string Name { get; set; } = "Circle";
    [Parameter] public string? Class { get; set; }
    [Parameter(CaptureUnmatchedValues = true)] public Dictionary<string, object>? AdditionalAttributes { get; set; }

    protected override void OnInitialized()
    {
        _iconService.OnChange += OnIconLibraryChanged;
    }

    private void OnIconLibraryChanged()
    {
        InvokeAsync(StateHasChanged);
    }

    public void Dispose()
    {
        _iconService.OnChange -= OnIconLibraryChanged;
    }

    private SvgIcon GetIcon()
    {
        return _iconService.ActiveLibrary switch
        {
            "bootstrap" => GetBootstrapIcon(),
            "fluentui" => GetFluentUiIcon(),
            "font-awesome" => GetFontAwesomeIcon(),
            "google-material" => GetGoogleMaterialIcon(),
            "ionicons" => GetIonicon(),
            "material-design" => GetMdiIcon(),
            // Devicon and FlagIcons don't have UI icons (they're brand logos and country flags),
            // so fall back to Lucide icons for those libraries.
            _ => GetLucideIcon()
        };
    }

    private SvgIcon GetLucideIcon() => Name switch
    {
        "Accessibility" => Lucide.Accessibility,
        "Activity" => Lucide.Activity,
        "AlignCenter" => Lucide.AlignCenterHorizontal,
        "AlignLeft" => Lucide.AlignStartHorizontal,
        "AlignRight" => Lucide.AlignEndHorizontal,
        "Apple" => Lucide.Apple,
        "Archive" => Lucide.Archive,
        "ArrowDown" => Lucide.ArrowDown,
        "ArrowLeft" => Lucide.ArrowLeft,
        "ArrowRight" => Lucide.ArrowRight,
        "ArrowUp" => Lucide.ArrowUp,
        "ArrowUpDown" => Lucide.ArrowUpDown,
        "BadgeCheck" => Lucide.BadgeCheck,
        "BarChart2" => Lucide.ChartBar,
        "BarChart3" => Lucide.ChartBar,
        "Bookmark" => Lucide.Bookmark,
        "BookmarkCheck" => Lucide.BookmarkCheck,
        "Bell" => Lucide.Bell,
        "BellOff" => Lucide.BellOff,
        "Blocks" => Lucide.Blocks,
        "Bold" => Lucide.Bold,
        "Box" => Lucide.Box,
        "Calendar" => Lucide.Calendar,
        "CalendarDays" => Lucide.CalendarDays,
        "CalendarPlus" => Lucide.CalendarPlus,
        "Camera" => Lucide.Camera,
        "ChartBar" => Lucide.ChartBar,
        "Check" => Lucide.Check,
        "CheckCheck" => Lucide.CheckCheck,
        "CheckCircle" => Lucide.CircleCheck,
        "CheckCircle2" => Lucide.CircleCheck,
        "CheckSquare" => Lucide.SquareCheck,
        "ChevronDown" => Lucide.ChevronDown,
        "ChevronLeft" => Lucide.ChevronLeft,
        "ChevronRight" => Lucide.ChevronRight,
        "ChevronUp" => Lucide.ChevronUp,
        "ChevronsUpDown" => Lucide.ChevronsUpDown,
        "Chrome" => Lucide.Globe,
        "CircleAlert" => Lucide.CircleAlert,
        "CircleCheck" => Lucide.CircleCheck,
        "CircleDot" => Lucide.CircleDot,
        "Clipboard" => Lucide.Clipboard,
        "ClipboardList" => Lucide.ClipboardList,
        "Clock" => Lucide.Clock,
        "Code" => Lucide.Code,
        "Code2" => Lucide.Code,
        "Columns3" => Lucide.Columns3,
        "Compass" => Lucide.Compass,
        "CornerUpLeft" => Lucide.CornerUpLeft,
        "Copy" => Lucide.Copy,
        "CreditCard" => Lucide.CreditCard,
        "Disc" => Lucide.Disc2,
        "Download" => Lucide.Download,
        "Ellipsis" => Lucide.Ellipsis,
        "ExternalLink" => Lucide.ExternalLink,
        "Eye" => Lucide.Eye,
        "FileEdit" => Lucide.FilePen,
        "FileText" => Lucide.FileText,
        "Filter" => Lucide.ListFilter,
        "Flag" => Lucide.Flag,
        "Folder" => Lucide.Folder,
        "FolderGit2" => Lucide.FolderGit2,
        "FolderOpen" => Lucide.FolderOpen,
        "FolderPlus" => Lucide.FolderPlus,
        "FolderUp" => Lucide.FolderUp,
        "Forward" => Lucide.Forward,
        "Github" => Lucide.Github,
        "Globe" => Lucide.Globe,
        "Heart" => Lucide.Heart,
        "Home" => Lucide.House,
        "House" => Lucide.House,
        "Image" => Lucide.Image,
        "Inbox" => Lucide.Inbox,
        "Info" => Lucide.Info,
        "Italic" => Lucide.Italic,
        "Key" => Lucide.Key,
        "Languages" => Lucide.Languages,
        "Layers" => Lucide.Layers,
        "LayoutDashboard" => Lucide.LayoutDashboard,
        "LayoutGrid" => Lucide.LayoutGrid,
        "LayoutList" => Lucide.LayoutList,
        "LayoutTemplate" => Lucide.LayoutTemplate,
        "Lightbulb" => Lucide.Lightbulb,
        "Link" => Lucide.Link,
        "List" => Lucide.List,
        "ListMusic" => Lucide.ListMusic,
        "Loader" => Lucide.Loader,
        "LoaderCircle" => Lucide.LoaderCircle,
        "Lock" => Lucide.Lock,
        "LogIn" => Lucide.LogIn,
        "LogOut" => Lucide.LogOut,
        "Mail" => Lucide.Mail,
        "MapPin" => Lucide.MapPin,
        "Menu" => Lucide.Menu,
        "MessageCircle" => Lucide.MessageCircle,
        "MessageSquare" => Lucide.MessageSquare,
        "Mic" => Lucide.Mic,
        "Minus" => Lucide.Minus,
        "Monitor" => Lucide.Monitor,
        "Moon" => Lucide.Moon,
        "MoreHorizontal" => Lucide.Ellipsis,
        "MousePointerClick" => Lucide.MousePointerClick,
        "Music" => Lucide.Music,
        "Navigation" => Lucide.Navigation,
        "Package" => Lucide.Package,
        "Paintbrush" => Lucide.Paintbrush,
        "Palette" => Lucide.Palette,
        "PanelRightClose" => Lucide.PanelRightClose,
        "PanelRightOpen" => Lucide.PanelRightOpen,
        "Paperclip" => Lucide.Paperclip,
        "Pause" => Lucide.Pause,
        "Pencil" => Lucide.Pencil,
        "PenLine" => Lucide.PenLine,
        "Phone" => Lucide.Phone,
        "Pin" => Lucide.Pin,
        "Play" => Lucide.Play,
        "Plus" => Lucide.Plus,
        "Radio" => Lucide.Radio,
        "RefreshCw" => Lucide.RefreshCw,
        "Repeat" => Lucide.Repeat,
        "Rocket" => Lucide.Rocket,
        "RotateCcw" => Lucide.RotateCcw,
        "Search" => Lucide.Search,
        "SearchX" => Lucide.SearchX,
        "Send" => Lucide.Send,
        "ServerCog" => Lucide.ServerCog,
        "Settings" => Lucide.Settings,
        "Settings2" => Lucide.Settings2,
        "Share" => Lucide.Share,
        "Share2" => Lucide.Share2,
        "Shield" => Lucide.Shield,
        "ShieldAlert" => Lucide.ShieldAlert,
        "ShieldCheck" => Lucide.ShieldCheck,
        "ShoppingBag" => Lucide.ShoppingBag,
        "ShoppingCart" => Lucide.ShoppingCart,
        "Shuffle" => Lucide.Shuffle,
        "SkipBack" => Lucide.SkipBack,
        "SkipForward" => Lucide.SkipForward,
        "Slash" => Lucide.Slash,
        "SlidersHorizontal" => Lucide.SlidersHorizontal,
        "Smartphone" => Lucide.Smartphone,
        "Smile" => Lucide.Smile,
        "Sparkles" => Lucide.Sparkles,
        "Square" => Lucide.Square,
        "SquareMousePointer" => Lucide.SquareMousePointer,
        "SquarePen" => Lucide.SquarePen,
        "Star" => Lucide.Star,
        "Sun" => Lucide.Sun,
        "Table2" => Lucide.Table,
        "Tag" => Lucide.Tag,
        "Target" => Lucide.Target,
        "TerminalSquare" => Lucide.SquareTerminal,
        "TestTube" => Lucide.TestTube,
        "Trash" => Lucide.Trash,
        "Trash2" => Lucide.Trash2,
        "TrendingDown" => Lucide.TrendingDown,
        "TrendingUp" => Lucide.TrendingUp,
        "TriangleAlert" => Lucide.TriangleAlert,
        "Underline" => Lucide.Underline,
        "Upload" => Lucide.Upload,
        "User" => Lucide.User,
        "UserMinus" => Lucide.UserMinus,
        "UserPlus" => Lucide.UserPlus,
        "Users" => Lucide.Users,
        "Video" => Lucide.Video,
        "Volume" => Lucide.Volume,
        "Volume1" => Lucide.Volume1,
        "Volume2" => Lucide.Volume2,
        "Wrench" => Lucide.Wrench,
        "BookOpen" => Lucide.BookOpen,
        "Component" => Lucide.Component,
        "Puzzle" => Lucide.Puzzle,
        "Cog" => Lucide.Cog,
        "Hammer" => Lucide.Hammer,
        "Terminal" => Lucide.Terminal,
        "Server" => Lucide.Server,
        "Database" => Lucide.Database,
        "Cloud" => Lucide.Cloud,
        "FileCode" => Lucide.FileCode,
        "Wand" => Lucide.Wand,
        "PanelLeft" => Lucide.PanelLeft,
        "SidebarOpen" => Lucide.PanelLeftOpen,
        "SidebarClose" => Lucide.PanelLeftClose,
        "X" => Lucide.X,
        "Zap" => Lucide.Zap,
        _ => Lucide.Circle
    };

    private SvgIcon GetBootstrapIcon() => Name switch
    {
        // Bootstrap icons use Pascal case. AlignLeft/Right don't exist; use TextLeft/TextRight.
        // Accessibility doesn't exist; use UniversalAccess.
        "Accessibility" => BootstrapIcon.UniversalAccess,
        "Activity" => BootstrapIcon.Activity,
        "AlignCenter" => BootstrapIcon.AlignCenter,
        "AlignLeft" => BootstrapIcon.TextLeft,
        "AlignRight" => BootstrapIcon.TextRight,
        "Apple" => BootstrapIcon.Apple,
        "Archive" => BootstrapIcon.Archive,
        "ArrowDown" => BootstrapIcon.ArrowDown,
        "ArrowLeft" => BootstrapIcon.ArrowLeft,
        "ArrowRight" => BootstrapIcon.ArrowRight,
        "ArrowUp" => BootstrapIcon.ArrowUp,
        "ArrowUpDown" => BootstrapIcon.ArrowDownUp,
        "BadgeCheck" => BootstrapIcon.PatchCheck,
        "BarChart2" => BootstrapIcon.BarChart,
        "BarChart3" => BootstrapIcon.BarChartLine,
        "Bookmark" => BootstrapIcon.Bookmark,
        "BookmarkCheck" => BootstrapIcon.BookmarkCheck,
        "Bell" => BootstrapIcon.Bell,
        "BellOff" => BootstrapIcon.BellSlash,
        "Blocks" => BootstrapIcon.Grid3x3,
        "Bold" => BootstrapIcon.TypeBold,
        "Box" => BootstrapIcon.Box,
        "Calendar" => BootstrapIcon.Calendar,
        "CalendarDays" => BootstrapIcon.CalendarDate,
        "CalendarPlus" => BootstrapIcon.CalendarPlus,
        "Camera" => BootstrapIcon.Camera,
        "ChartBar" => BootstrapIcon.BarChart,
        "Check" => BootstrapIcon.Check,
        "CheckCheck" => BootstrapIcon.CheckAll,
        "CheckCircle" => BootstrapIcon.CheckCircle,
        "CheckCircle2" => BootstrapIcon.CheckCircle,
        "CheckSquare" => BootstrapIcon.CheckSquare,
        "ChevronDown" => BootstrapIcon.ChevronDown,
        "ChevronLeft" => BootstrapIcon.ChevronLeft,
        "ChevronRight" => BootstrapIcon.ChevronRight,
        "ChevronUp" => BootstrapIcon.ChevronUp,
        "ChevronsUpDown" => BootstrapIcon.ChevronExpand,
        "Chrome" => BootstrapIcon.Globe,
        "CircleAlert" => BootstrapIcon.ExclamationCircle,
        "CircleCheck" => BootstrapIcon.CheckCircle,
        "CircleDot" => BootstrapIcon.RecordCircle,
        "Clipboard" => BootstrapIcon.Clipboard,
        "ClipboardList" => BootstrapIcon.ClipboardData,
        "Clock" => BootstrapIcon.Clock,
        "Code" => BootstrapIcon.Code,
        "Code2" => BootstrapIcon.CodeSlash,
        "Columns3" => BootstrapIcon.LayoutThreeColumns,
        "Compass" => BootstrapIcon.Compass,
        "Copy" => BootstrapIcon.Copy,
        "CornerUpLeft" => BootstrapIcon.ArrowReturnLeft,
        "CreditCard" => BootstrapIcon.CreditCard,
        "Disc" => BootstrapIcon.Disc,
        "Download" => BootstrapIcon.Download,
        "Ellipsis" => BootstrapIcon.ThreeDots,
        "ExternalLink" => BootstrapIcon.BoxArrowUpRight,
        "Eye" => BootstrapIcon.Eye,
        "FileEdit" => BootstrapIcon.FileEarmarkText,
        "FileText" => BootstrapIcon.FileText,
        "Filter" => BootstrapIcon.Funnel,
        "Flag" => BootstrapIcon.Flag,
        "Folder" => BootstrapIcon.Folder,
        "FolderGit2" => BootstrapIcon.Folder,
        "FolderOpen" => BootstrapIcon.FolderFill,
        "FolderPlus" => BootstrapIcon.FolderPlus,
        "FolderUp" => BootstrapIcon.FolderSymlink,
        "Forward" => BootstrapIcon.Forward,
        "Github" => BootstrapIcon.Github,
        "Globe" => BootstrapIcon.Globe,
        "Heart" => BootstrapIcon.Heart,
        "Home" => BootstrapIcon.House,
        "House" => BootstrapIcon.House,
        "Image" => BootstrapIcon.Image,
        "Inbox" => BootstrapIcon.Inbox,
        "Info" => BootstrapIcon.InfoCircle,
        "Italic" => BootstrapIcon.TypeItalic,
        "Key" => BootstrapIcon.Key,
        "Languages" => BootstrapIcon.Translate,
        "Layers" => BootstrapIcon.Layers,
        "LayoutDashboard" => BootstrapIcon.Grid1x2,
        "LayoutGrid" => BootstrapIcon.Grid,
        "LayoutList" => BootstrapIcon.ListUl,
        "LayoutTemplate" => BootstrapIcon.LayoutSidebar,
        "Lightbulb" => BootstrapIcon.Lightbulb,
        "Link" => BootstrapIcon.Link,
        "List" => BootstrapIcon.ListUl,
        "ListMusic" => BootstrapIcon.MusicNoteList,
        "Loader" => BootstrapIcon.ArrowRepeat,
        "LoaderCircle" => BootstrapIcon.ArrowClockwise,
        "Lock" => BootstrapIcon.Lock,
        "LogIn" => BootstrapIcon.BoxArrowInRight,
        "LogOut" => BootstrapIcon.BoxArrowRight,
        "Mail" => BootstrapIcon.Envelope,
        "MapPin" => BootstrapIcon.GeoAlt,
        "Menu" => BootstrapIcon.List,
        "MessageCircle" => BootstrapIcon.Chat,
        "MessageSquare" => BootstrapIcon.ChatSquare,
        "Mic" => BootstrapIcon.Mic,
        "Minus" => BootstrapIcon.Dash,
        "Monitor" => BootstrapIcon.Display,
        "Moon" => BootstrapIcon.Moon,
        "MoreHorizontal" => BootstrapIcon.ThreeDots,
        "MousePointerClick" => BootstrapIcon.CursorFill,
        "Music" => BootstrapIcon.MusicNoteBeamed,
        "Navigation" => BootstrapIcon.Compass,
        "Package" => BootstrapIcon.BoxSeam,
        "Paintbrush" => BootstrapIcon.Brush,
        "Palette" => BootstrapIcon.Palette,
        "PanelRightClose" => BootstrapIcon.LayoutSidebarReverse,
        "PanelRightOpen" => BootstrapIcon.LayoutSidebarReverse,
        "Paperclip" => BootstrapIcon.Paperclip,
        "Pause" => BootstrapIcon.PauseFill,
        "Pencil" => BootstrapIcon.Pencil,
        "PenLine" => BootstrapIcon.PenFill,
        "Phone" => BootstrapIcon.Phone,
        "Pin" => BootstrapIcon.Pin,
        "Play" => BootstrapIcon.Play,
        "Plus" => BootstrapIcon.Plus,
        "Radio" => BootstrapIcon.BroadcastPin,
        "RefreshCw" => BootstrapIcon.ArrowRepeat,
        "Repeat" => BootstrapIcon.Repeat,
        "Rocket" => BootstrapIcon.Rocket,
        "RotateCcw" => BootstrapIcon.ArrowCounterclockwise,
        "Search" => BootstrapIcon.Search,
        "SearchX" => BootstrapIcon.Search,
        "Send" => BootstrapIcon.Send,
        "ServerCog" => BootstrapIcon.Server,
        "Settings" => BootstrapIcon.Gear,
        "Settings2" => BootstrapIcon.Sliders,
        "Share" => BootstrapIcon.Share,
        "Share2" => BootstrapIcon.Share,
        "Shield" => BootstrapIcon.Shield,
        "ShieldAlert" => BootstrapIcon.ShieldExclamation,
        "ShieldCheck" => BootstrapIcon.ShieldCheck,
        "ShoppingBag" => BootstrapIcon.Bag,
        "ShoppingCart" => BootstrapIcon.Cart3,
        "Shuffle" => BootstrapIcon.Shuffle,
        "SkipBack" => BootstrapIcon.SkipStartFill,
        "SkipForward" => BootstrapIcon.SkipEndFill,
        "Slash" => BootstrapIcon.Slash,
        "SlidersHorizontal" => BootstrapIcon.Sliders,
        "Smartphone" => BootstrapIcon.Phone,
        "Smile" => BootstrapIcon.EmojiSmile,
        "Sparkles" => BootstrapIcon.Stars,
        "Square" => BootstrapIcon.Square,
        "SquareMousePointer" => BootstrapIcon.CursorFill,
        "SquarePen" => BootstrapIcon.PencilSquare,
        "Star" => BootstrapIcon.Star,
        "Sun" => BootstrapIcon.Sun,
        "Table2" => BootstrapIcon.Table,
        "Tag" => BootstrapIcon.Tag,
        "Target" => BootstrapIcon.Bullseye,
        "TerminalSquare" => BootstrapIcon.TerminalFill,
        "TestTube" => BootstrapIcon.Eyedropper,
        "Trash" => BootstrapIcon.Trash,
        "Trash2" => BootstrapIcon.Trash,
        "TrendingDown" => BootstrapIcon.GraphDown,
        "TrendingUp" => BootstrapIcon.GraphUp,
        "TriangleAlert" => BootstrapIcon.ExclamationTriangle,
        "Underline" => BootstrapIcon.TypeUnderline,
        "Upload" => BootstrapIcon.Upload,
        "User" => BootstrapIcon.Person,
        "UserMinus" => BootstrapIcon.PersonDash,
        "UserPlus" => BootstrapIcon.PersonPlus,
        "Users" => BootstrapIcon.People,
        "Video" => BootstrapIcon.CameraVideo,
        "Volume" => BootstrapIcon.VolumeUp,
        "Volume1" => BootstrapIcon.VolumeDown,
        "Volume2" => BootstrapIcon.VolumeUp,
        "X" => BootstrapIcon.X,
        "Zap" => BootstrapIcon.Lightning,
        _ => BootstrapIcon.Circle
    };

    private SvgIcon GetFluentUiIcon() => Name switch
    {
        "Accessibility" => FluentUiIcon.Accessibility,
        "Activity" => FluentUiIcon.PulseSquare,
        "AlignCenter" => FluentUiIcon.TextAlignCenter,
        "AlignLeft" => FluentUiIcon.AlignLeft,
        "AlignRight" => FluentUiIcon.AlignRight,
        "Apple" => FluentUiIcon.FoodApple,
        "Archive" => FluentUiIcon.Archive,
        "ArrowDown" => FluentUiIcon.ArrowDown,
        "ArrowLeft" => FluentUiIcon.ArrowLeft,
        "ArrowRight" => FluentUiIcon.ArrowRight,
        "ArrowUp" => FluentUiIcon.ArrowUp,
        "ArrowUpDown" => FluentUiIcon.ArrowSort,
        "BadgeCheck" => FluentUiIcon.CheckmarkStarburst,
        "BarChart2" => FluentUiIcon.DataBarVertical,
        "BarChart3" => FluentUiIcon.DataBarVertical,
        "Bookmark" => FluentUiIcon.Bookmark,
        "BookmarkCheck" => FluentUiIcon.BookmarkAdd,
        "Bell" => FluentUiIcon.Alert,
        "BellOff" => FluentUiIcon.AlertOff,
        "Blocks" => FluentUiIcon.Grid,
        "Bold" => FluentUiIcon.TextBold,
        "Box" => FluentUiIcon.Box,
        "Calendar" => FluentUiIcon.Calendar,
        "CalendarDays" => FluentUiIcon.CalendarLtr,
        "CalendarPlus" => FluentUiIcon.CalendarAdd,
        "Camera" => FluentUiIcon.Camera,
        "ChartBar" => FluentUiIcon.DataBarVertical,
        "Check" => FluentUiIcon.Checkmark,
        "CheckCheck" => FluentUiIcon.CheckmarkCircle,
        "CheckCircle" => FluentUiIcon.CheckmarkCircle,
        "CheckCircle2" => FluentUiIcon.CheckmarkCircle,
        "CheckSquare" => FluentUiIcon.CheckboxChecked,
        "ChevronDown" => FluentUiIcon.ChevronDown,
        "ChevronLeft" => FluentUiIcon.ChevronLeft,
        "ChevronRight" => FluentUiIcon.ChevronRight,
        "ChevronUp" => FluentUiIcon.ChevronUp,
        "ChevronsUpDown" => FluentUiIcon.ChevronUpDown,
        "Chrome" => FluentUiIcon.Globe,
        "CircleAlert" => FluentUiIcon.ErrorCircle,
        "CircleCheck" => FluentUiIcon.CheckmarkCircle,
        "CircleDot" => FluentUiIcon.RadioButton,
        "Clipboard" => FluentUiIcon.Clipboard,
        "ClipboardList" => FluentUiIcon.Clipboard,
        "Clock" => FluentUiIcon.Clock,
        "Code" => FluentUiIcon.Code,
        "Code2" => FluentUiIcon.Code,
        "Columns3" => FluentUiIcon.Grid,
        "Compass" => FluentUiIcon.Navigation,
        "Copy" => FluentUiIcon.Copy,
        "CornerUpLeft" => FluentUiIcon.ArrowReply,
        "CreditCard" => FluentUiIcon.WalletCreditCard,
        "Disc" => FluentUiIcon.MusicNote2,
        "Download" => FluentUiIcon.ArrowDownload,
        "Ellipsis" => FluentUiIcon.MoreHorizontal,
        "ExternalLink" => FluentUiIcon.Open,
        "Eye" => FluentUiIcon.Eye,
        "FileEdit" => FluentUiIcon.DocumentEdit,
        "FileText" => FluentUiIcon.Document,
        "Filter" => FluentUiIcon.Filter,
        "Flag" => FluentUiIcon.Flag,
        "Folder" => FluentUiIcon.Folder,
        "FolderGit2" => FluentUiIcon.FolderLink,
        "FolderOpen" => FluentUiIcon.FolderOpen,
        "FolderPlus" => FluentUiIcon.FolderAdd,
        "FolderUp" => FluentUiIcon.FolderArrowUp,
        "Forward" => FluentUiIcon.ArrowForward,
        "Github" => FluentUiIcon.Code,
        "Globe" => FluentUiIcon.Globe,
        "Heart" => FluentUiIcon.Heart,
        "Home" => FluentUiIcon.Home,
        "House" => FluentUiIcon.Home,
        "Image" => FluentUiIcon.Image,
        "Inbox" => FluentUiIcon.Mail,
        "Info" => FluentUiIcon.Info,
        "Italic" => FluentUiIcon.TextItalic,
        "Key" => FluentUiIcon.Key,
        "Languages" => FluentUiIcon.Translate,
        "Layers" => FluentUiIcon.Layer,
        "LayoutDashboard" => FluentUiIcon.Grid,
        "LayoutGrid" => FluentUiIcon.Grid,
        "LayoutList" => FluentUiIcon.TextBulletListLtr,
        "LayoutTemplate" => FluentUiIcon.LayoutColumnTwoSplitLeft,
        "Lightbulb" => FluentUiIcon.Lightbulb,
        "Link" => FluentUiIcon.Link,
        "List" => FluentUiIcon.TextBulletListLtr,
        "ListMusic" => FluentUiIcon.MusicNote1,
        "Loader" => FluentUiIcon.ArrowSync,
        "LoaderCircle" => FluentUiIcon.ArrowSync,
        "Lock" => FluentUiIcon.LockClosed,
        "LogIn" => FluentUiIcon.ArrowRight,
        "LogOut" => FluentUiIcon.SignOut,
        "Mail" => FluentUiIcon.Mail,
        "MapPin" => FluentUiIcon.Location,
        "Menu" => FluentUiIcon.Navigation,
        "MessageCircle" => FluentUiIcon.Chat,
        "MessageSquare" => FluentUiIcon.Chat,
        "Mic" => FluentUiIcon.Mic,
        "Minus" => FluentUiIcon.Subtract,
        "Monitor" => FluentUiIcon.Desktop,
        "Moon" => FluentUiIcon.WeatherMoon,
        "MoreHorizontal" => FluentUiIcon.MoreHorizontal,
        "MousePointerClick" => FluentUiIcon.CursorClick,
        "Music" => FluentUiIcon.MusicNote1,
        "Navigation" => FluentUiIcon.Navigation,
        "Package" => FluentUiIcon.Cube,
        "Paintbrush" => FluentUiIcon.PaintBrush,
        "Palette" => FluentUiIcon.Color,
        "PanelRightClose" => FluentUiIcon.PanelRightContract,
        "PanelRightOpen" => FluentUiIcon.PanelRight,
        "Paperclip" => FluentUiIcon.Attach,
        "Pause" => FluentUiIcon.Pause,
        "Pencil" => FluentUiIcon.Edit,
        "PenLine" => FluentUiIcon.Pen,
        "Phone" => FluentUiIcon.Phone,
        "Pin" => FluentUiIcon.Pin,
        "Play" => FluentUiIcon.Play,
        "Plus" => FluentUiIcon.Add,
        "Radio" => FluentUiIcon.Speaker2,
        "RefreshCw" => FluentUiIcon.ArrowSync,
        "Repeat" => FluentUiIcon.ArrowRepeatAll,
        "Rocket" => FluentUiIcon.Rocket,
        "RotateCcw" => FluentUiIcon.ArrowCounterclockwise,
        "Search" => FluentUiIcon.Search,
        "SearchX" => FluentUiIcon.Search,
        "Send" => FluentUiIcon.Send,
        "ServerCog" => FluentUiIcon.Server,
        "Settings" => FluentUiIcon.Settings,
        "Settings2" => FluentUiIcon.Options,
        "Share" => FluentUiIcon.Share,
        "Share2" => FluentUiIcon.Share,
        "Shield" => FluentUiIcon.Shield,
        "ShieldAlert" => FluentUiIcon.ShieldError,
        "ShieldCheck" => FluentUiIcon.ShieldCheckmark,
        "ShoppingBag" => FluentUiIcon.ShoppingBag,
        "ShoppingCart" => FluentUiIcon.Cart,
        "Shuffle" => FluentUiIcon.ArrowShuffle,
        "SkipBack" => FluentUiIcon.Previous,
        "SkipForward" => FluentUiIcon.Next,
        "Slash" => FluentUiIcon.Line,
        "SlidersHorizontal" => FluentUiIcon.Options,
        "Smartphone" => FluentUiIcon.Phone,
        "Smile" => FluentUiIcon.Emoji,
        "Sparkles" => FluentUiIcon.Sparkle,
        "Square" => FluentUiIcon.Square,
        "SquareMousePointer" => FluentUiIcon.CursorClick,
        "SquarePen" => FluentUiIcon.Edit,
        "Star" => FluentUiIcon.Star,
        "Sun" => FluentUiIcon.WeatherSunny,
        "Table2" => FluentUiIcon.Table,
        "Tag" => FluentUiIcon.Tag,
        "Target" => FluentUiIcon.Target,
        "TerminalSquare" => FluentUiIcon.WindowDevTools,
        "TestTube" => FluentUiIcon.Beaker,
        "Trash" => FluentUiIcon.Delete,
        "Trash2" => FluentUiIcon.Delete,
        "TrendingDown" => FluentUiIcon.ArrowDown,
        "TrendingUp" => FluentUiIcon.ArrowUp,
        "TriangleAlert" => FluentUiIcon.Warning,
        "Underline" => FluentUiIcon.TextUnderline,
        "Upload" => FluentUiIcon.ArrowUpload,
        "User" => FluentUiIcon.Person,
        "UserMinus" => FluentUiIcon.PersonSubtract,
        "UserPlus" => FluentUiIcon.PersonAdd,
        "Users" => FluentUiIcon.People,
        "Video" => FluentUiIcon.Video,
        "Volume" => FluentUiIcon.Speaker2,
        "Volume1" => FluentUiIcon.Speaker1,
        "Volume2" => FluentUiIcon.Speaker2,
        "X" => FluentUiIcon.Dismiss,
        "Zap" => FluentUiIcon.Flash,
        _ => FluentUiIcon.Circle
    };

    private SvgIcon GetFontAwesomeIcon() => Name switch
    {
        "Accessibility" => FontAwesomeSolidIcon.UniversalAccess,
        "Activity" => FontAwesomeSolidIcon.HeartPulse,
        "AlignCenter" => FontAwesomeSolidIcon.AlignCenter,
        "AlignLeft" => FontAwesomeSolidIcon.AlignLeft,
        "AlignRight" => FontAwesomeSolidIcon.AlignRight,
        "Apple" => FontAwesomeSolidIcon.AppleWhole,
        "Archive" => FontAwesomeSolidIcon.BoxArchive,
        "ArrowDown" => FontAwesomeSolidIcon.ArrowDown,
        "ArrowLeft" => FontAwesomeSolidIcon.ArrowLeft,
        "ArrowRight" => FontAwesomeSolidIcon.ArrowRight,
        "ArrowUp" => FontAwesomeSolidIcon.ArrowUp,
        "ArrowUpDown" => FontAwesomeSolidIcon.ArrowDownUpAcrossLine,
        "BadgeCheck" => FontAwesomeSolidIcon.CircleCheck,
        "BarChart2" => FontAwesomeSolidIcon.ChartBar,
        "BarChart3" => FontAwesomeSolidIcon.ChartSimple,
        "Bookmark" => FontAwesomeSolidIcon.Bookmark,
        "BookmarkCheck" => FontAwesomeSolidIcon.Bookmark,
        "Bell" => FontAwesomeSolidIcon.Bell,
        "BellOff" => FontAwesomeSolidIcon.BellSlash,
        "Blocks" => FontAwesomeSolidIcon.Cubes,
        "Bold" => FontAwesomeSolidIcon.Bold,
        "Box" => FontAwesomeSolidIcon.Box,
        "Calendar" => FontAwesomeSolidIcon.Calendar,
        "CalendarDays" => FontAwesomeSolidIcon.CalendarDays,
        "CalendarPlus" => FontAwesomeSolidIcon.CalendarPlus,
        "Camera" => FontAwesomeSolidIcon.Camera,
        "ChartBar" => FontAwesomeSolidIcon.ChartBar,
        "Check" => FontAwesomeSolidIcon.Check,
        "CheckCheck" => FontAwesomeSolidIcon.CheckDouble,
        "CheckCircle" => FontAwesomeSolidIcon.CircleCheck,
        "CheckCircle2" => FontAwesomeSolidIcon.CircleCheck,
        "CheckSquare" => FontAwesomeSolidIcon.SquareCheck,
        "ChevronDown" => FontAwesomeSolidIcon.ChevronDown,
        "ChevronLeft" => FontAwesomeSolidIcon.ChevronLeft,
        "ChevronRight" => FontAwesomeSolidIcon.ChevronRight,
        "ChevronUp" => FontAwesomeSolidIcon.ChevronUp,
        "ChevronsUpDown" => FontAwesomeSolidIcon.UpDown,
        "Chrome" => FontAwesomeSolidIcon.Globe,
        "CircleAlert" => FontAwesomeSolidIcon.CircleExclamation,
        "CircleCheck" => FontAwesomeSolidIcon.CircleCheck,
        "CircleDot" => FontAwesomeSolidIcon.CircleDot,
        "Clipboard" => FontAwesomeSolidIcon.Clipboard,
        "ClipboardList" => FontAwesomeSolidIcon.ClipboardList,
        "Clock" => FontAwesomeSolidIcon.Clock,
        "Code" => FontAwesomeSolidIcon.Code,
        "Code2" => FontAwesomeSolidIcon.Code,
        "Columns3" => FontAwesomeSolidIcon.TableColumns,
        "Compass" => FontAwesomeSolidIcon.Compass,
        "Copy" => FontAwesomeSolidIcon.Copy,
        "CornerUpLeft" => FontAwesomeSolidIcon.ArrowTurnUp,
        "CreditCard" => FontAwesomeSolidIcon.CreditCard,
        "Disc" => FontAwesomeSolidIcon.RecordVinyl,
        "Download" => FontAwesomeSolidIcon.Download,
        "Ellipsis" => FontAwesomeSolidIcon.Ellipsis,
        "ExternalLink" => FontAwesomeSolidIcon.UpRightFromSquare,
        "Eye" => FontAwesomeSolidIcon.Eye,
        "FileEdit" => FontAwesomeSolidIcon.FilePen,
        "FileText" => FontAwesomeSolidIcon.FileLines,
        "Filter" => FontAwesomeSolidIcon.Filter,
        "Flag" => FontAwesomeSolidIcon.Flag,
        "Folder" => FontAwesomeSolidIcon.Folder,
        "FolderGit2" => FontAwesomeSolidIcon.FolderTree,
        "FolderOpen" => FontAwesomeSolidIcon.FolderOpen,
        "FolderPlus" => FontAwesomeSolidIcon.FolderPlus,
        "FolderUp" => FontAwesomeSolidIcon.FolderTree,
        "Forward" => FontAwesomeSolidIcon.Forward,
        "Github" => FontAwesomeSolidIcon.Code,
        "Globe" => FontAwesomeSolidIcon.Globe,
        "Heart" => FontAwesomeSolidIcon.Heart,
        "Home" => FontAwesomeSolidIcon.House,
        "House" => FontAwesomeSolidIcon.House,
        "Image" => FontAwesomeSolidIcon.Image,
        "Inbox" => FontAwesomeSolidIcon.Inbox,
        "Info" => FontAwesomeSolidIcon.CircleInfo,
        "Italic" => FontAwesomeSolidIcon.Italic,
        "Key" => FontAwesomeSolidIcon.Key,
        "Languages" => FontAwesomeSolidIcon.Language,
        "Layers" => FontAwesomeSolidIcon.LayerGroup,
        "LayoutDashboard" => FontAwesomeSolidIcon.TableColumns,
        "LayoutGrid" => FontAwesomeSolidIcon.TableCells,
        "LayoutList" => FontAwesomeSolidIcon.List,
        "LayoutTemplate" => FontAwesomeSolidIcon.ObjectGroup,
        "Lightbulb" => FontAwesomeSolidIcon.Lightbulb,
        "Link" => FontAwesomeSolidIcon.Link,
        "List" => FontAwesomeSolidIcon.List,
        "ListMusic" => FontAwesomeSolidIcon.Music,
        "Loader" => FontAwesomeSolidIcon.Rotate,
        "LoaderCircle" => FontAwesomeSolidIcon.Spinner,
        "Lock" => FontAwesomeSolidIcon.Lock,
        "LogIn" => FontAwesomeSolidIcon.RightToBracket,
        "LogOut" => FontAwesomeSolidIcon.RightFromBracket,
        "Mail" => FontAwesomeSolidIcon.Envelope,
        "MapPin" => FontAwesomeSolidIcon.LocationDot,
        "Menu" => FontAwesomeSolidIcon.Bars,
        "MessageCircle" => FontAwesomeSolidIcon.CommentDots,
        "MessageSquare" => FontAwesomeSolidIcon.Comment,
        "Mic" => FontAwesomeSolidIcon.Microphone,
        "Minus" => FontAwesomeSolidIcon.Minus,
        "Monitor" => FontAwesomeSolidIcon.Desktop,
        "Moon" => FontAwesomeSolidIcon.Moon,
        "MoreHorizontal" => FontAwesomeSolidIcon.Ellipsis,
        "MousePointerClick" => FontAwesomeSolidIcon.ArrowPointer,
        "Music" => FontAwesomeSolidIcon.Music,
        "Navigation" => FontAwesomeSolidIcon.LocationArrow,
        "Package" => FontAwesomeSolidIcon.Cube,
        "Paintbrush" => FontAwesomeSolidIcon.Paintbrush,
        "Palette" => FontAwesomeSolidIcon.Palette,
        "PanelRightClose" => FontAwesomeSolidIcon.TableColumns,
        "PanelRightOpen" => FontAwesomeSolidIcon.TableColumns,
        "Paperclip" => FontAwesomeSolidIcon.Paperclip,
        "Pause" => FontAwesomeSolidIcon.Pause,
        "Pencil" => FontAwesomeSolidIcon.Pencil,
        "PenLine" => FontAwesomeSolidIcon.Pen,
        "Phone" => FontAwesomeSolidIcon.Phone,
        "Pin" => FontAwesomeSolidIcon.Thumbtack,
        "Play" => FontAwesomeSolidIcon.Play,
        "Plus" => FontAwesomeSolidIcon.Plus,
        "Radio" => FontAwesomeSolidIcon.TowerBroadcast,
        "RefreshCw" => FontAwesomeSolidIcon.ArrowsRotate,
        "Repeat" => FontAwesomeSolidIcon.Repeat,
        "Rocket" => FontAwesomeSolidIcon.Rocket,
        "RotateCcw" => FontAwesomeSolidIcon.RotateLeft,
        "Search" => FontAwesomeSolidIcon.MagnifyingGlass,
        "SearchX" => FontAwesomeSolidIcon.MagnifyingGlass,
        "Send" => FontAwesomeSolidIcon.PaperPlane,
        "ServerCog" => FontAwesomeSolidIcon.Server,
        "Settings" => FontAwesomeSolidIcon.Gear,
        "Settings2" => FontAwesomeSolidIcon.Sliders,
        "Share" => FontAwesomeSolidIcon.ShareNodes,
        "Share2" => FontAwesomeSolidIcon.ShareNodes,
        "Shield" => FontAwesomeSolidIcon.Shield,
        "ShieldAlert" => FontAwesomeSolidIcon.ShieldHalved,
        "ShieldCheck" => FontAwesomeSolidIcon.ShieldHalved,
        "ShoppingBag" => FontAwesomeSolidIcon.ShoppingBag,
        "ShoppingCart" => FontAwesomeSolidIcon.CartShopping,
        "Shuffle" => FontAwesomeSolidIcon.Shuffle,
        "SkipBack" => FontAwesomeSolidIcon.BackwardStep,
        "SkipForward" => FontAwesomeSolidIcon.ForwardStep,
        "Slash" => FontAwesomeSolidIcon.Slash,
        "SlidersHorizontal" => FontAwesomeSolidIcon.Sliders,
        "Smartphone" => FontAwesomeSolidIcon.MobileScreen,
        "Smile" => FontAwesomeSolidIcon.FaceSmile,
        "Sparkles" => FontAwesomeSolidIcon.WandMagicSparkles,
        "Square" => FontAwesomeSolidIcon.Square,
        "SquareMousePointer" => FontAwesomeSolidIcon.ArrowPointer,
        "SquarePen" => FontAwesomeSolidIcon.SquarePen,
        "Star" => FontAwesomeSolidIcon.Star,
        "Sun" => FontAwesomeSolidIcon.Sun,
        "Table2" => FontAwesomeSolidIcon.Table,
        "Tag" => FontAwesomeSolidIcon.Tag,
        "Target" => FontAwesomeSolidIcon.Bullseye,
        "TerminalSquare" => FontAwesomeSolidIcon.Terminal,
        "TestTube" => FontAwesomeSolidIcon.Flask,
        "Trash" => FontAwesomeSolidIcon.Trash,
        "Trash2" => FontAwesomeSolidIcon.Trash,
        "TrendingDown" => FontAwesomeSolidIcon.ArrowTrendDown,
        "TrendingUp" => FontAwesomeSolidIcon.ArrowTrendUp,
        "TriangleAlert" => FontAwesomeSolidIcon.TriangleExclamation,
        "Underline" => FontAwesomeSolidIcon.Underline,
        "Upload" => FontAwesomeSolidIcon.Upload,
        "User" => FontAwesomeSolidIcon.User,
        "UserMinus" => FontAwesomeSolidIcon.UserMinus,
        "UserPlus" => FontAwesomeSolidIcon.UserPlus,
        "Users" => FontAwesomeSolidIcon.Users,
        "Video" => FontAwesomeSolidIcon.Video,
        "Volume" => FontAwesomeSolidIcon.VolumeHigh,
        "Volume1" => FontAwesomeSolidIcon.VolumeLow,
        "Volume2" => FontAwesomeSolidIcon.VolumeHigh,
        "X" => FontAwesomeSolidIcon.Xmark,
        "Zap" => FontAwesomeSolidIcon.Bolt,
        _ => FontAwesomeSolidIcon.Circle
    };

    private SvgIcon GetGoogleMaterialIcon() => Name switch
    {
        // Google Material icons use Pascal case. Some panel icons don't exist; use ViewSidebar as fallback.
        "Accessibility" => GoogleMaterialOutlinedIcon.Accessibility,
        "Activity" => GoogleMaterialOutlinedIcon.MonitorHeart,
        "AlignCenter" => GoogleMaterialOutlinedIcon.FormatAlignCenter,
        "AlignLeft" => GoogleMaterialOutlinedIcon.FormatAlignLeft,
        "AlignRight" => GoogleMaterialOutlinedIcon.FormatAlignRight,
        "Apple" => GoogleMaterialOutlinedIcon.LocalFlorist,
        "Archive" => GoogleMaterialOutlinedIcon.Archive,
        "ArrowDown" => GoogleMaterialOutlinedIcon.ArrowDownward,
        "ArrowLeft" => GoogleMaterialOutlinedIcon.ArrowBack,
        "ArrowRight" => GoogleMaterialOutlinedIcon.ArrowForward,
        "ArrowUp" => GoogleMaterialOutlinedIcon.ArrowUpward,
        "ArrowUpDown" => GoogleMaterialOutlinedIcon.SwapVert,
        "BadgeCheck" => GoogleMaterialOutlinedIcon.Verified,
        "BarChart2" => GoogleMaterialOutlinedIcon.BarChart,
        "BarChart3" => GoogleMaterialOutlinedIcon.BarChart,
        "Bookmark" => GoogleMaterialOutlinedIcon.Bookmark,
        "BookmarkCheck" => GoogleMaterialOutlinedIcon.BookmarkAdd,
        "Bell" => GoogleMaterialOutlinedIcon.Notifications,
        "BellOff" => GoogleMaterialOutlinedIcon.NotificationsOff,
        "Blocks" => GoogleMaterialOutlinedIcon.ViewModule,
        "Bold" => GoogleMaterialOutlinedIcon.FormatBold,
        "Box" => GoogleMaterialOutlinedIcon.Inventory2,
        "Calendar" => GoogleMaterialOutlinedIcon.CalendarMonth,
        "CalendarDays" => GoogleMaterialOutlinedIcon.CalendarToday,
        "CalendarPlus" => GoogleMaterialOutlinedIcon.EventAvailable,
        "Camera" => GoogleMaterialOutlinedIcon.CameraAlt,
        "ChartBar" => GoogleMaterialOutlinedIcon.BarChart,
        "Check" => GoogleMaterialOutlinedIcon.Check,
        "CheckCheck" => GoogleMaterialOutlinedIcon.DoneAll,
        "CheckCircle" => GoogleMaterialOutlinedIcon.CheckCircle,
        "CheckCircle2" => GoogleMaterialOutlinedIcon.CheckCircle,
        "CheckSquare" => GoogleMaterialOutlinedIcon.CheckBox,
        "ChevronDown" => GoogleMaterialOutlinedIcon.ExpandMore,
        "ChevronLeft" => GoogleMaterialOutlinedIcon.ChevronLeft,
        "ChevronRight" => GoogleMaterialOutlinedIcon.ChevronRight,
        "ChevronUp" => GoogleMaterialOutlinedIcon.ExpandLess,
        "ChevronsUpDown" => GoogleMaterialOutlinedIcon.UnfoldMore,
        "Chrome" => GoogleMaterialOutlinedIcon.Language,
        "CircleAlert" => GoogleMaterialOutlinedIcon.Error,
        "CircleCheck" => GoogleMaterialOutlinedIcon.CheckCircle,
        "CircleDot" => GoogleMaterialOutlinedIcon.RadioButtonChecked,
        "Clipboard" => GoogleMaterialOutlinedIcon.ContentPaste,
        "ClipboardList" => GoogleMaterialOutlinedIcon.Assignment,
        "Clock" => GoogleMaterialOutlinedIcon.Schedule,
        "Code" => GoogleMaterialOutlinedIcon.Code,
        "Code2" => GoogleMaterialOutlinedIcon.Code,
        "Columns3" => GoogleMaterialOutlinedIcon.ViewColumn,
        "Compass" => GoogleMaterialOutlinedIcon.Explore,
        "Copy" => GoogleMaterialOutlinedIcon.ContentCopy,
        "CornerUpLeft" => GoogleMaterialOutlinedIcon.Reply,
        "CreditCard" => GoogleMaterialOutlinedIcon.CreditCard,
        "Disc" => GoogleMaterialOutlinedIcon.Album,
        "Download" => GoogleMaterialOutlinedIcon.Download,
        "Ellipsis" => GoogleMaterialOutlinedIcon.MoreHoriz,
        "ExternalLink" => GoogleMaterialOutlinedIcon.OpenInNew,
        "Eye" => GoogleMaterialOutlinedIcon.Visibility,
        "FileEdit" => GoogleMaterialOutlinedIcon.EditNote,
        "FileText" => GoogleMaterialOutlinedIcon.Description,
        "Filter" => GoogleMaterialOutlinedIcon.FilterAlt,
        "Flag" => GoogleMaterialOutlinedIcon.Flag,
        "Folder" => GoogleMaterialOutlinedIcon.Folder,
        "FolderGit2" => GoogleMaterialOutlinedIcon.AccountTree,
        "FolderOpen" => GoogleMaterialOutlinedIcon.FolderOpen,
        "FolderPlus" => GoogleMaterialOutlinedIcon.CreateNewFolder,
        "FolderUp" => GoogleMaterialOutlinedIcon.DriveFolderUpload,
        "Forward" => GoogleMaterialOutlinedIcon.Forward,
        "Github" => GoogleMaterialOutlinedIcon.Code,
        "Globe" => GoogleMaterialOutlinedIcon.Language,
        "Heart" => GoogleMaterialOutlinedIcon.Favorite,
        "Home" => GoogleMaterialOutlinedIcon.Home,
        "House" => GoogleMaterialOutlinedIcon.Home,
        "Image" => GoogleMaterialOutlinedIcon.Image,
        "Inbox" => GoogleMaterialOutlinedIcon.Inbox,
        "Info" => GoogleMaterialOutlinedIcon.Info,
        "Italic" => GoogleMaterialOutlinedIcon.FormatItalic,
        "Key" => GoogleMaterialOutlinedIcon.Key,
        "Languages" => GoogleMaterialOutlinedIcon.Translate,
        "Layers" => GoogleMaterialOutlinedIcon.Layers,
        "LayoutDashboard" => GoogleMaterialOutlinedIcon.Dashboard,
        "LayoutGrid" => GoogleMaterialOutlinedIcon.GridView,
        "LayoutList" => GoogleMaterialOutlinedIcon.List,
        "LayoutTemplate" => GoogleMaterialOutlinedIcon.ViewQuilt,
        "Lightbulb" => GoogleMaterialOutlinedIcon.Lightbulb,
        "Link" => GoogleMaterialOutlinedIcon.Link,
        "List" => GoogleMaterialOutlinedIcon.List,
        "ListMusic" => GoogleMaterialOutlinedIcon.QueueMusic,
        "Loader" => GoogleMaterialOutlinedIcon.Refresh,
        "LoaderCircle" => GoogleMaterialOutlinedIcon.Autorenew,
        "Lock" => GoogleMaterialOutlinedIcon.Lock,
        "LogIn" => GoogleMaterialOutlinedIcon.Login,
        "LogOut" => GoogleMaterialOutlinedIcon.Logout,
        "Mail" => GoogleMaterialOutlinedIcon.Mail,
        "MapPin" => GoogleMaterialOutlinedIcon.LocationOn,
        "Menu" => GoogleMaterialOutlinedIcon.Menu,
        "MessageCircle" => GoogleMaterialOutlinedIcon.Chat,
        "MessageSquare" => GoogleMaterialOutlinedIcon.ChatBubble,
        "Mic" => GoogleMaterialOutlinedIcon.Mic,
        "Minus" => GoogleMaterialOutlinedIcon.Remove,
        "Monitor" => GoogleMaterialOutlinedIcon.Monitor,
        "Moon" => GoogleMaterialOutlinedIcon.DarkMode,
        "MoreHorizontal" => GoogleMaterialOutlinedIcon.MoreHoriz,
        "MousePointerClick" => GoogleMaterialOutlinedIcon.TouchApp,
        "Music" => GoogleMaterialOutlinedIcon.MusicNote,
        "Navigation" => GoogleMaterialOutlinedIcon.Navigation,
        "Package" => GoogleMaterialOutlinedIcon.Inventory,
        "Paintbrush" => GoogleMaterialOutlinedIcon.Brush,
        "Palette" => GoogleMaterialOutlinedIcon.Palette,
        "PanelRightClose" => GoogleMaterialOutlinedIcon.ViewSidebar,
        "PanelRightOpen" => GoogleMaterialOutlinedIcon.ViewSidebar,
        "Paperclip" => GoogleMaterialOutlinedIcon.AttachFile,
        "Pause" => GoogleMaterialOutlinedIcon.Pause,
        "Pencil" => GoogleMaterialOutlinedIcon.Edit,
        "PenLine" => GoogleMaterialOutlinedIcon.Edit,
        "Phone" => GoogleMaterialOutlinedIcon.Phone,
        "Pin" => GoogleMaterialOutlinedIcon.PushPin,
        "Play" => GoogleMaterialOutlinedIcon.PlayCircle,
        "Plus" => GoogleMaterialOutlinedIcon.Add,
        "Radio" => GoogleMaterialOutlinedIcon.Radio,
        "RefreshCw" => GoogleMaterialOutlinedIcon.Refresh,
        "Repeat" => GoogleMaterialOutlinedIcon.Repeat,
        "Rocket" => GoogleMaterialOutlinedIcon.Rocket,
        "RotateCcw" => GoogleMaterialOutlinedIcon.Refresh,
        "Search" => GoogleMaterialOutlinedIcon.Search,
        "SearchX" => GoogleMaterialOutlinedIcon.SearchOff,
        "Send" => GoogleMaterialOutlinedIcon.Send,
        "ServerCog" => GoogleMaterialOutlinedIcon.Storage,
        "Settings" => GoogleMaterialOutlinedIcon.Settings,
        "Settings2" => GoogleMaterialOutlinedIcon.Tune,
        "Share" => GoogleMaterialOutlinedIcon.Share,
        "Share2" => GoogleMaterialOutlinedIcon.Share,
        "Shield" => GoogleMaterialOutlinedIcon.Security,
        "ShieldAlert" => GoogleMaterialOutlinedIcon.GppMaybe,
        "ShieldCheck" => GoogleMaterialOutlinedIcon.VerifiedUser,
        "ShoppingBag" => GoogleMaterialOutlinedIcon.ShoppingBag,
        "ShoppingCart" => GoogleMaterialOutlinedIcon.ShoppingCart,
        "Shuffle" => GoogleMaterialOutlinedIcon.Shuffle,
        "SkipBack" => GoogleMaterialOutlinedIcon.SkipPrevious,
        "SkipForward" => GoogleMaterialOutlinedIcon.SkipNext,
        "Slash" => GoogleMaterialOutlinedIcon.DoNotDisturb,
        "SlidersHorizontal" => GoogleMaterialOutlinedIcon.Tune,
        "Smartphone" => GoogleMaterialOutlinedIcon.Smartphone,
        "Smile" => GoogleMaterialOutlinedIcon.SentimentSatisfied,
        "Sparkles" => GoogleMaterialOutlinedIcon.AutoAwesome,
        "Square" => GoogleMaterialOutlinedIcon.CropSquare,
        "SquareMousePointer" => GoogleMaterialOutlinedIcon.TouchApp,
        "SquarePen" => GoogleMaterialOutlinedIcon.Edit,
        "Star" => GoogleMaterialOutlinedIcon.Star,
        "Sun" => GoogleMaterialOutlinedIcon.LightMode,
        "Table2" => GoogleMaterialOutlinedIcon.TableChart,
        "Tag" => GoogleMaterialOutlinedIcon.Label,
        "Target" => GoogleMaterialOutlinedIcon.GpsFixed,
        "TerminalSquare" => GoogleMaterialOutlinedIcon.Terminal,
        "TestTube" => GoogleMaterialOutlinedIcon.Biotech,
        "Trash" => GoogleMaterialOutlinedIcon.Delete,
        "Trash2" => GoogleMaterialOutlinedIcon.Delete,
        "TrendingDown" => GoogleMaterialOutlinedIcon.TrendingDown,
        "TrendingUp" => GoogleMaterialOutlinedIcon.TrendingUp,
        "TriangleAlert" => GoogleMaterialOutlinedIcon.Warning,
        "Underline" => GoogleMaterialOutlinedIcon.FormatUnderlined,
        "Upload" => GoogleMaterialOutlinedIcon.Upload,
        "User" => GoogleMaterialOutlinedIcon.Person,
        "UserMinus" => GoogleMaterialOutlinedIcon.PersonRemove,
        "UserPlus" => GoogleMaterialOutlinedIcon.PersonAdd,
        "Users" => GoogleMaterialOutlinedIcon.Group,
        "Video" => GoogleMaterialOutlinedIcon.Videocam,
        "Volume" => GoogleMaterialOutlinedIcon.VolumeUp,
        "Volume1" => GoogleMaterialOutlinedIcon.VolumeDown,
        "Volume2" => GoogleMaterialOutlinedIcon.VolumeUp,
        "X" => GoogleMaterialOutlinedIcon.Close,
        "Zap" => GoogleMaterialOutlinedIcon.Bolt,
        _ => GoogleMaterialOutlinedIcon.Circle
    };

    private SvgIcon GetIonicon() => Name switch
    {
        // Ionicons use Outline suffix variants for consistency. AlignLeft/Center/Right use Reorder variants.
        "Accessibility" => Ionicon.Accessibility,
        "Activity" => Ionicon.PulseOutline,
        "AlignCenter" => Ionicon.ReorderThreeOutline,
        "AlignLeft" => Ionicon.ReorderTwoOutline,
        "AlignRight" => Ionicon.ReorderFourOutline,
        "Apple" => Ionicon.NutritionOutline,
        "Archive" => Ionicon.ArchiveOutline,
        "ArrowDown" => Ionicon.ArrowDown,
        "ArrowLeft" => Ionicon.ArrowBackOutline,
        "ArrowRight" => Ionicon.ArrowForwardOutline,
        "ArrowUp" => Ionicon.ArrowUp,
        "ArrowUpDown" => Ionicon.SwapVerticalOutline,
        "BadgeCheck" => Ionicon.MedalOutline,
        "BarChart2" => Ionicon.BarChartOutline,
        "BarChart3" => Ionicon.BarChartOutline,
        "Bookmark" => Ionicon.BookmarkOutline,
        "BookmarkCheck" => Ionicon.BookmarkOutline,
        "Bell" => Ionicon.NotificationsOutline,
        "BellOff" => Ionicon.NotificationsOffOutline,
        "Blocks" => Ionicon.GridOutline,
        "Bold" => Ionicon.TextOutline,
        "Box" => Ionicon.CubeOutline,
        "Calendar" => Ionicon.CalendarOutline,
        "CalendarDays" => Ionicon.CalendarClearOutline,
        "CalendarPlus" => Ionicon.CalendarOutline,
        "Camera" => Ionicon.CameraOutline,
        "ChartBar" => Ionicon.BarChartOutline,
        "Check" => Ionicon.Checkmark,
        "CheckCheck" => Ionicon.CheckmarkDoneOutline,
        "CheckCircle" => Ionicon.CheckmarkCircleOutline,
        "CheckCircle2" => Ionicon.CheckmarkCircleOutline,
        "CheckSquare" => Ionicon.CheckboxOutline,
        "ChevronDown" => Ionicon.ChevronDown,
        "ChevronLeft" => Ionicon.ChevronBackOutline,
        "ChevronRight" => Ionicon.ChevronForwardOutline,
        "ChevronUp" => Ionicon.ChevronUp,
        "ChevronsUpDown" => Ionicon.SwapVerticalOutline,
        "Chrome" => Ionicon.GlobeOutline,
        "CircleAlert" => Ionicon.AlertCircleOutline,
        "CircleCheck" => Ionicon.CheckmarkCircleOutline,
        "CircleDot" => Ionicon.RadioButtonOnOutline,
        "Clipboard" => Ionicon.ClipboardOutline,
        "ClipboardList" => Ionicon.ClipboardOutline,
        "Clock" => Ionicon.TimeOutline,
        "Code" => Ionicon.CodeSlashOutline,
        "Code2" => Ionicon.CodeSlashOutline,
        "Columns3" => Ionicon.GridOutline,
        "Compass" => Ionicon.CompassOutline,
        "Copy" => Ionicon.CopyOutline,
        "CornerUpLeft" => Ionicon.ReturnUpBackOutline,
        "CreditCard" => Ionicon.CardOutline,
        "Disc" => Ionicon.DiscOutline,
        "Download" => Ionicon.DownloadOutline,
        "Ellipsis" => Ionicon.EllipsisHorizontalOutline,
        "ExternalLink" => Ionicon.OpenOutline,
        "Eye" => Ionicon.EyeOutline,
        "FileEdit" => Ionicon.CreateOutline,
        "FileText" => Ionicon.DocumentTextOutline,
        "Filter" => Ionicon.FilterOutline,
        "Flag" => Ionicon.FlagOutline,
        "Folder" => Ionicon.FolderOutline,
        "FolderGit2" => Ionicon.GitBranchOutline,
        "FolderOpen" => Ionicon.FolderOpenOutline,
        "FolderPlus" => Ionicon.FolderOpenOutline,
        "FolderUp" => Ionicon.FolderOpenOutline,
        "Forward" => Ionicon.ArrowRedoOutline,
        "Github" => Ionicon.LogoGithub,
        "Globe" => Ionicon.GlobeOutline,
        "Heart" => Ionicon.HeartOutline,
        "Home" => Ionicon.HomeOutline,
        "House" => Ionicon.HomeOutline,
        "Image" => Ionicon.ImageOutline,
        "Inbox" => Ionicon.MailOpenOutline,
        "Info" => Ionicon.InformationCircle,
        "Italic" => Ionicon.TextOutline,
        "Key" => Ionicon.KeyOutline,
        "Languages" => Ionicon.LanguageOutline,
        "Layers" => Ionicon.LayersOutline,
        "LayoutDashboard" => Ionicon.GridOutline,
        "LayoutGrid" => Ionicon.GridOutline,
        "LayoutList" => Ionicon.ListOutline,
        "LayoutTemplate" => Ionicon.GridOutline,
        "Lightbulb" => Ionicon.BulbOutline,
        "Link" => Ionicon.LinkOutline,
        "List" => Ionicon.ListOutline,
        "ListMusic" => Ionicon.MusicalNotesOutline,
        "Loader" => Ionicon.RefreshOutline,
        "LoaderCircle" => Ionicon.SyncOutline,
        "Lock" => Ionicon.LockClosedOutline,
        "LogIn" => Ionicon.LogInOutline,
        "LogOut" => Ionicon.LogOutOutline,
        "Mail" => Ionicon.MailOutline,
        "MapPin" => Ionicon.LocationOutline,
        "Menu" => Ionicon.MenuOutline,
        "MessageCircle" => Ionicon.ChatbubbleOutline,
        "MessageSquare" => Ionicon.ChatboxOutline,
        "Mic" => Ionicon.MicOutline,
        "Minus" => Ionicon.RemoveOutline,
        "Monitor" => Ionicon.DesktopOutline,
        "Moon" => Ionicon.MoonOutline,
        "MoreHorizontal" => Ionicon.EllipsisHorizontalOutline,
        "MousePointerClick" => Ionicon.HandLeftOutline,
        "Music" => Ionicon.MusicalNoteOutline,
        "Navigation" => Ionicon.NavigateOutline,
        "Package" => Ionicon.CubeOutline,
        "Paintbrush" => Ionicon.BrushOutline,
        "Palette" => Ionicon.ColorPaletteOutline,
        "PanelRightClose" => Ionicon.ContractOutline,
        "PanelRightOpen" => Ionicon.ExpandOutline,
        "Paperclip" => Ionicon.AttachOutline,
        "Pause" => Ionicon.PauseOutline,
        "Pencil" => Ionicon.PencilOutline,
        "PenLine" => Ionicon.CreateOutline,
        "Phone" => Ionicon.CallOutline,
        "Pin" => Ionicon.LocationOutline,
        "Play" => Ionicon.PlayOutline,
        "Plus" => Ionicon.AddOutline,
        "Radio" => Ionicon.RadioOutline,
        "RefreshCw" => Ionicon.RefreshOutline,
        "Repeat" => Ionicon.RepeatOutline,
        "Rocket" => Ionicon.RocketOutline,
        "RotateCcw" => Ionicon.RefreshOutline,
        "Search" => Ionicon.SearchOutline,
        "SearchX" => Ionicon.SearchOutline,
        "Send" => Ionicon.SendOutline,
        "ServerCog" => Ionicon.ServerOutline,
        "Settings" => Ionicon.SettingsOutline,
        "Settings2" => Ionicon.OptionsOutline,
        "Share" => Ionicon.ShareOutline,
        "Share2" => Ionicon.ShareSocialOutline,
        "Shield" => Ionicon.ShieldOutline,
        "ShieldAlert" => Ionicon.ShieldOutline,
        "ShieldCheck" => Ionicon.ShieldCheckmarkOutline,
        "ShoppingBag" => Ionicon.BagOutline,
        "ShoppingCart" => Ionicon.CartOutline,
        "Shuffle" => Ionicon.ShuffleOutline,
        "SkipBack" => Ionicon.PlaySkipBackOutline,
        "SkipForward" => Ionicon.PlaySkipForwardOutline,
        "Slash" => Ionicon.RemoveOutline,
        "SlidersHorizontal" => Ionicon.OptionsOutline,
        "Smartphone" => Ionicon.PhonePortraitOutline,
        "Smile" => Ionicon.HappyOutline,
        "Sparkles" => Ionicon.SparklesOutline,
        "Square" => Ionicon.SquareOutline,
        "SquareMousePointer" => Ionicon.HandLeftOutline,
        "SquarePen" => Ionicon.CreateOutline,
        "Star" => Ionicon.StarOutline,
        "Sun" => Ionicon.SunnyOutline,
        "Table2" => Ionicon.GridOutline,
        "Tag" => Ionicon.PricetagOutline,
        "Target" => Ionicon.LocateOutline,
        "TerminalSquare" => Ionicon.TerminalOutline,
        "TestTube" => Ionicon.FlaskOutline,
        "Trash" => Ionicon.TrashOutline,
        "Trash2" => Ionicon.TrashOutline,
        "TrendingDown" => Ionicon.TrendingDownOutline,
        "TrendingUp" => Ionicon.TrendingUpOutline,
        "TriangleAlert" => Ionicon.WarningOutline,
        "Underline" => Ionicon.TextOutline,
        "Upload" => Ionicon.CloudUploadOutline,
        "User" => Ionicon.PersonOutline,
        "UserMinus" => Ionicon.PersonRemoveOutline,
        "UserPlus" => Ionicon.PersonAddOutline,
        "Users" => Ionicon.PeopleOutline,
        "Video" => Ionicon.VideocamOutline,
        "Volume" => Ionicon.VolumeMediumOutline,
        "Volume1" => Ionicon.VolumeLowOutline,
        "Volume2" => Ionicon.VolumeHighOutline,
        "X" => Ionicon.CloseOutline,
        "Zap" => Ionicon.FlashOutline,
        _ => Ionicon.EllipseOutline
    };

    private SvgIcon GetMdiIcon() => Name switch
    {
        // Material Design Icons use Pascal case. Paintbrush -> BrushVariant, User -> Account, RotateCcw -> RotateCounterclockwise.
        "Accessibility" => MdiIcon.HumanGreeting,
        "Activity" => MdiIcon.Pulse,
        "AlignCenter" => MdiIcon.FormatAlignCenter,
        "AlignLeft" => MdiIcon.FormatAlignLeft,
        "AlignRight" => MdiIcon.FormatAlignRight,
        "Apple" => MdiIcon.Apple,
        "Archive" => MdiIcon.Archive,
        "ArrowDown" => MdiIcon.ArrowDown,
        "ArrowLeft" => MdiIcon.ArrowLeft,
        "ArrowRight" => MdiIcon.ArrowRight,
        "ArrowUp" => MdiIcon.ArrowUp,
        "ArrowUpDown" => MdiIcon.SwapVertical,
        "BadgeCheck" => MdiIcon.CheckDecagram,
        "BarChart2" => MdiIcon.ChartBar,
        "BarChart3" => MdiIcon.ChartBar,
        "Bookmark" => MdiIcon.Bookmark,
        "BookmarkCheck" => MdiIcon.BookmarkCheck,
        "Bell" => MdiIcon.Bell,
        "BellOff" => MdiIcon.BellOff,
        "Blocks" => MdiIcon.ViewGrid,
        "Bold" => MdiIcon.FormatBold,
        "Box" => MdiIcon.CubeOutline,
        "Calendar" => MdiIcon.Calendar,
        "CalendarDays" => MdiIcon.CalendarClock,
        "CalendarPlus" => MdiIcon.CalendarPlus,
        "Camera" => MdiIcon.Camera,
        "ChartBar" => MdiIcon.ChartBar,
        "Check" => MdiIcon.Check,
        "CheckCheck" => MdiIcon.CheckAll,
        "CheckCircle" => MdiIcon.CheckCircle,
        "CheckCircle2" => MdiIcon.CheckCircle,
        "CheckSquare" => MdiIcon.CheckboxMarked,
        "ChevronDown" => MdiIcon.ChevronDown,
        "ChevronLeft" => MdiIcon.ChevronLeft,
        "ChevronRight" => MdiIcon.ChevronRight,
        "ChevronUp" => MdiIcon.ChevronUp,
        "ChevronsUpDown" => MdiIcon.UnfoldMoreHorizontal,
        "Chrome" => MdiIcon.GoogleChrome,
        "CircleAlert" => MdiIcon.AlertCircle,
        "CircleCheck" => MdiIcon.CheckCircle,
        "CircleDot" => MdiIcon.RecordCircle,
        "Clipboard" => MdiIcon.ClipboardOutline,
        "ClipboardList" => MdiIcon.ClipboardList,
        "Clock" => MdiIcon.Clock,
        "Code" => MdiIcon.CodeTags,
        "Code2" => MdiIcon.CodeJson,
        "Columns3" => MdiIcon.ViewColumn,
        "Compass" => MdiIcon.Compass,
        "Copy" => MdiIcon.ContentCopy,
        "CornerUpLeft" => MdiIcon.KeyboardReturn,
        "CreditCard" => MdiIcon.CreditCard,
        "Disc" => MdiIcon.Disc,
        "Download" => MdiIcon.Download,
        "Ellipsis" => MdiIcon.DotsHorizontal,
        "ExternalLink" => MdiIcon.OpenInNew,
        "Eye" => MdiIcon.Eye,
        "FileEdit" => MdiIcon.FileEdit,
        "FileText" => MdiIcon.FileDocument,
        "Filter" => MdiIcon.Filter,
        "Flag" => MdiIcon.Flag,
        "Folder" => MdiIcon.Folder,
        "FolderGit2" => MdiIcon.Folder,
        "FolderOpen" => MdiIcon.FolderOpen,
        "FolderPlus" => MdiIcon.FolderPlus,
        "FolderUp" => MdiIcon.FolderUpload,
        "Forward" => MdiIcon.Forward,
        "Github" => MdiIcon.Github,
        "Globe" => MdiIcon.Web,
        "Heart" => MdiIcon.Heart,
        "Home" => MdiIcon.Home,
        "House" => MdiIcon.Home,
        "Image" => MdiIcon.Image,
        "Inbox" => MdiIcon.TrayFull,
        "Info" => MdiIcon.Information,
        "Italic" => MdiIcon.FormatItalic,
        "Key" => MdiIcon.Key,
        "Languages" => MdiIcon.Translate,
        "Layers" => MdiIcon.Layers,
        "LayoutDashboard" => MdiIcon.ViewDashboard,
        "LayoutGrid" => MdiIcon.ViewGridOutline,
        "LayoutList" => MdiIcon.FormatListBulleted,
        "LayoutTemplate" => MdiIcon.ViewDashboard,
        "Lightbulb" => MdiIcon.Lightbulb,
        "Link" => MdiIcon.Link,
        "List" => MdiIcon.FormatListBulleted,
        "ListMusic" => MdiIcon.PlaylistMusic,
        "Loader" => MdiIcon.Refresh,
        "LoaderCircle" => MdiIcon.Loading,
        "Lock" => MdiIcon.Lock,
        "LogIn" => MdiIcon.Login,
        "LogOut" => MdiIcon.Logout,
        "Mail" => MdiIcon.Email,
        "MapPin" => MdiIcon.MapMarker,
        "Menu" => MdiIcon.Menu,
        "MessageCircle" => MdiIcon.MessageOutline,
        "MessageSquare" => MdiIcon.MessageReplyText,
        "Mic" => MdiIcon.Microphone,
        "Minus" => MdiIcon.Minus,
        "Monitor" => MdiIcon.Monitor,
        "Moon" => MdiIcon.MoonWaningCrescent,
        "MoreHorizontal" => MdiIcon.DotsHorizontal,
        "MousePointerClick" => MdiIcon.CursorDefaultClick,
        "Music" => MdiIcon.Music,
        "Navigation" => MdiIcon.Navigation,
        "Package" => MdiIcon.Package,
        "Paintbrush" => MdiIcon.BrushVariant,
        "Palette" => MdiIcon.Palette,
        "PanelRightClose" => MdiIcon.PageLayoutSidebarRight,
        "PanelRightOpen" => MdiIcon.PageLayoutSidebarRight,
        "Paperclip" => MdiIcon.Paperclip,
        "Pause" => MdiIcon.Pause,
        "Pencil" => MdiIcon.Pencil,
        "PenLine" => MdiIcon.Pen,
        "Phone" => MdiIcon.Phone,
        "Pin" => MdiIcon.Pin,
        "Play" => MdiIcon.Play,
        "Plus" => MdiIcon.Plus,
        "Radio" => MdiIcon.Radio,
        "RefreshCw" => MdiIcon.Refresh,
        "Repeat" => MdiIcon.Repeat,
        "Rocket" => MdiIcon.Rocket,
        "RotateCcw" => MdiIcon.RotateLeft,
        "Search" => MdiIcon.Magnify,
        "SearchX" => MdiIcon.Magnify,
        "Send" => MdiIcon.Send,
        "ServerCog" => MdiIcon.ServerNetwork,
        "Settings" => MdiIcon.CogOutline,
        "Settings2" => MdiIcon.TuneVariant,
        "Share" => MdiIcon.ShareVariant,
        "Share2" => MdiIcon.ShareVariant,
        "Shield" => MdiIcon.Shield,
        "ShieldAlert" => MdiIcon.ShieldAlert,
        "ShieldCheck" => MdiIcon.ShieldCheck,
        "ShoppingBag" => MdiIcon.Shopping,
        "ShoppingCart" => MdiIcon.Cart,
        "Shuffle" => MdiIcon.Shuffle,
        "SkipBack" => MdiIcon.SkipPrevious,
        "SkipForward" => MdiIcon.SkipNext,
        "Slash" => MdiIcon.SlashForward,
        "SlidersHorizontal" => MdiIcon.TuneVariant,
        "Smartphone" => MdiIcon.Cellphone,
        "Smile" => MdiIcon.EmoticonHappy,
        "Sparkles" => MdiIcon.AutoFix,
        "Square" => MdiIcon.Square,
        "SquareMousePointer" => MdiIcon.CursorDefaultClick,
        "SquarePen" => MdiIcon.SquareEditOutline,
        "Star" => MdiIcon.Star,
        "Sun" => MdiIcon.WhiteBalanceSunny,
        "Table2" => MdiIcon.Table,
        "Tag" => MdiIcon.Tag,
        "Target" => MdiIcon.Target,
        "TerminalSquare" => MdiIcon.Console,
        "TestTube" => MdiIcon.TestTube,
        "Trash" => MdiIcon.TrashCanOutline,
        "Trash2" => MdiIcon.TrashCanOutline,
        "TrendingDown" => MdiIcon.TrendingDown,
        "TrendingUp" => MdiIcon.TrendingUp,
        "TriangleAlert" => MdiIcon.AlertOutline,
        "Underline" => MdiIcon.FormatUnderline,
        "Upload" => MdiIcon.Upload,
        "User" => MdiIcon.Account,
        "UserMinus" => MdiIcon.AccountMinus,
        "UserPlus" => MdiIcon.AccountPlus,
        "Users" => MdiIcon.AccountGroup,
        "Video" => MdiIcon.Video,
        "Volume" => MdiIcon.VolumeHigh,
        "Volume1" => MdiIcon.VolumeMedium,
        "Volume2" => MdiIcon.VolumeHigh,
        "X" => MdiIcon.Close,
        "Zap" => MdiIcon.Flash,
        _ => MdiIcon.Circle
    };
}
