@openbrain/ui
v2.24.1
Published
AgentX UI is an open-source UI component library for building AIGC web apps
Downloads
83
Maintainers
Readme
AgentX UI is an open-source UI component library for building AIGC web apps
Documents · Changelog · Report Bug · Request Feature
[![][discord-shield]][discord-link]
[![][github-action-test-shield]][github-action-test-link]
[![][github-action-release-shield]][github-action-release-link]
TOC
📦 Installation
[!IMPORTANT]
This package is ESM only.
To install AgentX UI, run the following command:
$ bun add @openbrain/uiCompile with NextJS
[!NOTE]
By work correct with nextjs page router SSR, addtranspilePackages: ['@openbrain/ui']tonext.config.js. For example:
// next.config.js
const nextConfig = {
// ...other config
transpilePackages: ['@openbrain/ui'],
};🤯 Usage
[!NOTE]
The AgentX UI components are developed based on Antd, fully compatible with Antd components, and it is recommended to use antd-style as the default css-in-js styling solution.
import { ThemeProvider, Button } from '@openbrain/ui'
import { Button } from 'antd'
export default () => (
<ThemeProvider>
<Button>Hello AIGC</Button>
</ThemeProvider>
)⌨️ Local Development
You can use Github Codespaces for online development:
[![][codespaces-shield]][codespaces-link]
Or clone it for local development:
$ git clone https://github.com/AgentXChat/AgentX-UI.git
$ cd AgentX-UI
$ bun install
$ bun start🤝 Contributing
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.
🔗 Links
Design Resources
- 🍭 AgentX UI - An open-source UI component library for building AIGC web apps.
- 🥨 AgentX Icons - Popular AI / LLM Model Brand SVG Logo and Icon Collection.
Development Resources
- 🎤 AgentX TTS - A high-quality & reliable TTS/STT library for Server and Browser
- 🌏 AgentX i18n - Automation ai tool for the i18n (internationalization) translation process.
[![][fossa-license-shield]][fossa-license-link]

