heroui
31,197
Stars
—
Forks
0
Watchers
—
Open Issues
待补全
许可证
TypeScript
语言
—
创建时间
最近更新
项目能做什么
美观、流畅且现代化的 React UI 组件库(原 NextUI)。
来源:AI 基于仓库事实生成
· 内容以仓库实际 README 为准
使用说明 查看原始 README 原仓库文档
中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
<p align="center">
<a href="https://heroui.com">
<img
alt="HeroUI v3 logo"
width="100%"
src="https://heroui-assets.nyc3.cdn.digitaloceanspaces.com/docs/heroui-og_2x.jpg"
/>
</a>
</p>
<p align="center">
<a href="https://github.com/heroui-inc/heroui/blob/main/LICENSE">
<img src="https://img.shields.io/badge/license-Apache--2.0-blue?style=flat" alt="License">
</a>
<a href="https://www.npmjs.com/package/@heroui/react">
<img src="https://img.shields.io/npm/dm/@heroui/react.svg?style=flat-round" alt="npm downloads">
</a>
</p>
## Why HeroUI?
HeroUI (previously NextUI) is a production-ready React component library that combines the accessibility rigor of [React Aria](https://react-spectrum.adobe.com/react-aria/) with the utility-first styling of [Tailwind CSS v4](https://tailwindcss.com/). It ships a clean compound component API (`Card.Header`, `Card.Content`, `Select.Item`, …), requires no `<Provider>` wrapper, and works out of the box with React 19 and Next.js.
- **Accessible by default** — Built on React Aria for WCAG-compliant keyboard, focus, and screen-reader behavior
- **Tailwind CSS v4** — Modern engine, no CSS-in-JS runtime, smaller output, faster builds
- **Compound components** — Composable API (`Card.Header`, `Card.Content`) instead of deeply nested props
- **Zero boilerplate** — No Provider wrapper needed (unlike Chakra, MUI)
- **AI-native** — MCP server, `llms.txt`, and agent skills so AI assistants understand your components
- **Battle-tested** — Previously known as NextUI, trusted by thousands of production apps
## Packages
| Package | Description |
|---|---|
| [`@heroui/react`](https://www.npmjs.com/package/@heroui/react) | Full component bundle |
| [`@heroui/styles`](https://www.npmjs.com/package/@heroui/styles) | Styles / theme only |
| Component subpaths | e.g. `@heroui/react/button`, `@heroui/react/modal` — per-component imports from the published `@heroui/react` package |
## Getting Started
Visit [heroui.com/docs/react/getting-started/quick-start](https://heroui.com/docs/react/getting-started/quick-start) to get started with HeroUI.
```bash
npm install @heroui/styles @heroui/react
```
## Who Is This For?
HeroUI is a good fit if you are building:
- **SaaS applications** — forms, tables, overlays, and notifications out of the box
- **Dashboards & admin panels** — data-dense layouts with consistent design tokens
- **E-commerce storefronts** — performant, accessible, SEO-friendly components
- **Marketing sites & landing pages** — polished UI without a heavyweight runtime
- **Any React / Next.js project** that values design quality and accessibility
## AI-Powered Development
HeroUI is built for the AI-assisted development workflow.
| Tool | What it does |
|---|---|
| **MCP Server** (`@heroui/react-mcp`) | Components that understand your theme — install the server in Cursor, Claude Code, Windsurf, or any MCP-compatible editor |
| **llms.txt** | Available at [heroui.c
阅读完整原文
项目深度分析 AI 生成
HeroUI 商业级全栈 SaaS / Admin 模版站
| 产品构想 | 基于 HeroUI + Next.js + Tailwind v4 开发高溢价的开箱即用商业模板,涵盖身份验证、计费结算、仪表盘、多租户等常用模块。 |
| 核心功能 | 完整的前后闭环代码、与HeroUI风格统一的复杂业务界面、移动端适配优化、内置多种暗色/明色主题配色方案 |
| 目标用户 | 独立开发者、SaaS 创始人、敏捷初创外包团队 |
| 难度/周期 | 中等 · 3 - 6 周 · 成本:极低(主要是个人时间成本与基础域名/托管费) |
| 收费模式 | 按模板单次付费授权(标准许可 $79 - $149,商业无限许可 $299+) |
| 竞争风险 | 模板市场同质化严重;需持续跟进 HeroUI 上游版本重大升级(推测) |
| 依据 | 已验证事实 |
面向 AI 编程工具的 HeroUI 高阶组件与设计生成扩展 (AI UI Builder)
| 产品构想 | 结合官方 MCP 和 llms.txt 特性,构建针对 Cursor / Claude Code 的高阶代码片段与全功能页面生成提示词包/扩展工具。 |
| 核心功能 | 预配置的 MCP 高级上下文规则、复杂业务组件库(高级 Filter、看板、数据大屏)的 Prompt/Agent 技能资产库 |
| 目标用户 | 重度依赖 Cursor、Windsurf、Claude Code 辅助编写界面的前端工程师 |
| 难度/周期 | 低至中等 · 2 - 4 周 · 成本:低(基础开发与少量大模型 API 调用测试) |
| 收费模式 | 订阅制会员($9.9/月)或一次性买断高级规则包 |
| 竞争风险 | 官方免费生态(如开源 MCP server 和 Agent 技能)可能快速覆盖基础需求,溢价空间被压缩(推测) |
| 依据 | 数据支持的判断 |
HeroUI 官方生态配套 Figma UI Kit 与双向同步插件
| 产品构想 | 制作 100% 对应 HeroUI v3 组件属性的专业 Figma 变体系统,并提供代码与设计 Token 双向同步方案。 |
| 核心功能 | 完备的 Figma Variants 与 Auto-layout 规范、支持 Tailwind v4 的 Token 导出、设计稿一键复制 HeroUI 代码 |
| 目标用户 | UI/UX 设计师、中小企业产研设计团队、设计驱动型独立全栈开发者 |
| 难度/周期 | 中等 · 4 - 8 周 · 成本:低(主要为设计与插件工程时间投入) |
| 收费模式 | Gumroad/Lemon Squeezy 销售 Figma Kit($49 - $99),插件订阅增值服务 |
| 竞争风险 | 需要极高的设计精度和对 HeroUI 细节的追踪,维护工作繁重(尚需验证的假设) |
| 依据 | 数据支持的判断 |
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心
竞品与相似项目 GitHub Search 真实检索
相似项目数据正在完善中,暂不展示(避免误导)
项目优势与风险
| 技术成熟度 | 创建时间待补全,最近推送 ,发布过 100 个 Release |
| 社区活跃 | Star 31,197 / Fork 0 / Issue 0(数据支持,可自行核实) |
| 许可证 | 未检测到(需人工确认) |
| 主要风险 | 上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价 |
安装与使用
此项目未提供 Docker 镜像,安装步骤以原仓库 README 为准(涉及依赖安装与环境配置,对新手门槛较高)。