基于 Next.js、React 与 Chakra UI 构建的后台模板
chatgpt-ai-template — Next.js 后台模板
作者 horizon-ui
Horizon UI 推出的开源 ChatGPT 风格后台模板,基于 Next.js、React 与 Chakra UI,提供 30 多个明暗主题组件,用于搭建 AI 聊天类 SaaS 界面。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
目前有 1 张原始预览,可打开完整图片查看设计细节。
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
提供 30 多个明暗主题前端元素,可自由组合
附带组件文档与预置示例页面
仓库采用 MIT 许可,免费版本代码可商用
面向 ChatGPT 风格 AI 聊天类 SaaS 应用
模板详细介绍
Horizon ChatGPT AI Template 是 Horizon UI 维护的开源后台模板,仓库采用 MIT 许可,免费版本代码可自由使用、修改、商用和分发。模板面向 AI 聊天类 SaaS 应用,使用 Next.js、React 和 Chakra UI 构建,提供明暗两种主题下的 30 多个独立前端元素,包括按钮、输入框、导航栏、导航标签、卡片和提示等,可自由组合。项目附带较完整的组件文档,并提供预置示例页面,便于快速搭建项目基础结构。
使用前需要注意:模板本身不提供 OpenAI API Key,需要自行注册 OpenAI 账号并配置有效的 API Key 与账单信息,否则应用无法正常调用 ChatGPT 接口。仓库同时存在付费 PRO 版本,本次收录的仅为公开免费代码,不包含付费升级内容。演示图片、字体、图标等第三方素材需按各自许可单独核对,域名、托管、数据库、支付或 AI 等外部服务也可能产生额外费用。
适合你的项目吗?
适用场景
- 搭建 AI 聊天类 SaaS 应用的后台界面
- 作为 React 后台管理系统的起步模板
- 演示或原型阶段快速组合明暗主题组件
- 参考其组件组织方式与文档结构进行二次开发
适合人群
- 需要快速启动 AI 聊天界面原型的开发者
- 使用 Next.js 与 Chakra UI 技术栈的前端团队
- 希望基于 MIT 许可代码进行二次开发的个人或组织
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
需安装 Node.js LTS 版本,项目仅支持 LTS。
- 2
克隆仓库后运行 npm install,再执行 npm run dev 启动本地服务。
- 3
需自行准备 OpenAI 账号与有效 API Key,并在 OpenAI 账单页面添加账单信息,否则 API Key 无法使用。
- 4
模板不提供 API Key,需自行配置。
- 5
演示图片、字体、图标等第三方素材需按各自许可核对。
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 使用该模板的 ChatGPT 功能需自行注册 OpenAI 账号并配置有效 API Key,项目本身不提供密钥。
- 必须在 OpenAI 账单页面添加账单信息,否则 API Key 无法使用,可能产生外部服务费用。
- 应用会连接 OpenAI API 服务器以校验 API Key,属于外部服务依赖。
- 项目同时提供付费 PRO 版本,免费版仅包含公开的开源代码,付费升级内容不在免费范围内。
- README 版权与许可部分指向 Horizon UI 最终用户许可协议,与仓库声明的 MIT 许可并存,使用前需注意该额外许可条款。
- 项目资料提及可选付费版本或功能;本次仅收录公开免费代码,不包含付费升级。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
Make sure you have an [OpenAI account](https://platform.openai.com/account) and a valid API key to use ChatGPT. We don't sell API keys.
README 原文
Make sure you have your billing info added in [OpenAI Billing page](https://platform.openai.com/account/billing/overview). Without billing info, your API key will not work.
README 原文
The app will connect to the OpenAI API server to check if your API Key is working properly.
README 原文
| Free Version | PRO Version
README 原文
https://github.com/horizon-ui/chatgpt-ai-template/blob/main/LICENSEhttps://github.com/horizon-ui/chatgpt-ai-template/blob/main/README.md📄 [Horizon UI License](https://horizon-ui.notion.site/End-User-License-Agreement-8fb09441ea8c4c08b60c37996195a6d5)
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-09-30。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 90 / 100
- 技术栈
- Next.js · React
- 网站类型
- 后台 · 启动器
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2025-01-22
- 截图检查日期
- 2026-09-30
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Next.js。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 9352c4e67bf65fd1c8e8c2a1c8dbca22c7fd07de732338c0ace09baf7d0c1725
2026-09-30T08:10:00.413Z
来源文件 / 仓库# [Horizon ChatGPT AI Template](https://horizon-ui.com/chatgpt-ai-template) [](https://twitter.com/intent/tweet?text=Check%20Horizon%20ChatGPT%20AI%20Template,%20the%20trendiest%20open%20source%20ChatGPT%20AI%20admin%20template%20for%20%23nextjs%20and%20%23react!%0A%0Ahttps%3A//horizon-ui.com/chatgpt-ai-template/%20%20)  [](https://github.com/horizon-ui/chatgpt-ai-template/issues?q=is%3Aopen+is%3Aissue) <p> </p> [<img alt="Horizon UI - Tailwind CSS React Admin dashboard template" src="https://i.ibb.co/mqnbX1Y/horizon-ai-template-presentation-image-open-source.png" />](https://horizon-ui.com/ai-template) <p> </p> Get started and build your dream AI web app with Horizon AI Template, the trendiest & innovative Open-Source Free ChatGPT AI Admin Template for NextJS & React! --- ### Introduction Horizon ChatGPT AI Template is the world's best open source OpenAI ChatGPT AI Template made with React, NextJS and Chakra UI! Start creating outstanding Chat AI SaaS Apps faster. It comes with over 30+ dark/light frontend individual elements, like buttons, inputs, navbars, nav tabs, cards, or alerts, giving you the freedom of choosing and combining. ### Documentation Each element is well presented in a very complex documentation. You can read more about the <a href="https://horizon-ui.com/docs-ai-template/docs/introduction?ref=readme-horizon-ai-template-free" target="_blank">documentation here.</a> ### Quick Start Install Horizon ChatGPT AI Template by running either of the following: - Install NodeJS LTS from [NodeJs Official Page](https://nodejs.org/en/?ref=horizon-documentation) (NOTE: Product only works with LTS version) Clone the repository with the following command: ```bash git clone https://github.com/horizon-ui/chatgpt-ai-template.git ``` Run in the terminal this command: ```bash npm install ``` Then run this command to start your local server ```bash npm run dev ``` ### Your API Key is not working? - Make sure you have an [OpenAI account](https://platform.openai.com/account) and a valid API key to use ChatGPT. We don't sell API keys. - Make sure you have your billing info added in [OpenAI Billing page](https://platform.openai.com/account/billing/overview). Without billing info, your API key will not work. - The app will connect to the OpenAI API server to check if your API Key is working properly. ### Example Page If you want to get inspiration or just show something directly to your clients, you can jump start your development with our pre-built example page. You will be able to quickly set up the basic structure for your web project. View <a href="https://horizon-ui.com/chatgpt-ai-template/?ref=readme-horizon-ai-template-free" target="_blank">example pages here.</a> ### Versions | Free Version | PRO Version | | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | [](https://github.com/horizon-ui/chatgpt-ai-template) | [](https://www.horizon-ui.com/ai-template?ref=readme-horizon-ai-template-free) | ### Figma Version Horizon AI Template is available in Figma format as well! [Check it out here](https://www.figma.com/community/file/1253038328954459768)! 🎨 ### Reporting Issues We use GitHub Issues as the official bug tracker for the Horizon UI. Here are some advices for our users that want to report an issue: 1. Make sure that you are using the latest version of the Horizon AI Template. Check the CHANGELOG from your dashboard on our [CHANGE LOG File](https://github.com/horizon-ui/chatgpt-ai-template/blob/main/CHANGELOG.md?ref=readme-horizon-ai-template-free). 2. Providing us reproducible steps for the issue will shorten the time it takes for it to be fixed. 3. Some issues may be browser specific, so specifying in what browser you encountered the issue might help. --- ### Community Connect with the community! Feel free to ask questions, report issues, and meet new people that already use Horizon AI Template! 💬 [Join the #HorizonUI Discord Community!](https://discord.gg/f6tEKFBd4m) ### Copyright and license ⭐️ [Copyright 2023 Horizon UI ](https://www.horizon-ui.com/?ref=readme-horizon-ai-template-free) 📄 [Horizon UI License](https://horizon-ui.notion.site/End-User-License-Agreement-8fb09441ea8c4c08b60c37996195a6d5)
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

ai-website-cloner-template
Clone any website with one command using AI coding agents
Next.js · 启动器

Next.js SaaS Starter
Next.js SaaS Starter 是 Next.js 官方维护的 SaaS 起点模板,定位介于学习资源和可直接部署的脚手架之间。
Next.js · SaaS

Next.js Commerce
Next.js Commerce 是 Vercel 团队维护的电商启动模板,基于 Next.js App Router 构建,采用服务端渲染、React Server Components、Server Actions …
Next.js · 电商

Next-js-Boilerplate
Next-js-Boilerplate 是一个面向 Next.js 16、Tailwind CSS 4 和 TypeScript 的启动器,核心定位是开发者体验优先。
Next.js · 启动器

tailwind-nextjs-starter-blog
tailwind-nextjs-starter-blog 是一个面向个人技术博客的 Next.js 与 Tailwind CSS 启动模板,其 v2 版本基于 App Router 与 React Server Comp…
Next.js · 博客

next-forge
Production-grade Turborepo template for Next.js apps.
Next.js · 启动器
