diff --git a/README.md b/README.md index 4b16bad8..fa69ac9f 100644 --- a/README.md +++ b/README.md @@ -61,9 +61,9 @@ Contributions, corrections & requests can be made on GitHub. -| Model | Provider | Application | -| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| ✅ [Ai21Labs (Jamba)](https://icons.lobehub.com/components/ai-21)
✅ [Baichuan (百川)](https://icons.lobehub.com/components/baichuan)
✅ [Claude](https://icons.lobehub.com/components/claude)
✅ [CodeGeeX](https://icons.lobehub.com/components/code-gee-x)
✅ [Cohere (Aya)](https://icons.lobehub.com/components/aya)
✅ [Databricks (DBRX)](https://icons.lobehub.com/components/dbrx)
✅ [DeepSeek](https://icons.lobehub.com/components/deep-seek)
✅ [Doubao (豆包)](https://icons.lobehub.com/components/doubao)
✅ [FishAudio (Bert)](https://icons.lobehub.com/components/fish-audio)
✅ [Google (Gemini)](https://icons.lobehub.com/components/gemini)
✅ [Google (Gemma)](https://icons.lobehub.com/components/gemma)
✅ [Grok](https://icons.lobehub.com/components/grok)
✅ [Hunyuan (腾讯混元)](https://icons.lobehub.com/components/hunyuan)
✅ [LLaVA](https://icons.lobehub.com/components/l-la-va)
✅ [Magic](https://icons.lobehub.com/components/magic)
✅ [Minimax](https://icons.lobehub.com/components/minimax)
✅ [Mistral](https://icons.lobehub.com/components/mistral)
✅ [OpenAI (DALL·E)](https://icons.lobehub.com/components/dalle)
✅ [OpenChat](https://icons.lobehub.com/components/open-chat)
✅ [Qwen (千问)](https://icons.lobehub.com/components/qwen)
✅ [RWKV](https://icons.lobehub.com/components/rwkv)
✅ [Spark (讯飞星火)](https://icons.lobehub.com/components/spark)
✅ [Stepfun (阶跃星辰)](https://icons.lobehub.com/components/stepfun)
✅ [Wenxin (文心)](https://icons.lobehub.com/components/wenxin)
✅ [Yi (零一万物)](https://icons.lobehub.com/components/yi)
✅ [Zhipu (ChatGLM)](https://icons.lobehub.com/components/chat-glm) | ✅ [01.AI (零一万物)](https://icons.lobehub.com/components/zero-one)
✅ [Ai360 (360 智脑)](https://icons.lobehub.com/components/ai-360)
✅ [AiMass (紫东太初)](https://icons.lobehub.com/components/ai-mass)
✅ [Alibaba](https://icons.lobehub.com/components/alibaba)
✅ [AntGroup](https://icons.lobehub.com/components/ant-group)
✅ [Anthropic](https://icons.lobehub.com/components/anthropic)
✅ [AWS](https://icons.lobehub.com/components/aws)
✅ [AWS (Bedrock)](https://icons.lobehub.com/components/bedrock)
✅ [Baidu](https://icons.lobehub.com/components/baidu)
✅ [ByteDance](https://icons.lobehub.com/components/byte-dance)
✅ [Cloudflare](https://icons.lobehub.com/components/cloudflare)
✅ [Cloudflare (WorkersAI)](https://icons.lobehub.com/components/workers-ai)
✅ [Cohere (Command)](https://icons.lobehub.com/components/cohere)
✅ [Fireworks](https://icons.lobehub.com/components/fireworks)
✅ [Google](https://icons.lobehub.com/components/google)
✅ [Google(DeepMind)](https://icons.lobehub.com/components/deep-mind)
✅ [Groq](https://icons.lobehub.com/components/groq)
✅ [HuggingFace](https://icons.lobehub.com/components/hugging-face)
✅ [InternLM](https://icons.lobehub.com/components/intern-lm)
✅ [LM Studio](https://icons.lobehub.com/components/lm-studio)
✅ [LobeHub](https://icons.lobehub.com/components/lobe-hub)
✅ [Meta](https://icons.lobehub.com/components/meta)
✅ [Microsoft (Azure)](https://icons.lobehub.com/components/azure)
✅ [Moonshot (月之暗面)](https://icons.lobehub.com/components/moonshot)
✅ [Novita](https://icons.lobehub.com/components/novita)
✅ [Ollama](https://icons.lobehub.com/components/ollama)
✅ [OpenAI (ChatGPT)](https://icons.lobehub.com/components/open-ai)
✅ [OpenRouter](https://icons.lobehub.com/components/open-router)
✅ [Perplexity](https://icons.lobehub.com/components/perplexity)
✅ [Replicate](https://icons.lobehub.com/components/replicate)
✅ [SiliconCloud (SiliconFlow)](https://icons.lobehub.com/components/silicon-cloud)
✅ [Stability (StableDiffusion)](https://icons.lobehub.com/components/stability)
✅ [Tencent](https://icons.lobehub.com/components/tencent)
✅ [together.ai](https://icons.lobehub.com/components/together)
✅ [Upsate](https://icons.lobehub.com/components/upstage)
✅ [vLLM](https://icons.lobehub.com/components/vllm)
✅ [Zeabur](https://icons.lobehub.com/components/zeabur)
✅ [Zhipu (智谱)](https://icons.lobehub.com/components/zhipu) | ✅ [Adobe](https://icons.lobehub.com/components/adobe)
✅ [Adobe (Firefly)](https://icons.lobehub.com/components/adobe-firefly)
✅ [Automatic1111 (SD Webui)](https://icons.lobehub.com/components/automatic)
✅ [Github](https://icons.lobehub.com/components/github)
✅ [Github Copilot](https://icons.lobehub.com/components/github-copilot)
✅ [Google (Colab)](https://icons.lobehub.com/components/colab)
✅ [Langfuse](https://icons.lobehub.com/components/langfuse)
✅ [Microsoft Copilot](https://icons.lobehub.com/components/copilot)
✅ [Midjourney](https://icons.lobehub.com/components/midjourney)
✅ [Nvidia (ChatWithRTX)](https://icons.lobehub.com/components/nvidia)
✅ [Pollinations](https://icons.lobehub.com/components/pollinations)
✅ [Qingyan (智谱清言)](https://icons.lobehub.com/components/qingyan)
✅ [Suno](https://icons.lobehub.com/components/suno) | +| Model | Provider | Application | +| ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | +| ✅ [Ai21Labs (Jamba)](https://icons.lobehub.com/components/ai-21)
✅ [Aya (Cohere)](https://icons.lobehub.com/components/aya)
✅ [Baichuan (百川)](https://icons.lobehub.com/components/baichuan)
✅ [ChatGLM (智谱)](https://icons.lobehub.com/components/chat-glm)
✅ [Claude](https://icons.lobehub.com/components/claude)
✅ [CodeGeeX](https://icons.lobehub.com/components/code-gee-x)
✅ [DALL·E (OpenAI)](https://icons.lobehub.com/components/dalle)
✅ [DBRX (Databricks)](https://icons.lobehub.com/components/dbrx)
✅ [DeepSeek](https://icons.lobehub.com/components/deep-seek)
✅ [Doubao (豆包)](https://icons.lobehub.com/components/doubao)
✅ [FishAudio (Bert)](https://icons.lobehub.com/components/fish-audio)
✅ [Flux (black forest labs)](https://icons.lobehub.com/components/flux)
✅ [Gemini (Google)](https://icons.lobehub.com/components/gemini)
✅ [Gemma (Google)](https://icons.lobehub.com/components/gemma)
✅ [Grok](https://icons.lobehub.com/components/grok)
✅ [Hunyuan (腾讯混元)](https://icons.lobehub.com/components/hunyuan)
✅ [LLaVA](https://icons.lobehub.com/components/l-la-va)
✅ [Magic](https://icons.lobehub.com/components/magic)
✅ [Minimax](https://icons.lobehub.com/components/minimax)
✅ [Mistral](https://icons.lobehub.com/components/mistral)
✅ [OpenChat](https://icons.lobehub.com/components/open-chat)
✅ [PaLM (Google)](https://icons.lobehub.com/components/pa-lm)
✅ [Qwen (千问)](https://icons.lobehub.com/components/qwen)
✅ [RWKV](https://icons.lobehub.com/components/rwkv)
✅ [Spark (讯飞星火)](https://icons.lobehub.com/components/spark)
✅ [Stepfun (阶跃星辰)](https://icons.lobehub.com/components/stepfun)
✅ [Wenxin (文心)](https://icons.lobehub.com/components/wenxin)
✅ [Yi (零一万物)](https://icons.lobehub.com/components/yi) | ✅ [01.AI (零一万物)](https://icons.lobehub.com/components/zero-one)
✅ [Ai360 (360 智脑)](https://icons.lobehub.com/components/ai-360)
✅ [AiMass (紫东太初)](https://icons.lobehub.com/components/ai-mass)
✅ [Alibaba](https://icons.lobehub.com/components/alibaba)
✅ [AntGroup](https://icons.lobehub.com/components/ant-group)
✅ [Anthropic](https://icons.lobehub.com/components/anthropic)
✅ [AWS](https://icons.lobehub.com/components/aws)
✅ [Baidu](https://icons.lobehub.com/components/baidu)
✅ [Bedrock (AWS)](https://icons.lobehub.com/components/bedrock)
✅ [ByteDance](https://icons.lobehub.com/components/byte-dance)
✅ [Cloudflare](https://icons.lobehub.com/components/cloudflare)
✅ [Cohere (Command)](https://icons.lobehub.com/components/cohere)
✅ [DeepMind (Google)](https://icons.lobehub.com/components/deep-mind)
✅ [Fireworks](https://icons.lobehub.com/components/fireworks)
✅ [Google](https://icons.lobehub.com/components/google)
✅ [Groq](https://icons.lobehub.com/components/groq)
✅ [HuggingFace](https://icons.lobehub.com/components/hugging-face)
✅ [InternLM](https://icons.lobehub.com/components/intern-lm)
✅ [LM Studio](https://icons.lobehub.com/components/lm-studio)
✅ [LobeHub](https://icons.lobehub.com/components/lobe-hub)
✅ [Meta](https://icons.lobehub.com/components/meta)
✅ [Microsoft (Azure)](https://icons.lobehub.com/components/azure)
✅ [Moonshot (月之暗面)](https://icons.lobehub.com/components/moonshot)
✅ [Novita](https://icons.lobehub.com/components/novita)
✅ [Ollama](https://icons.lobehub.com/components/ollama)
✅ [OpenAI (ChatGPT)](https://icons.lobehub.com/components/open-ai)
✅ [OpenRouter](https://icons.lobehub.com/components/open-router)
✅ [Perplexity](https://icons.lobehub.com/components/perplexity)
✅ [Replicate](https://icons.lobehub.com/components/replicate)
✅ [SiliconCloud (SiliconFlow)](https://icons.lobehub.com/components/silicon-cloud)
✅ [Stability (StableDiffusion)](https://icons.lobehub.com/components/stability)
✅ [Tencent](https://icons.lobehub.com/components/tencent)
✅ [together.ai](https://icons.lobehub.com/components/together)
✅ [Upsate](https://icons.lobehub.com/components/upstage)
✅ [vLLM](https://icons.lobehub.com/components/vllm)
✅ [WorkersAI (Cloudflare)](https://icons.lobehub.com/components/workers-ai)
✅ [Zeabur](https://icons.lobehub.com/components/zeabur)
✅ [Zhipu (智谱)](https://icons.lobehub.com/components/zhipu) | ✅ [Adobe](https://icons.lobehub.com/components/adobe)
✅ [Automatic1111 (SD Webui)](https://icons.lobehub.com/components/automatic)
✅ [Firefly (Adobe)](https://icons.lobehub.com/components/adobe-firefly)
✅ [Github](https://icons.lobehub.com/components/github)
✅ [Github Copilot](https://icons.lobehub.com/components/github-copilot)
✅ [Google (Colab)](https://icons.lobehub.com/components/colab)
✅ [Langfuse](https://icons.lobehub.com/components/langfuse)
✅ [Microsoft Copilot](https://icons.lobehub.com/components/copilot)
✅ [Midjourney](https://icons.lobehub.com/components/midjourney)
✅ [Nvidia (ChatWithRTX)](https://icons.lobehub.com/components/nvidia)
✅ [Pollinations](https://icons.lobehub.com/components/pollinations)
✅ [Qingyan (智谱清言)](https://icons.lobehub.com/components/qingyan)
✅ [Suno](https://icons.lobehub.com/components/suno) | diff --git a/src/AdobeFirefly/index.md b/src/AdobeFirefly/index.md index 3526ccbd..e838854c 100644 --- a/src/AdobeFirefly/index.md +++ b/src/AdobeFirefly/index.md @@ -1,7 +1,7 @@ --- nav: Components group: Application -title: Adobe (Firefly) +title: Firefly (Adobe) atomId: AdobeFirefly description: https://firefly.adobe.com --- diff --git a/src/Aya/index.md b/src/Aya/index.md index 4b4b1a12..06031965 100644 --- a/src/Aya/index.md +++ b/src/Aya/index.md @@ -1,7 +1,7 @@ --- nav: Components group: Model -title: Cohere (Aya) +title: Aya (Cohere) atomId: Aya description: https://cohere.com/research/aya --- diff --git a/src/Bedrock/index.md b/src/Bedrock/index.md index 201b3c00..3f7a100e 100644 --- a/src/Bedrock/index.md +++ b/src/Bedrock/index.md @@ -1,7 +1,7 @@ --- nav: Components group: Provider -title: AWS (Bedrock) +title: Bedrock (AWS) atomId: Bedrock description: https://aws.amazon.com/bedrock --- diff --git a/src/ChatGLM/index.md b/src/ChatGLM/index.md index feaa469d..61900fb4 100644 --- a/src/ChatGLM/index.md +++ b/src/ChatGLM/index.md @@ -2,7 +2,7 @@ nav: Components group: Model atomId: ChatGLM -title: Zhipu (ChatGLM) +title: ChatGLM (智谱) description: /~https://github.com/THUDM/ChatGLM-6B --- diff --git a/src/Dalle/index.md b/src/Dalle/index.md index a49faa86..85fdb668 100644 --- a/src/Dalle/index.md +++ b/src/Dalle/index.md @@ -1,7 +1,7 @@ --- nav: Components group: Model -title: OpenAI (DALL·E) +title: DALL·E (OpenAI) atomId: Dalle description: https://openai.com/dall-e-3 --- diff --git a/src/Dbrx/index.md b/src/Dbrx/index.md index d34c44ea..c9b7ce48 100644 --- a/src/Dbrx/index.md +++ b/src/Dbrx/index.md @@ -1,7 +1,7 @@ --- nav: Components group: Model -title: Databricks (DBRX) +title: DBRX (Databricks) atomId: Dbrx description: https://www.databricks.com --- diff --git a/src/DeepMind/index.md b/src/DeepMind/index.md index c5315bff..fb8b475a 100644 --- a/src/DeepMind/index.md +++ b/src/DeepMind/index.md @@ -1,7 +1,7 @@ --- nav: Components group: Provider -title: Google(DeepMind) +title: DeepMind (Google) atomId: DeepMind description: https://deepmind.google --- diff --git a/src/Doubao/style.ts b/src/Doubao/style.ts index 5e4743ed..5d54ef2a 100644 --- a/src/Doubao/style.ts +++ b/src/Doubao/style.ts @@ -1,4 +1,4 @@ export const TITLE = 'Doubao'; export const TEXT_MULTIPLE = 0.8; export const SPACE_MULTIPLE = 0.1; -export const COLOR_PRIMARY = '#EEEEEE'; +export const COLOR_PRIMARY = '#FFF'; diff --git a/src/Flux/components/Avatar.tsx b/src/Flux/components/Avatar.tsx new file mode 100644 index 00000000..d6bb8eb0 --- /dev/null +++ b/src/Flux/components/Avatar.tsx @@ -0,0 +1,22 @@ +import { memo } from 'react'; + +import IconAvatar, { type IconAvatarProps } from '@/IconAvatar'; + +import { COLOR_PRIMARY, TITLE } from '../style'; +import Mono from './Mono'; + +export type AvatarProps = Omit; + +const Avatar = memo(({ background, ...rest }) => { + return ( + + ); +}); + +export default Avatar; diff --git a/src/Flux/components/Combine.tsx b/src/Flux/components/Combine.tsx new file mode 100644 index 00000000..dfa6ada1 --- /dev/null +++ b/src/Flux/components/Combine.tsx @@ -0,0 +1,24 @@ +import { memo } from 'react'; + +import IconCombine, { type IconCombineProps } from '@/IconCombine'; + +import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from '../style'; +import Mono from './Mono'; +import Text from './Text'; + +export type CombineProps = Omit; + +const Combine = memo(({ ...rest }) => { + return ( + + ); +}); + +export default Combine; diff --git a/src/Flux/components/Mono.tsx b/src/Flux/components/Mono.tsx new file mode 100644 index 00000000..128d1d4c --- /dev/null +++ b/src/Flux/components/Mono.tsx @@ -0,0 +1,34 @@ +import { forwardRef } from 'react'; + +import type { IconType } from '@/types'; + +import { TITLE } from '../style'; + +const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => { + return ( + + {TITLE} + + + + + + + + + + + ); +}); + +export default Icon; diff --git a/src/Flux/components/Text.tsx b/src/Flux/components/Text.tsx new file mode 100644 index 00000000..dc8c7e72 --- /dev/null +++ b/src/Flux/components/Text.tsx @@ -0,0 +1,25 @@ +import { forwardRef } from 'react'; + +import type { IconType } from '@/types'; + +import { TITLE } from '../style'; + +const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => { + return ( + + {TITLE} + + + ); +}); + +export default Icon; diff --git a/src/Flux/index.md b/src/Flux/index.md new file mode 100644 index 00000000..84fe85e6 --- /dev/null +++ b/src/Flux/index.md @@ -0,0 +1,66 @@ +--- +nav: Components +group: Model +title: Flux (black forest labs) +atomId: Flux +description: https://blackforestlabs.ai/#get-flux +--- + +## Icons + +```tsx +import { Flux } from '@lobehub/icons'; +import { Flexbox } from 'react-layout-kit'; + +export default () => ; +``` + +## Text + +```tsx +import { Flux } from '@lobehub/icons'; + +export default () => ; +``` + +## Combine + +```tsx +import { Flux } from '@lobehub/icons'; +import { Flexbox } from 'react-layout-kit'; + +export default () => ( + + + +); +``` + +## Avatars + +```tsx +import { Flux } from '@lobehub/icons'; +import { Flexbox } from 'react-layout-kit'; + +export default () => ( + + + + +); +``` + +## Colors + +```tsx +import { Flux } from '@lobehub/icons'; +import { Flexbox } from 'react-layout-kit'; + +import ColorPreview from '../components/ColorPreview'; + +export default () => ( + + + +); +``` diff --git a/src/Flux/index.ts b/src/Flux/index.ts new file mode 100644 index 00000000..e7cb073a --- /dev/null +++ b/src/Flux/index.ts @@ -0,0 +1,21 @@ +import Avatar from './components/Avatar'; +import Combine from './components/Combine'; +import Mono from './components/Mono'; +import Text from './components/Text'; +import { COLOR_PRIMARY, TITLE } from './style'; + +export type CompoundedIcon = typeof Mono & { + Avatar: typeof Avatar; + Combine: typeof Combine; + Text: typeof Text; + colorPrimary: string; + title: string; +}; + +const Icons = Mono as CompoundedIcon; +Icons.Text = Text; +Icons.Combine = Combine; +Icons.Avatar = Avatar; +Icons.colorPrimary = COLOR_PRIMARY; +Icons.title = TITLE; +export default Icons; diff --git a/src/Flux/style.ts b/src/Flux/style.ts new file mode 100644 index 00000000..6c729218 --- /dev/null +++ b/src/Flux/style.ts @@ -0,0 +1,4 @@ +export const TITLE = 'Flux'; +export const TEXT_MULTIPLE = 0.75; +export const SPACE_MULTIPLE = 0.2; +export const COLOR_PRIMARY = '#fff'; diff --git a/src/Gemini/index.md b/src/Gemini/index.md index 011e5af7..e3e6023b 100644 --- a/src/Gemini/index.md +++ b/src/Gemini/index.md @@ -1,7 +1,7 @@ --- nav: Components group: Model -title: Google (Gemini) +title: Gemini (Google) atomId: Gemini description: https://deepmind.google/technologies/gemini --- diff --git a/src/Gemma/index.md b/src/Gemma/index.md index 483ed9e5..248aa1cd 100644 --- a/src/Gemma/index.md +++ b/src/Gemma/index.md @@ -1,7 +1,7 @@ --- nav: Components group: Model -title: Google (Gemma) +title: Gemma (Google) atomId: Gemma description: https://ai.google.dev/gemma --- diff --git a/src/ModelIcon/const.ts b/src/ModelIcon/const.ts index 03d4766e..44553349 100644 --- a/src/ModelIcon/const.ts +++ b/src/ModelIcon/const.ts @@ -92,8 +92,6 @@ export const modelMappings: ModelMapping[] = [ { Icon: Baichuan, keywords: ['baichuan'] }, { Icon: Rwkv, keywords: ['rwkv'] }, { Icon: Wenxin, keywords: ['ernie'] }, - { Icon: Doubao, keywords: ['^doubao', 'doubao-'] }, - { Icon: Spark, keywords: ['spark', 'general', 'pro-128k', '4.0ultra'] }, { Icon: Hunyuan, keywords: ['hunyuan'] }, { Icon: FishAudio, keywords: ['^d_', '^g_', '^wd_'] }, { Icon: ByteDance, keywords: ['skylark'] }, @@ -116,5 +114,7 @@ export const modelMappings: ModelMapping[] = [ { Icon: Ai21, keywords: ['jamba', '^j2-'] }, { Icon: InternLM, keywords: ['internlm'] }, { Icon: Upstage, keywords: ['^solar-'] }, + { Icon: Doubao, keywords: ['^doubao', 'doubao-'] }, { Icon: Google, keywords: ['google'] }, + { Icon: Spark, keywords: ['spark', 'general', 'pro-128k', '4.0ultra'] }, ]; diff --git a/src/PaLM/components/Avatar.tsx b/src/PaLM/components/Avatar.tsx new file mode 100644 index 00000000..dcc12cb2 --- /dev/null +++ b/src/PaLM/components/Avatar.tsx @@ -0,0 +1,21 @@ +import { memo } from 'react'; + +import IconAvatar, { type IconAvatarProps } from '@/IconAvatar'; + +import { COLOR_PRIMARY, TITLE } from '../style'; +import Color from './Color'; + +export type AvatarProps = Omit; + +const Avatar = memo(({ background, ...rest }) => { + return ( + + ); +}); + +export default Avatar; diff --git a/src/PaLM/components/Color.tsx b/src/PaLM/components/Color.tsx new file mode 100644 index 00000000..bf2fa555 --- /dev/null +++ b/src/PaLM/components/Color.tsx @@ -0,0 +1,51 @@ +import { forwardRef } from 'react'; + +import type { IconType } from '@/types'; + +import { TITLE } from '../style'; + +const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => { + return ( + + {TITLE} + + + + + + + + + ); +}); + +export default Icon; diff --git a/src/PaLM/components/Combine.tsx b/src/PaLM/components/Combine.tsx new file mode 100644 index 00000000..2d4ede6f --- /dev/null +++ b/src/PaLM/components/Combine.tsx @@ -0,0 +1,28 @@ +import { memo } from 'react'; + +import IconCombine, { type IconCombineProps } from '@/IconCombine'; + +import { SPACE_MULTIPLE, TEXT_MULTIPLE, TITLE } from '../style'; +import Color from './Color'; +import Mono from './Mono'; +import Text from './Text'; + +export interface CombineProps extends Omit { + type?: 'color' | 'mono'; +} +const Combine = memo(({ type = 'mono', ...rest }) => { + const Icon = type === 'color' ? Color : Mono; + + return ( + + ); +}); + +export default Combine; diff --git a/src/PaLM/components/Mono.tsx b/src/PaLM/components/Mono.tsx new file mode 100644 index 00000000..e5a160b4 --- /dev/null +++ b/src/PaLM/components/Mono.tsx @@ -0,0 +1,32 @@ +import { forwardRef } from 'react'; + +import type { IconType } from '@/types'; + +import { TITLE } from '../style'; + +const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => { + return ( + + {TITLE} + + + + + + + + + ); +}); + +export default Icon; diff --git a/src/PaLM/components/Text.tsx b/src/PaLM/components/Text.tsx new file mode 100644 index 00000000..c8aa70f8 --- /dev/null +++ b/src/PaLM/components/Text.tsx @@ -0,0 +1,25 @@ +import { forwardRef } from 'react'; + +import type { IconType } from '@/types'; + +import { TITLE } from '../style'; + +const Icon: IconType = forwardRef(({ size = '1em', style, ...rest }, ref) => { + return ( + + {TITLE} + + + ); +}); + +export default Icon; diff --git a/src/PaLM/index.md b/src/PaLM/index.md new file mode 100644 index 00000000..9fbb6d41 --- /dev/null +++ b/src/PaLM/index.md @@ -0,0 +1,72 @@ +--- +nav: Components +group: Model +title: PaLM (Google) +atomId: PaLM +description: https://ai.google/discover/palm2 +--- + +## Icons + +```tsx +import { PaLM } from '@lobehub/icons'; +import { Flexbox } from 'react-layout-kit'; + +export default () => ( + + + + +); +``` + +## Text + +```tsx +import { PaLM } from '@lobehub/icons'; + +export default () => ; +``` + +## Combine + +```tsx +import { PaLM } from '@lobehub/icons'; +import { Flexbox } from 'react-layout-kit'; + +export default () => ( + + + + +); +``` + +## Avatars + +```tsx +import { PaLM } from '@lobehub/icons'; +import { Flexbox } from 'react-layout-kit'; + +export default () => ( + + + + +); +``` + +## Colors + +```tsx +import { PaLM } from '@lobehub/icons'; +import { Flexbox } from 'react-layout-kit'; + +import ColorPreview from '../components/ColorPreview'; + +export default () => ( + + + +); +``` diff --git a/src/PaLM/index.ts b/src/PaLM/index.ts new file mode 100644 index 00000000..92a3b98c --- /dev/null +++ b/src/PaLM/index.ts @@ -0,0 +1,25 @@ +import Avatar from './components/Avatar'; +import Color from './components/Color'; +import Combine from './components/Combine'; +import Mono from './components/Mono'; +import Text from './components/Text'; +import { COLOR_PRIMARY, TITLE } from './style'; + +export type CompoundedIcon = typeof Mono & { + Avatar: typeof Avatar; + Color: typeof Color; + Combine: typeof Combine; + Text: typeof Text; + colorPrimary: string; + title: string; +}; + +const Icons = Mono as CompoundedIcon; +Icons.Color = Color; +Icons.Text = Text; +Icons.Combine = Combine; +Icons.Avatar = Avatar; +Icons.colorPrimary = COLOR_PRIMARY; +Icons.title = TITLE; + +export default Icons; diff --git a/src/PaLM/style.ts b/src/PaLM/style.ts new file mode 100644 index 00000000..725065cc --- /dev/null +++ b/src/PaLM/style.ts @@ -0,0 +1,4 @@ +export const TITLE = 'PaLM'; +export const TEXT_MULTIPLE = 0.75; +export const SPACE_MULTIPLE = 0.2; +export const COLOR_PRIMARY = '#FFF'; diff --git a/src/WorkersAI/index.md b/src/WorkersAI/index.md index fa0191f0..90e56bc6 100644 --- a/src/WorkersAI/index.md +++ b/src/WorkersAI/index.md @@ -1,7 +1,7 @@ --- nav: Components group: Provider -title: Cloudflare (WorkersAI) +title: WorkersAI (Cloudflare) atomId: WorkersAI description: https://developers.cloudflare.com/workers-ai --- diff --git a/src/index.ts b/src/index.ts index 754f6f17..12f120e5 100644 --- a/src/index.ts +++ b/src/index.ts @@ -29,6 +29,7 @@ export { default as DeepSeek, type CompoundedIcon as DeepSeekProps } from './Dee export { default as Doubao, type CompoundedIcon as DoubaoProps } from './Doubao'; export { default as Fireworks, type CompoundedIcon as FireworksProps } from './Fireworks'; export { default as FishAudio, type CompoundedIcon as FishAudioProps } from './FishAudio'; +export { default as Flux, type CompoundedIcon as FluxProps } from './Flux'; export { default as Gemini, type CompoundedIcon as GeminiProps } from './Gemini'; export { default as Gemma, type CompoundedIcon as GemmaProps } from './Gemma'; export { default as Github, type CompoundedIcon as GithubProps } from './Github'; @@ -63,6 +64,7 @@ export { default as Ollama, type CompoundedIcon as OllamaProps } from './Ollama' export { default as OpenAI, type CompoundedIcon as OpenAIProps } from './OpenAI'; export { default as OpenChat, type CompoundedIcon as OpenChatProps } from './OpenChat'; export { default as OpenRouter, type CompoundedIcon as OpenRouterProps } from './OpenRouter'; +export { default as PaLM, type CompoundedIcon as PaLMProps } from './PaLM'; export { default as Perplexity, type CompoundedIcon as PerplexityProps } from './Perplexity'; export { default as Pollinations, type CompoundedIcon as PollinationsProps } from './Pollinations'; export { default as ProviderCombine, type ProviderCombineProps } from './ProviderCombine';