lobehub_auto
v1.0.1
Published
Made with create-react-library
Downloads
14
Readme
lobehub_auto
基于 lobehub/icons 封装的 通过字符串名称使用
当前所支持的 icon
[
"Adobe",
"AdobeFirefly",
"Ai21",
"Alibaba",
"AntGroup",
"Anthropic",
"Automatic",
"Aws",
"Azure",
"Baichuan",
"Baidu",
"Bedrock",
"Bing",
"ByteDance",
"ChatGLM",
"Claude",
"Cloudflare",
"Cohere",
"Colab",
"Copilot",
"Dalle",
"Dbrx",
"DeepMind",
"DeepSeek",
"Fireworks",
"FishAudio",
"Gemini",
"Gemma",
"Github",
"GithubCopilot",
"Google",
"Grok",
"Groq",
"HuggingFace",
"Hunyuan",
"IconAvatar",
"IconCombine",
"Langfuse",
"LLaVA",
"LmStudio",
"LobeHub",
"Meta",
"Midjourney",
"Minimax",
"Mistral",
"Moonshot",
"Nvidia",
"Ollama",
"OpenAI",
"OpenChat",
"OpenRouter",
"Perplexity",
"Pollinations",
"Qingyan",
"Replicate",
"Rwkv",
"Spark",
"Stability",
"Stepfun",
"Suno",
"Tencent",
"Together",
"Tongyi",
"Vllm",
"Wenxin",
"WorkersAI",
"Yi",
"Zeabur",
"ZeroOne",
"Zhipu"
]
Made with create-react-library
Install
npm install --save lobehub_auto
Usage
import { UseIcon } from 'lobehub_auto'
const App = () => {
return <UseIcon name="Baichuan" render={(Icon, data) => {
return (
<>
<Icon.Avatar size={64} background={Icon.colorPrimary} shape={'square'} />
<Icon.Text size={64} background={Icon.colorPrimary} shape={'square'} />
<Icon.Combine size={64} type={'color'} color={Icon.colorPrimary} />
</>
)
}} />
}
License
MIT © yict