Openstatus www.openstatus.dev
at main 186 lines 7.5 kB view raw
1import { 2 Activity, 3 AlertTriangle, 4 ArrowLeftRight, 5 Bell, 6 Book, 7 BookOpenCheck, 8 Bot, 9 Calendar, 10 Camera, 11 CandlestickChart, 12 Check, 13 ChevronsLeftRightEllipsis, 14 Clock, 15 Cog, 16 Command, 17 Copy, 18 Cpu, 19 CreditCard, 20 Eye, 21 EyeOff, 22 File, 23 FileClock, 24 FileText, 25 Fingerprint, 26 Gauge, 27 Globe, 28 Hammer, 29 Hourglass, 30 Image, 31 Info, 32 KeyRound, 33 Laptop, 34 LayoutDashboard, 35 Library, 36 LineChart, 37 Link, 38 Linkedin, 39 Megaphone, 40 MessageCircle, 41 Minus, 42 Moon, 43 Network, 44 Newspaper, 45 Package, 46 Palette, 47 PanelTop, 48 Pencil, 49 Play, 50 Plug, 51 Puzzle, 52 Radar, 53 Ratio, 54 Search, 55 SearchCheck, 56 Server, 57 ShieldCheck, 58 Siren, 59 Sparkles, 60 SunMedium, 61 Table, 62 Tag, 63 Terminal, 64 Timer, 65 ToyBrick, 66 Trash, 67 TwitterIcon, 68 UserCircle, 69 Users, 70 Webhook, 71 Workflow, 72 Youtube, 73 Zap, 74} from "lucide-react"; 75import type { LucideIcon, LucideProps } from "lucide-react"; 76 77export type Icon = LucideIcon; 78export type IconProps = LucideProps; 79export type ValidIcon = keyof typeof Icons; 80 81export const Icons = { 82 activity: Activity, 83 "layout-dashboard": LayoutDashboard, 84 link: Link, 85 siren: Siren, 86 "panel-top": PanelTop, 87 table: Table, 88 "toy-brick": ToyBrick, 89 gauge: Gauge, 90 package: Package, 91 library: Library, 92 cog: Cog, 93 cpu: Cpu, 94 hammer: Hammer, 95 search: Search, 96 "search-check": SearchCheck, 97 palette: Palette, 98 fingerprint: Fingerprint, 99 pencil: Pencil, 100 "message-circle": MessageCircle, 101 calendar: Calendar, 102 tag: Tag, 103 trash: Trash, 104 twitter: TwitterIcon, 105 terminal: Terminal, 106 globe: Globe, 107 compare: ArrowLeftRight, 108 plug: Plug, 109 copy: Copy, 110 check: Check, 111 play: Play, 112 bot: Bot, 113 puzzle: Puzzle, 114 image: Image, 115 bell: Bell, 116 zap: Zap, 117 eye: Eye, 118 file: File, 119 "file-text": FileText, 120 workflow: Workflow, 121 "eye-off": EyeOff, 122 network: Network, 123 users: Users, 124 key: KeyRound, 125 "credit-card": CreditCard, 126 "alert-triangle": AlertTriangle, 127 "file-clock": FileClock, 128 megaphone: Megaphone, 129 webhook: Webhook, 130 minus: Minus, 131 sun: SunMedium, 132 moon: Moon, 133 laptop: Laptop, 134 sparkles: Sparkles, 135 timer: Timer, 136 clock: Clock, 137 "line-chart": LineChart, 138 linkedin: Linkedin, 139 book: Book, 140 newspaper: Newspaper, 141 youtube: Youtube, 142 "hour-glass": Hourglass, 143 "candlestick-chart": CandlestickChart, 144 ratio: Ratio, 145 user: UserCircle, 146 camera: Camera, 147 "book-open-check": BookOpenCheck, 148 "shield-check": ShieldCheck, 149 info: Info, 150 server: Server, 151 command: Command, 152 radar: Radar, 153 "chevron-left-right-ellipsis": ChevronsLeftRightEllipsis, 154 discord: ({ ...props }: LucideProps) => ( 155 <svg viewBox="0 0 640 512" {...props}> 156 <path 157 fill="currentColor" 158 d="M524.531,69.836a1.5,1.5,0,0,0-.764-.7A485.065,485.065,0,0,0,404.081,32.03a1.816,1.816,0,0,0-1.923.91,337.461,337.461,0,0,0-14.9,30.6,447.848,447.848,0,0,0-134.426,0,309.541,309.541,0,0,0-15.135-30.6,1.89,1.89,0,0,0-1.924-.91A483.689,483.689,0,0,0,116.085,69.137a1.712,1.712,0,0,0-.788.676C39.068,183.651,18.186,294.69,28.43,404.354a2.016,2.016,0,0,0,.765,1.375A487.666,487.666,0,0,0,176.02,479.918a1.9,1.9,0,0,0,2.063-.676A348.2,348.2,0,0,0,208.12,430.4a1.86,1.86,0,0,0-1.019-2.588,321.173,321.173,0,0,1-45.868-21.853,1.885,1.885,0,0,1-.185-3.126c3.082-2.309,6.166-4.711,9.109-7.137a1.819,1.819,0,0,1,1.9-.256c96.229,43.917,200.41,43.917,295.5,0a1.812,1.812,0,0,1,1.924.233c2.944,2.426,6.027,4.851,9.132,7.16a1.884,1.884,0,0,1-.162,3.126,301.407,301.407,0,0,1-45.89,21.83,1.875,1.875,0,0,0-1,2.611,391.055,391.055,0,0,0,30.014,48.815,1.864,1.864,0,0,0,2.063.7A486.048,486.048,0,0,0,610.7,405.729a1.882,1.882,0,0,0,.765-1.352C623.729,277.594,590.933,167.465,524.531,69.836ZM222.491,337.58c-28.972,0-52.844-26.587-52.844-59.239S193.056,219.1,222.491,219.1c29.665,0,53.306,26.82,52.843,59.239C275.334,310.993,251.924,337.58,222.491,337.58Zm195.38,0c-28.971,0-52.843-26.587-52.843-59.239S388.437,219.1,417.871,219.1c29.667,0,53.307,26.82,52.844,59.239C470.715,310.993,447.538,337.58,417.871,337.58Z" 159 /> 160 </svg> 161 ), 162 google: (props: LucideProps) => ( 163 <svg viewBox="0 0 24 24" {...props}> 164 <path 165 fill="currentColor" 166 d="M12.48 10.92v3.28h7.84c-.24 1.84-.853 3.187-1.787 4.133-1.147 1.147-2.933 2.4-6.053 2.4-4.827 0-8.6-3.893-8.6-8.72s3.773-8.72 8.6-8.72c2.6 0 4.507 1.027 5.907 2.347l2.307-2.307C18.747 1.44 16.133 0 12.48 0 5.867 0 .307 5.387.307 12s5.56 12 12.173 12c3.573 0 6.267-1.173 8.373-3.36 2.16-2.16 2.84-5.213 2.84-7.667 0-.76-.053-1.467-.173-2.053H12.48z" 167 /> 168 </svg> 169 ), 170 github: (props: LucideProps) => ( 171 <svg viewBox="0 0 438.549 438.549" {...props}> 172 <path 173 fill="currentColor" 174 d="M409.132 114.573c-19.608-33.596-46.205-60.194-79.798-79.8-33.598-19.607-70.277-29.408-110.063-29.408-39.781 0-76.472 9.804-110.063 29.408-33.596 19.605-60.192 46.204-79.8 79.8C9.803 148.168 0 184.854 0 224.63c0 47.78 13.94 90.745 41.827 128.906 27.884 38.164 63.906 64.572 108.063 79.227 5.14.954 8.945.283 11.419-1.996 2.475-2.282 3.711-5.14 3.711-8.562 0-.571-.049-5.708-.144-15.417a2549.81 2549.81 0 01-.144-25.406l-6.567 1.136c-4.187.767-9.469 1.092-15.846 1-6.374-.089-12.991-.757-19.842-1.999-6.854-1.231-13.229-4.086-19.13-8.559-5.898-4.473-10.085-10.328-12.56-17.556l-2.855-6.57c-1.903-4.374-4.899-9.233-8.992-14.559-4.093-5.331-8.232-8.945-12.419-10.848l-1.999-1.431c-1.332-.951-2.568-2.098-3.711-3.429-1.142-1.331-1.997-2.663-2.568-3.997-.572-1.335-.098-2.43 1.427-3.289 1.525-.859 4.281-1.276 8.28-1.276l5.708.853c3.807.763 8.516 3.042 14.133 6.851 5.614 3.806 10.229 8.754 13.846 14.842 4.38 7.806 9.657 13.754 15.846 17.847 6.184 4.093 12.419 6.136 18.699 6.136 6.28 0 11.704-.476 16.274-1.423 4.565-.952 8.848-2.383 12.847-4.285 1.713-12.758 6.377-22.559 13.988-29.41-10.848-1.14-20.601-2.857-29.264-5.14-8.658-2.286-17.605-5.996-26.835-11.14-9.235-5.137-16.896-11.516-22.985-19.126-6.09-7.614-11.088-17.61-14.987-29.979-3.901-12.374-5.852-26.648-5.852-42.826 0-23.035 7.52-42.637 22.557-58.817-7.044-17.318-6.379-36.732 1.997-58.24 5.52-1.715 13.706-.428 24.554 3.853 10.85 4.283 18.794 7.952 23.84 10.994 5.046 3.041 9.089 5.618 12.135 7.708 17.705-4.947 35.976-7.421 54.818-7.421s37.117 2.474 54.823 7.421l10.849-6.849c7.419-4.57 16.18-8.758 26.262-12.565 10.088-3.805 17.802-4.853 23.134-3.138 8.562 21.509 9.325 40.922 2.279 58.24 15.036 16.18 22.559 35.787 22.559 58.817 0 16.178-1.958 30.497-5.853 42.966-3.9 12.471-8.941 22.457-15.125 29.979-6.191 7.521-13.901 13.85-23.131 18.986-9.232 5.14-18.182 8.85-26.84 11.136-8.662 2.286-18.415 4.004-29.263 5.146 9.894 8.562 14.842 22.077 14.842 40.539v60.237c0 3.422 1.19 6.279 3.572 8.562 2.379 2.279 6.136 2.95 11.276 1.995 44.163-14.653 80.185-41.062 108.068-79.226 27.88-38.161 41.825-81.126 41.825-128.906-.01-39.771-9.818-76.454-29.414-110.049z" 175 /> 176 </svg> 177 ), 178 bluesky: (props: LucideProps) => ( 179 <svg role="img" viewBox="0 0 24 24 " {...props}> 180 <path 181 fill="currentColor" 182 d="M12 10.8c-1.087-2.114-4.046-6.053-6.798-7.995C2.566.944 1.561 1.266.902 1.565.139 1.908 0 3.08 0 3.768c0 .69.378 5.65.624 6.479.815 2.736 3.713 3.66 6.383 3.364.136-.02.275-.039.415-.056-.138.022-.276.04-.415.056-3.912.58-7.387 2.005-2.83 7.078 5.013 5.19 6.87-1.113 7.823-4.308.953 3.195 2.05 9.271 7.733 4.308 4.267-4.308 1.172-6.498-2.74-7.078a8.741 8.741 0 0 1-.415-.056c.14.017.279.036.415.056 2.67.297 5.568-.628 6.383-3.364.246-.828.624-5.79.624-6.478 0-.69-.139-1.861-.902-2.206-.659-.298-1.664-.62-4.3 1.24C16.046 4.748 13.087 8.687 12 10.8Z" 183 /> 184 </svg> 185 ), 186} as const;