Skip to content

Commit 4c011b2

Browse files
✨ feat: Add LobeHub
1 parent 8778c3e commit 4c011b2

File tree

10 files changed

+320
-3
lines changed

10 files changed

+320
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,9 @@ Contributions, corrections & requests can be made on GitHub.
6161

6262
<!-- ICON LIST -->
6363

64-
| Model | Provider | Application |
65-
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
66-
| ✅ [Ai21Labs (Jamba)](https://icons.lobehub.com/components/ai-21)<br/>✅ [Baichuan (百川)](https://icons.lobehub.com/components/baichuan)<br/>✅ [Claude](https://icons.lobehub.com/components/claude)<br/>✅ [Databricks (DBRX)](https://icons.lobehub.com/components/dbrx)<br/>✅ [DeepSeek](https://icons.lobehub.com/components/deep-seek)<br/>✅ [FishAudio (Bert)](https://icons.lobehub.com/components/fish-audio)<br/>✅ [Google (Gemini)](https://icons.lobehub.com/components/gemini)<br/>✅ [Google (Gemma)](https://icons.lobehub.com/components/gemma)<br/>✅ [Grok](https://icons.lobehub.com/components/grok)<br/>✅ [Hunyuan (腾讯混元)](https://icons.lobehub.com/components/hunyuan)<br/>✅ [LLaVA](https://icons.lobehub.com/components/l-la-va)<br/>✅ [Minimax](https://icons.lobehub.com/components/minimax)<br/>✅ [Mistral](https://icons.lobehub.com/components/mistral)<br/>✅ [OpenAI (DALL·E)](https://icons.lobehub.com/components/dalle)<br/>✅ [OpenChat](https://icons.lobehub.com/components/open-chat)<br/>✅ [RWKV](https://icons.lobehub.com/components/rwkv)<br/>✅ [Spark (讯飞星火)](https://icons.lobehub.com/components/spark)<br/>✅ [Tongyi (通义)](https://icons.lobehub.com/components/tongyi)<br/>✅ [Wenxin (文心)](https://icons.lobehub.com/components/wenxin)<br/>✅ [Yi (零一万物)](https://icons.lobehub.com/components/yi)<br/>✅ [Zhipu (ChatGLM)](https://icons.lobehub.com/components/chat-glm) | ✅ [01.AI (零一万物)](https://icons.lobehub.com/components/zero-one)<br/>✅ [Alibaba](https://icons.lobehub.com/components/alibaba)<br/>✅ [AntGroup](https://icons.lobehub.com/components/ant-group)<br/>✅ [Anthropic](https://icons.lobehub.com/components/anthropic)<br/>✅ [AWS](https://icons.lobehub.com/components/aws)<br/>✅ [AWS (Bedrock)](https://icons.lobehub.com/components/bedrock)<br/>✅ [Baidu](https://icons.lobehub.com/components/baidu)<br/>✅ [ByteDance](https://icons.lobehub.com/components/byte-dance)<br/>✅ [Cloudflare](https://icons.lobehub.com/components/cloudflare)<br/>✅ [Cloudflare (WorkersAI)](https://icons.lobehub.com/components/workers-ai)<br/>✅ [Cohere (Command)](https://icons.lobehub.com/components/cohere)<br/>✅ [Fireworks](https://icons.lobehub.com/components/fireworks)<br/>✅ [Google](https://icons.lobehub.com/components/google)<br/>✅ [Google(DeepMind)](https://icons.lobehub.com/components/deep-mind)<br/>✅ [Groq](https://icons.lobehub.com/components/groq)<br/>✅ [HuggingFace](https://icons.lobehub.com/components/hugging-face)<br/>✅ [LM Studio](https://icons.lobehub.com/components/lm-studio)<br/>✅ [Meta](https://icons.lobehub.com/components/meta)<br/>✅ [Microsoft (Azure)](https://icons.lobehub.com/components/azure)<br/>✅ [Moonshot (月之暗面)](https://icons.lobehub.com/components/moonshot)<br/>✅ [Ollama](https://icons.lobehub.com/components/ollama)<br/>✅ [OpenAI (ChatGPT)](https://icons.lobehub.com/components/open-ai)<br/>✅ [OpenRouter](https://icons.lobehub.com/components/open-router)<br/>✅ [Perplexity](https://icons.lobehub.com/components/perplexity)<br/>✅ [Replicate](https://icons.lobehub.com/components/replicate)<br/>✅ [Stability (StableDiffusion)](https://icons.lobehub.com/components/stability)<br/>✅ [Tencent](https://icons.lobehub.com/components/tencent)<br/>✅ [together.ai](https://icons.lobehub.com/components/together)<br/>✅ [Zeabur](https://icons.lobehub.com/components/zeabur)<br/>✅ [Zhipu (智谱)](https://icons.lobehub.com/components/zhipu) | ✅ [Adobe](https://icons.lobehub.com/components/adobe)<br/>✅ [Adobe (Firefly)](https://icons.lobehub.com/components/adobe-firefly)<br/>✅ [Automatic1111 (SD Webui)](https://icons.lobehub.com/components/automatic)<br/>✅ [Github](https://icons.lobehub.com/components/github)<br/>✅ [Github Copilot](https://icons.lobehub.com/components/github-copilot)<br/>✅ [Google (Colab)](https://icons.lobehub.com/components/colab)<br/>✅ [Langfuse](https://icons.lobehub.com/components/langfuse)<br/>✅ [Microsoft Copilot](https://icons.lobehub.com/components/copilot)<br/>✅ [Midjourney](https://icons.lobehub.com/components/midjourney)<br/>✅ [Nvidia (ChatWithRTX)](https://icons.lobehub.com/components/nvidia)<br/>✅ [Pollinations](https://icons.lobehub.com/components/pollinations)<br/>✅ [Qingyan (智谱清言)](https://icons.lobehub.com/components/qingyan)<br/>✅ [Suno](https://icons.lobehub.com/components/suno) |
64+
| Model | Provider | Application |
65+
| ----- | -------- | ----------- |
66+
| | | |
6767

6868
<!-- ICON LIST -->
6969

src/LobeHub/components/Avatar.tsx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
import { memo } from 'react';
2+
3+
import IconAvatar, { type IconAvatarProps } from '@/IconAvatar';
4+
5+
import { COLOR_PRIMARY, TITLE } from '../style';
6+
import Color from './Color';
7+
8+
export type AvatarProps = Omit<IconAvatarProps, 'Icon'>;
9+
10+
const Avatar = memo<AvatarProps>(({ background, ...rest }) => {
11+
return (
12+
<IconAvatar
13+
Icon={Color}
14+
aria-label={TITLE}
15+
background={background || COLOR_PRIMARY}
16+
{...rest}
17+
/>
18+
);
19+
});
20+
21+
export default Avatar;

src/LobeHub/components/Color.tsx

Lines changed: 107 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,107 @@
1+
import { forwardRef } from 'react';
2+
3+
import type { IconType } from '@/types';
4+
5+
import { TITLE } from '../style';
6+
7+
const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => {
8+
return (
9+
<svg
10+
height={size}
11+
ref={ref}
12+
style={{ flex: 'none', lineHeight: 1, ...style }}
13+
viewBox="0 0 24 24"
14+
width={size}
15+
xmlns="http://www.w3.org/2000/svg"
16+
{...rest}
17+
>
18+
<title>{TITLE}</title>
19+
<g clipPath="url(#a)">
20+
<path
21+
d="M22.951 13.475C22.951 19.672 18.082 24 11.975 24 5.87 24 1 19.59 1 13.393c0-1.843.41-2.633 2.58-2.922 3.89-.518 5.942-.313 8.396-.313 2.453 0 5.942-.104 8.395.313 2.007.342 2.457.71 2.58 3.004z"
22+
fill="#FFB02E"
23+
></path>
24+
<path
25+
d="M11.955 19.209c-2.314 0-2.928.286-2.928.286s.287 2.212 2.928 2.212c2.642 0 2.928-2.212 2.928-2.212s-.614-.287-2.928-.287z"
26+
fill="#972021"
27+
></path>
28+
<path
29+
d="M21.15 11.51c0 .52-4.09.941-9.133.941-5.044 0-9.133-.422-9.133-.942s4.089-.942 9.133-.942c5.043 0 9.132.422 9.132.942z"
30+
fill="#FF6723"
31+
></path>
32+
<path
33+
d="M9.969 12.451c.052-1.226-.04-1.867-.45-2.985 0 0 .777-.987 2.21-.987 1.434 0 2.458.25 2.458.25-.248 1.376-.26 2.206-.205 3.722H9.97z"
34+
fill="#FEE064"
35+
></path>
36+
<path
37+
d="M8.633 18.535c1.207-.58 2.032-1.762 2.032-3.217 0-2.081-1.687-3.932-3.768-3.932-2.08 0-3.85 1.605-3.85 3.686 0 1.146.537 2.196 1.365 2.91a4.582 4.582 0 011.625-.289c1.04 0 1.972.327 2.596.842zM15.318 18.535c-1.207-.58-2.032-1.762-2.032-3.217 0-2.081 1.687-3.932 3.768-3.932 2.08 0 3.85 1.605 3.85 3.686 0 1.146-.537 2.196-1.365 2.91a4.582 4.582 0 00-1.625-.289c-1.04 0-1.972.327-2.596.842z"
38+
fill="#fff"
39+
></path>
40+
<path
41+
d="M7.143 17.447a2.293 2.293 0 100-4.586 2.293 2.293 0 000 4.586zM16.808 17.447a2.293 2.293 0 110-4.586 2.293 2.293 0 010 4.586z"
42+
fill="#270C36"
43+
></path>
44+
<path
45+
d="M11.976 23.099c1.646 0 1.909-1.678 1.96-2.098.039-.34-.137-.511-.33-.627-.191-.116-.768-.224-1.63-.224-.862 0-1.435.108-1.63.224-.196.116-.373.288-.33.627.051.42.314 2.098 1.96 2.098z"
46+
fill="#F70A8D"
47+
></path>
48+
<path
49+
d="M11.976 23.099c1.646 0 1.909-1.678 1.96-2.098.039-.34-.137-.511-.33-.627-.191-.116-.768-.224-1.63-.224-.862 0-1.435.108-1.63.224-.196.116-.373.288-.33.627.051.42.314 2.098 1.96 2.098z"
50+
fill="#F70A8D"
51+
></path>
52+
<path
53+
d="M11.976 23.099c1.646 0 1.909-1.678 1.96-2.098.039-.34-.137-.511-.33-.627-.191-.116-.768-.224-1.63-.224-.862 0-1.435.108-1.63.224-.196.116-.373.288-.33.627.051.42.314 2.098 1.96 2.098z"
54+
fill="#20D45F"
55+
fillOpacity=".42"
56+
></path>
57+
<path
58+
d="M13.04.902c-1.149 0-1.597-.942-3.358-.9-1.916 0-2.785 1.064-3.727 1.883-.16.14-.942.574-1.31.737-1.612.717-2.826 1.761-2.826 3.318 0 1.696 1.43 3.071 3.194 3.071.29 0 .57-.037.838-.106.712.863 1.816 1.364 3.053 1.417 1.925.082 2.54-1.25 3.645-.697.758.38 1.133.697 2.334.697 1.402 0 2.053-.43 2.457-.901.738-.86 1.874-.328 2.58-.328 1.538 0 2.785-1.192 2.785-2.662s-1.246-2.662-2.784-2.662c-.422 0-1.217.104-1.393-.573C18.241 2.09 16.878.82 14.924.82c-.763 0-1.449.082-1.884.082z"
59+
fill="#A68AE2"
60+
></path>
61+
<path
62+
d="M11.756.518c.407.201.777.384 1.284.384.187 0 .42-.015.687-.032.352-.023.762-.05 1.197-.05 1.954 0 3.317 1.27 3.604 2.376.156.602.803.586 1.24.576l.152-.003c1.365 0 2.5.939 2.74 2.177.01.059-.09.072-.112.017l-.006-.017c-.387-.936-1.415-1.605-2.622-1.605-.044 0-.096 0-.152.002-.48.01-1.329.027-1.486-.525-.286-1.01-1.404-2.167-3.358-2.167-.435 0-.845.024-1.197.045-.266.016-.5.03-.687.03-.506 0-.877-.168-1.284-.352-.516-.232-1.09-.491-2.074-.47-1.66 0-2.533.728-3.35 1.409-.126.105-.25.209-.377.309-.16.127-.942.523-1.31.673-1.286.52-2.318 1.233-2.684 2.22-.02.054-.117.043-.108-.015l.001-.011c.211-1.31 1.34-2.222 2.79-2.867.37-.163 1.151-.597 1.311-.737.127-.11.251-.224.378-.339C7.149.8 8.023.001 9.683.001c.983-.023 1.557.261 2.073.517z"
63+
fill="#DBA6E9"
64+
></path>
65+
<circle cx="4.891" cy="1.025" fill="#7B61FF" r=".778"></circle>
66+
<circle cx="3.375" cy="8.192" fill="#D9D9D9" r="1.311"></circle>
67+
<circle cx="3.375" cy="8.192" fill="#F2314D" r="1.311"></circle>
68+
<circle cx="20.699" cy="3.4" fill="#7CEE1D" r="1.27"></circle>
69+
<path
70+
d="M9.701 19.34c.45-.068 1.163-.131 2.254-.131 1 0 1.683.053 2.136.114-.127.48-1.062.664-2.197.664-1.122 0-2.05-.18-2.193-.647z"
71+
fill="#fff"
72+
></path>
73+
<path
74+
d="M11.976 23.099c1.646 0 1.909-1.678 1.96-2.098.039-.34-.137-.511-.33-.627-.191-.116-.768-.224-1.63-.224-.862 0-1.435.108-1.63.224-.196.116-.373.288-.33.627.051.42.314 2.098 1.96 2.098z"
75+
fill="#F70A8D"
76+
></path>
77+
<path
78+
d="M11.976 23.099c1.646 0 1.909-1.678 1.96-2.098.039-.34-.137-.511-.33-.627-.191-.116-.768-.224-1.63-.224-.862 0-1.435.108-1.63.224-.196.116-.373.288-.33.627.051.42.314 2.098 1.96 2.098z"
79+
fill="#F70A8D"
80+
></path>
81+
<path
82+
d="M11.976 23.099c1.646 0 1.909-1.678 1.96-2.098.039-.34-.137-.511-.33-.627-.191-.116-.768-.224-1.63-.224-.862 0-1.435.108-1.63.224-.196.116-.373.288-.33.627.051.42.314 2.098 1.96 2.098z"
83+
fill="#F24630"
84+
></path>
85+
<path
86+
d="M12.934 9.972c-.47-.319-1.143-.348-1.621-.043a4.086 4.086 0 01-2.204.638c-2.217 0-4.014-1.742-4.014-3.89 0-2.149 1.797-3.89 4.014-3.89 1.116 0 2.126.44 2.853 1.154.406.397 1.072.51 1.597.295.407-.167.855-.259 1.324-.259 1.878 0 3.4 1.475 3.4 3.295 0 1.82-1.523 3.295-3.4 3.295-.725 0-1.397-.22-1.95-.595z"
87+
fill="#F4B8CA"
88+
></path>
89+
<path
90+
d="M18.282 7.272c0 .062-.088.066-.104.007-.373-1.427-1.707-2.483-3.295-2.483-.47 0-.917.093-1.324.26-.525.215-1.191.101-1.597-.296A4.064 4.064 0 009.11 3.605c-1.929 0-3.54 1.319-3.926 3.076-.011.052-.088.049-.088-.004 0-2.149 1.797-3.89 4.014-3.89 1.116 0 2.126.44 2.853 1.154.406.397 1.072.51 1.597.295.407-.167.855-.259 1.324-.259 1.878 0 3.4 1.475 3.4 3.295z"
91+
fill="#FFD7D7"
92+
></path>
93+
<path
94+
d="M16.808 8.07a1.106 1.106 0 11-2.211 0 1.106 1.106 0 012.211 0z"
95+
fill="#0C74FF"
96+
></path>
97+
</g>
98+
<defs>
99+
<clipPath id="a">
100+
<path d="M0 0h24v24H0z" fill="#fff"></path>
101+
</clipPath>
102+
</defs>
103+
</svg>
104+
);
105+
});
106+
107+
export default Icon;

0 commit comments

Comments
 (0)