Download web/src/components/icons.tsx from EnergyVenom/patchwise-agent-studio: direct link, hf CLI and curl.
- Browser
- Download file 8.35 kB
-
https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/web/src/components/icons.tsx
- Command line
-
hf download hf://spaces/EnergyVenom/patchwise-agent-studio/web/src/components/icons.tsx
-
curl -L -o icons.tsx https://huggingface.co/spaces/EnergyVenom/patchwise-agent-studio/resolve/main/web/src/components/icons.tsx
8.35 kB
| /* The app's icons, in one place: Lucide (outline, 1.75 px stroke) under the names the pages already use. Each one takes | |
| the same props as before: `size`, and `stroke` as the line width (Lucide's own `stroke` would set the colour, so it is | |
| translated to `strokeWidth` here). Brand logos are not in Lucide and stay Tabler's. */ | |
| import { forwardRef, type ComponentProps } from 'react'; | |
| import { | |
| Activity, ArrowLeft, ArrowRight, ArrowUp, Bell, Bot, BotMessageSquare, Brain, Bug, CalendarClock, Check, ChevronDown, ChevronLeft, | |
| ChevronRight, ChevronsUpDown, CircleAlert, CircleCheck, CircleDashed, CircleHelp, CircleMinus, CircleX, Clock, Cloud, Code, | |
| Copy, Download, Ellipsis, ExternalLink, Eye, EyeOff, FileChartColumn, FileDown, FileSpreadsheet, FileText, GlobeLock, Hand, | |
| History, Hourglass, House, Image, ImageOff, Info, Key, Keyboard, Library, Lightbulb, Link, List, ListChecks, ListOrdered, | |
| LoaderCircle, Lock, LogOut, Mail, MailCheck, Maximize2, Menu, MessageCircle, MessageSquare, MessagesSquare, Minus, Monitor, | |
| Moon, Network, PanelLeft, PanelRight, PanelRightClose, Pause, Pencil, Play, Plug, PlugZap, Plus, Power, Radar, Radio, | |
| RefreshCw, Repeat, ScanLine, Search, Send, Server, Settings, ShieldCheck, ShieldEllipsis, Signature, SlidersHorizontal, | |
| Sparkles, Square, Star, Sun, Ticket, Trash2, TriangleAlert, Unlink, Upload, User, UserCheck, Users, WandSparkles, Webhook, X, | |
| } from 'lucide-react'; | |
| type Lucide = typeof Check; | |
| export type IconProps = Omit<ComponentProps<Lucide>, 'stroke'> & { stroke?: number | string }; | |
| const STROKE = 1.75; | |
| function icon(L: Lucide, name: string) { | |
| const C = forwardRef<SVGSVGElement, IconProps>(({ stroke, size = 24, ...rest }, ref) => ( | |
| <L ref={ref} size={size} strokeWidth={stroke === undefined ? STROKE : Math.min(Number(stroke), 2.25)} {...rest} /> | |
| )); | |
| C.displayName = name; | |
| return C; | |
| } | |
| export const IconActivity = icon(Activity, 'IconActivity'); | |
| export const IconAdjustments = icon(SlidersHorizontal, 'IconAdjustments'); | |
| export const IconAffiliate = icon(Network, 'IconAffiliate'); | |
| export const IconAlertCircle = icon(CircleAlert, 'IconAlertCircle'); | |
| export const IconAlertTriangle = icon(TriangleAlert, 'IconAlertTriangle'); | |
| export const IconArrowLeft = icon(ArrowLeft, 'IconArrowLeft'); | |
| export const IconArrowRight = icon(ArrowRight, 'IconArrowRight'); | |
| export const IconArrowUp = icon(ArrowUp, 'IconArrowUp'); | |
| export const IconArrowsMaximize = icon(Maximize2, 'IconArrowsMaximize'); | |
| export const IconBell = icon(Bell, 'IconBell'); | |
| export const IconBooks = icon(Library, 'IconBooks'); | |
| export const IconBrain = icon(Brain, 'IconBrain'); | |
| export const IconBroadcast = icon(Radio, 'IconBroadcast'); | |
| export const IconBug = icon(Bug, 'IconBug'); | |
| export const IconBulb = icon(Lightbulb, 'IconBulb'); | |
| export const IconCalendarTime = icon(CalendarClock, 'IconCalendarTime'); | |
| export const IconCheck = icon(Check, 'IconCheck'); | |
| export const IconChecklist = icon(ListChecks, 'IconChecklist'); | |
| export const IconChevronDown = icon(ChevronDown, 'IconChevronDown'); | |
| export const IconChevronLeft = icon(ChevronLeft, 'IconChevronLeft'); | |
| export const IconChevronRight = icon(ChevronRight, 'IconChevronRight'); | |
| export const IconCircleCheck = icon(CircleCheck, 'IconCircleCheck'); | |
| export const IconCircleDashed = icon(CircleDashed, 'IconCircleDashed'); | |
| export const IconCircleMinus = icon(CircleMinus, 'IconCircleMinus'); | |
| export const IconCircleX = icon(CircleX, 'IconCircleX'); | |
| export const IconClock = icon(Clock, 'IconClock'); | |
| export const IconCloud = icon(Cloud, 'IconCloud'); | |
| export const IconCode = icon(Code, 'IconCode'); | |
| export const IconCopy = icon(Copy, 'IconCopy'); | |
| export const IconDeviceDesktop = icon(Monitor, 'IconDeviceDesktop'); | |
| export const IconDots = icon(Ellipsis, 'IconDots'); | |
| export const IconDownload = icon(Download, 'IconDownload'); | |
| export const IconExternalLink = icon(ExternalLink, 'IconExternalLink'); | |
| export const IconEye = icon(Eye, 'IconEye'); | |
| export const IconEyeOff = icon(EyeOff, 'IconEyeOff'); | |
| export const IconFileAnalytics = icon(FileChartColumn, 'IconFileAnalytics'); | |
| export const IconFileReport = icon(FileText, 'IconFileReport'); | |
| export const IconFileSpreadsheet = icon(FileSpreadsheet, 'IconFileSpreadsheet'); | |
| export const IconFileTypePdf = icon(FileDown, 'IconFileTypePdf'); | |
| export const IconHandStop = icon(Hand, 'IconHandStop'); | |
| export const IconHelp = icon(CircleHelp, 'IconHelp'); | |
| export const IconHistory = icon(History, 'IconHistory'); | |
| export const IconHome = icon(House, 'IconHome'); | |
| export const IconHourglass = icon(Hourglass, 'IconHourglass'); | |
| export const IconInfoCircle = icon(Info, 'IconInfoCircle'); | |
| export const IconKey = icon(Key, 'IconKey'); | |
| export const IconKeyboard = icon(Keyboard, 'IconKeyboard'); | |
| export const IconLayoutSidebar = icon(PanelLeft, 'IconLayoutSidebar'); | |
| export const IconLayoutSidebarRight = icon(PanelRight, 'IconLayoutSidebarRight'); | |
| export const IconLayoutSidebarRightCollapse = icon(PanelRightClose, 'IconLayoutSidebarRightCollapse'); | |
| export const IconLink = icon(Link, 'IconLink'); | |
| export const IconLinkOff = icon(Unlink, 'IconLinkOff'); | |
| export const IconListCheck = icon(ListChecks, 'IconListCheck'); | |
| export const IconListDetails = icon(List, 'IconListDetails'); | |
| export const IconListNumbers = icon(ListOrdered, 'IconListNumbers'); | |
| export const IconLoader2 = icon(LoaderCircle, 'IconLoader2'); | |
| export const IconLock = icon(Lock, 'IconLock'); | |
| export const IconLogout = icon(LogOut, 'IconLogout'); | |
| export const IconMail = icon(Mail, 'IconMail'); | |
| export const IconMailCheck = icon(MailCheck, 'IconMailCheck'); | |
| export const IconMenu2 = icon(Menu, 'IconMenu2'); | |
| export const IconMessage = icon(MessageSquare, 'IconMessage'); | |
| export const IconMessageChatbot = icon(BotMessageSquare, 'IconMessageChatbot'); | |
| export const IconMessageCircle = icon(MessageCircle, 'IconMessageCircle'); | |
| export const IconMessages = icon(MessagesSquare, 'IconMessages'); | |
| export const IconMinus = icon(Minus, 'IconMinus'); | |
| export const IconMoon = icon(Moon, 'IconMoon'); | |
| export const IconPencil = icon(Pencil, 'IconPencil'); | |
| export const IconPhoto = icon(Image, 'IconPhoto'); | |
| export const IconPhotoOff = icon(ImageOff, 'IconPhotoOff'); | |
| export const IconPlayerPause = icon(Pause, 'IconPlayerPause'); | |
| export const IconPlayerPlay = icon(Play, 'IconPlayerPlay'); | |
| export const IconPlayerStop = icon(Square, 'IconPlayerStop'); | |
| export const IconPlug = icon(Plug, 'IconPlug'); | |
| export const IconPlugConnected = icon(PlugZap, 'IconPlugConnected'); | |
| export const IconPlus = icon(Plus, 'IconPlus'); | |
| export const IconPower = icon(Power, 'IconPower'); | |
| export const IconRadar = icon(Radar, 'IconRadar'); | |
| export const IconRefresh = icon(RefreshCw, 'IconRefresh'); | |
| export const IconRepeat = icon(Repeat, 'IconRepeat'); | |
| export const IconRobot = icon(Bot, 'IconRobot'); | |
| export const IconScan = icon(ScanLine, 'IconScan'); | |
| export const IconSearch = icon(Search, 'IconSearch'); | |
| export const IconSelector = icon(ChevronsUpDown, 'IconSelector'); | |
| export const IconSend = icon(Send, 'IconSend'); | |
| export const IconServer = icon(Server, 'IconServer'); | |
| export const IconSettings = icon(Settings, 'IconSettings'); | |
| export const IconShieldCheck = icon(ShieldCheck, 'IconShieldCheck'); | |
| export const IconShieldLock = icon(ShieldEllipsis, 'IconShieldLock'); | |
| export const IconSignature = icon(Signature, 'IconSignature'); | |
| export const IconSparkles = icon(Sparkles, 'IconSparkles'); | |
| export const IconStar = icon(Star, 'IconStar'); | |
| export const IconSun = icon(Sun, 'IconSun'); | |
| export const IconTicket = icon(Ticket, 'IconTicket'); | |
| export const IconTrash = icon(Trash2, 'IconTrash'); | |
| export const IconUpload = icon(Upload, 'IconUpload'); | |
| export const IconUser = icon(User, 'IconUser'); | |
| export const IconUserCheck = icon(UserCheck, 'IconUserCheck'); | |
| export const IconUsers = icon(Users, 'IconUsers'); | |
| export const IconWand = icon(WandSparkles, 'IconWand'); | |
| export const IconWebhook = icon(Webhook, 'IconWebhook'); | |
| export const IconWorldOff = icon(GlobeLock, 'IconWorldOff'); | |
| export const IconX = icon(X, 'IconX'); | |
| // brand logos (not in Lucide) | |
| export { | |
| IconBrandDiscord, IconBrandGithubCopilot, IconBrandGoogle, IconBrandJira, IconBrandOpenai, IconBrandSlack, IconBrandTeams, | |
| IconBrandTelegram, | |
| } from '@tabler/icons-react'; | |