Lobe UI is the React component library behind LobeHub, made for building AI chat and AIGC web apps.
Built for AI apps: render LLM output (Markdown, code, Mermaid diagrams, diffs, HTML previews) and ship chat interfaces without building them from scratch.
From landing page to admin console: one design language across chat, dashboards, data tables, forms and marketing pages.
Theme in one line: light and dark modes plus primary and neutral colors switch with a single attribute, with no flash on first load.
Easy to restyle: stable class names let you override any component with plain CSS or Tailwind.
Ready for global users: English and Simplified Chinese texts included.
AI-native docs: coding agents read every component’s usage and props through skills.md and llms.txt.
Theming, i18n, CSS layers and framework setup are covered in the documentation. Upgrading from 5.x? v6 drops Ant Design; follow the v6 migration guide.
🤖 AI-Powered Development
Lobe UI’s docs are generated for coding agents as well as people.
npx @lobehub/ui-codemod@latest v6 . --dry: rewrites v5 code and writes a JSON report agents can work through
Paste this into Cursor, Claude Code, Codex or any other coding agent:
Read https://ui.lobehub.com/skills.md, then use @lobehub/ui to build a chat page with a message list and an input box. Only use components, props and imports documented there.
Works with Cursor, Claude Code, Windsurf, GitHub Copilot and other llms.txt-aware tools.
Contributions of all types are more than welcome, if you are interested in contributing code, feel free to check out our GitHub Issues to get stuck in to show us what you’re made of.
🩷 Sponsor
Every bit counts and your one-time donation sparkles in our galaxy of support! You’re a shooting star, making a swift and bright impact on our journey. Thank you for believing in us – your generosity guides us toward our mission, one brilliant flash at a time.
评论