The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.
TypeScript ai-videocomfyuicreative-toolsgenerative-aiideogramimage-generationimage-to-3dimage-to-videoltx-videominimax-h3nextjsopen-sourceopen-weightsqwen-imagetext-to-imagevideo-generationwan
/**
* The navigation's icons by name (src/lib/nav-model.ts names them, so the model stays free of components). Only the
* icons listed here are bundled; tests/nav-model.test.ts checks every name the model uses is here.
*/
import {
Aperture,
AtSign,
AudioLines,
Bell,
Box,
Brush,
Camera,
Clapperboard,
Code,
Cpu,
Crop,
Drama,
Factory,
FastForward,
Film,
GalleryHorizontal,
GraduationCap,
Heart,
Home,
ImageIcon,
Images,
KeyRound,
Layers,
Layers2,
LayoutGrid,
LetterText,
Library,
LogIn,
Megaphone,
MessageCircle,
MessagesSquare,
Mic2,
Network,
PersonStanding,
Plug,
Plus,
Presentation,
Rotate3d,
Scale,
Scissors,
Server,
Settings,
Settings2,
Shapes,
ShieldCheck,
Shirt,
ShoppingBag,
SlidersHorizontal,
Smartphone,
Sparkles,
Star,
SunMoon,
Swords,
Target,
TrendingUp,
Tv,
UserPlus,
UserRound,
UserRoundCog,
UserRoundPen,
Video,
Wand2,
WandSparkles,
Zap,
ZoomIn,
type LucideIcon,
} from "lucide-react";
export const NAV_ICONS = {
Aperture,
AtSign,
AudioLines,
Bell,
Box,
Brush,
Camera,
Clapperboard,
Code,
Cpu,
Crop,
Drama,
Factory,
FastForward,
Film,
GalleryHorizontal,
GraduationCap,
Heart,
Home,
ImageIcon,
Images,
KeyRound,
Layers,
Layers2,
LayoutGrid,
LetterText,
Library,
LogIn,
Megaphone,
MessageCircle,
MessagesSquare,
Mic2,
Network,
PersonStanding,
Plug,
Plus,
Presentation,
Rotate3d,
Scale,
Scissors,
Server,
Settings,
Settings2,
Shapes,
ShieldCheck,
Shirt,
ShoppingBag,
SlidersHorizontal,
Smartphone,
Sparkles,
Star,
SunMoon,
Swords,
Target,
TrendingUp,
Tv,
UserPlus,
UserRound,
UserRoundCog,
UserRoundPen,
Video,
Wand2,
WandSparkles,
Zap,
ZoomIn,
} satisfies Record<string, LucideIcon>;
export type NavIcon = keyof typeof NAV_ICONS;
/** The icon for a name from the model (the grid for a name that isn't here, which the tests rule out). */
export function navIcon(name: string | undefined): LucideIcon {
return name && Object.hasOwn(NAV_ICONS, name) ? NAV_ICONS[name as NavIcon] : LayoutGrid;
}