@chaibuilder/sdk

中文文档
4.0.0-beta.51发布于 2026/03/16BSD-3-ClauseTypeScriptESM + CJS近 30 天下载 2048

AI Enabled Open source website builder for ReactJS

原始使用文档
文档目录5 节
  1. ✨ Features
  2. 📦 Packages
  3. 🎯 Use Cases
  4. 🤝 Support
  5. Acknowledgments

Chai Builder - Open Source React Website Builder

npm version License

Chai Builder is a full open-source React website builder that empowers developers to create stunning web pages visually using drag-and-drop functionality. Built with React and Tailwind CSS, it seamlessly integrates into your existing projects.

🚀 Out-of-the-box support for:

  • Next.js 16
  • Tailwind CSS v3+

📚 CodeWiki | 🎨 Live Demo

CHAI BUILDER

✨ Features

  • 🎨 Visual Drag & Drop Builder - Create pages visually without writing code
  • ⚛️ React-First - Built as a React component for seamless integration
  • 🎯 Tailwind CSS Powered - Leverage the full power of Tailwind CSS v3+
  • 🚀 Next.js 16 Ready - Full support for the latest Next.js features
  • 🔧 Two Flexible Modes - Use as a core builder component or as a complete Next.js website builder
  • 📦 Extensible - Add custom blocks and components
  • 💾 Data Control - Full control over how and where you save your data
  • 🎭 Framework Agnostic Rendering - Render blocks in any React application

📦 Packages

Chai Builder is available in three packages:

Featuresdk
(reactjs)
next
(nextjs)
pro
(multi-tenant nextjs)
Drag & Drop React Builder✅✅✅
Extensible API✅✅✅
Inner Hooks✅✅✅
Custom Blocks✅✅✅
Custom Panels✅✅✅
Data Binding✅✅✅
i18n Support✅✅✅
AI Panel(standard)✅✅✅
Theme System✅✅✅
Import HTML✅✅✅
Partial Blocks✅✅
Page Types✅✅
Collections✅✅
Media Manager✅✅
SEO & JSON-LD✅✅
Preview Mode✅✅
CMS Integration✅✅
BYO Stack✅✅
Multiple Languages✅
AI for SEO✅
Revisions✅
Design Tokens✅
Library✅
Multi User✅
AI Context & Advanced AI✅
Multi-tenant Support✅
Reveal Animations🔜
New Builder UI🔜
Registry of Custom Blocks🔜
Premium Templates🔜

🎯 Use Cases

  • Landing Pages - Build beautiful landing pages with ease
  • Marketing Websites - Create and update marketing content visually
  • Content Management - Empower non-technical users to create pages
  • Rapid Prototyping - Quickly prototype and iterate on designs
  • White-Label Solutions - Build page builders into your SaaS products

🤝 Support

If you like the project, you can assist us in expanding. ChaiBuilder is a collaborative endeavor crafted by developers in their free time. We value every contribution, no matter how modest, as each one represents a significant step forward in various ways, particularly in fueling our drive to enhance this tool continually.

Buy Me A Coffee

Acknowledgments

Chai Builder stands on the shoulders of many open-source libraries and tools. We extend our gratitude to the developers and maintainers of these projects for their contributions.

版本与发布记录

@chaibuilder/sdk 共发布 531 个版本,首次发布于 2023/11/14;过去 12 个月发布了 86 个版本。

版本发布日期距今
4.0.0-beta.51latest2026/03/167 个月前
4.0.0-beta.502026/03/157 个月前
4.0.0-beta.492026/03/137 个月前
4.0.0-beta.482026/03/117 个月前
4.0.0-beta.472026/03/108 个月前
4.0.0-beta.462026/03/058 个月前

其他发布通道:next → 4.0.0-beta.6。

关于 @chaibuilder/sdk 的常见问题

@chaibuilder/sdk 是什么?

AI Enabled Open source website builder for ReactJS

如何安装 @chaibuilder/sdk?

在项目目录运行 npm install @chaibuilder/sdk,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:react(^18.0 || ^19.0 || ^19.1 || ^19.2)、react-dom(^18.0 || ^19.0 || ^19.1 || ^19.2)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@chaibuilder/sdk 支持 TypeScript 吗?

支持。包内自带 TypeScript 类型声明(package.json 声明了 types 入口),安装后即可获得类型提示,无需再安装 @types 包。

@chaibuilder/sdk 支持 ESM 还是 CommonJS?

同时提供 ES Module 与 CommonJS 入口,import 和 require() 都可以使用,打包工具会自动选择合适的版本。

@chaibuilder/sdk 需要什么版本的 Node.js?

package.json 的 engines 字段要求 Node.js >=21.0.0。版本不符时 npm 默认只给出警告,开启 engine-strict 后会拒绝安装。

@chaibuilder/sdk 可以商用吗?

@chaibuilder/sdk 使用 BSD-3-Clause 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。另外不得用原作者名义为衍生产品背书。以上为概括,不构成法律意见,请以许可原文为准。

@chaibuilder/sdk 的下载量有多少?

根据 npm 官方下载统计,@chaibuilder/sdk 在 2026/10/10 – 2026/11/08 这 30 天内被下载 2,048 次,日均约 68 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@chaibuilder/sdk 还在维护吗?

最新版本 4.0.0-beta.51 发布于 2026/03/16(7 个月前);至今共发布 531 个版本,其中过去 12 个月发布了 86 个;首次发布于 2023/11/14。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。