Alibaba Cloud Feitian Lab UI Component Library - Monorepo Version
简体中文 | English
Online Documentation: https://sparkdesign.agentscope.io/
| Package | Path | Description |
|---|---|---|
| @simolt/design | packages/spark-design |
Core design system component library, enhanced UI components based on Ant Design |
| @simolt/chat | packages/spark-chat |
LLM conversation component library for building AI chat experiences |
# Using pnpm (recommended)
pnpm install# Start spark-design dev server
pnpm run start:spark-design
# Start spark-chat dev server
pnpm run start:spark-chat# Build all packages
pnpm run build
# Build spark-design only
pnpm run build:spark-design
# Build spark-chat only
pnpm run build:spark-chat
# Build documentation
cd packages/spark-design
pnpm run docs:build
# Build GitHub Pages version
pnpm run docs:build:ghDocumentation is configured to automatically deploy to GitHub Pages.
- Quick Guide: DEPLOY_QUICKSTART.md
- Detailed Documentation: GITHUB_PAGES_SETUP.md
Documentation is automatically built and deployed on every push to the main branch.
simolt-design/
├── packages/
│ ├── spark-design/ # Core UI component library
│ │ ├── src/
│ │ │ ├── antd/ # Ant Design theme config
│ │ │ ├── components/ # UI components
│ │ │ │ ├── commonComponents/ # Common components
│ │ │ │ └── mobileComponents/ # Mobile components
│ │ │ ├── hooks/ # Shared hooks
│ │ │ ├── libs/ # Utility functions
│ │ │ └── i18n/ # Internationalization
│ │ ├── docs/ # Documentation source
│ │ └── package.json
│ │
│ └── spark-chat/ # LLM conversation library
│ ├── components/
│ │ ├── AGUI/ # AGUI components
│ │ ├── Bubble/ # Message bubble
│ │ ├── Sender/ # Message sender
│ │ ├── Markdown/ # Markdown renderer
│ │ ├── Mermaid/ # Diagram renderer
│ │ ├── Conversations/ # Conversation list
│ │ ├── ChatAnywhere/ # Ready-to-use chat container
│ │ └── ...
│ ├── docs/ # Documentation source
│ └── package.json
│
├── .github/
│ └── workflows/
│ └── deploy-docs.yml # GitHub Actions config
├── package.json # Root config
└── pnpm-lock.yaml
- Build Tool: Father
- Documentation: Dumi
- Package Manager: pnpm
- UI Framework: Ant Design 5
- Styling: Tailwind CSS + antd-style
- Code Quality: ESLint + Stylelint + Prettier + Husky
- 🎨 Custom theme system based on Ant Design 5
- 🔧 Enhanced UI components (Button, Modal, Select, etc.)
- 📱 Mobile component support
- 🎯 Custom icon system (@simolt/icons)
- 🌐 Internationalization support
- 🤖 Ready-to-use LLM conversation experience
- 📝 Markdown rendering (with math formulas and code highlighting)
- 🎨 Extensible card component system
- 📊 Mermaid diagram support
- 🔄 Streaming response support
- 🎙️ Voice input support
See rule files in .cursor/rules/ directory:
mastergo.mdc- MasterGo data processing rulescommonComponents.mdc- Standard component identification rules
Contributions are welcome! Please ensure:
- Follow existing code style
- Add necessary tests
- Update relevant documentation
- spark-design: MIT
- spark-chat: Apache-2.0