Primer Components

Primer React组件。(Primer React components)

Github星跟踪图

Primer 组件

Primer设计系统的React组件

文档

我们的文档网站位于 primer.style/components。您可以找到关于入门、所有组件、我们的主题、我们的原则等的详细文档。

安装

用你选择的包管理器在你的项目中安装@primer/components。

npm install @primer/components

// or

yarn add @primer/components

路线图

您可以在 路线图项目委员会 中跟踪我们的路线图进度,在 季度计划讨论 中查看更多细节,并在 这里 找到当前所有史诗跟踪问题的列表。

贡献

我们喜欢与 GitHub 内外的人合作,欢迎大家贡献自己的力量。

查看 贡献文档,了解更多关于代码风格、测试、覆盖率和故障排除的信息。

新组件提案

我们欢迎并鼓励来自 GitHub 内部团队的新组件提案!我们最好的工作来自于在项目中直接使用Primer React组件的团队。我们最好的工作来自于与在项目中使用Primer React Components的团队直接合作。如果你想启动一个新的组件提案,请使用 组件提案问题模板 提交一个问题,我们将与你联系。


主要指标

概览
名称与所有者primer/react
主编程语言TypeScript
编程语言JavaScript (语言数: 6)
平台Linux, Mac, Windows
许可证MIT License
所有者活动
创建于2018-02-17 00:09:05
推送于2025-06-13 23:46:07
最后一次提交
发布数261
最新版本名称@primer/react@37.26.0 (发布于 2025-06-11 17:35:27)
第一版名称v0.0.2-beta (发布于 2018-06-01 13:45:58)
用户参与
星数3.6k
关注者数30
派生数614
提交数9.4k
已启用问题?
问题数1047
打开的问题数46
拉请求数3936
打开的拉请求数33
关闭的拉请求数1071
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?

Documentation

Our documentation site lives at primer.style/react. You'll be able to find detailed documentation on getting started, all of the components, our theme, our principles, and more.

Installation

Install @primer/react in your project with your package manager of choice:

npm install @primer/react
yarn add @primer/react

Roadmap

You can track our roadmap progress in the Roadmap Project Board, see more detail in the quarterly planning Discussions, and find a list of all the current epic tracking issues.

Contributing

We love collaborating with folks inside and outside of GitHub and welcome contributions!

👉 See the contributing docs for more info on code style, testing, coverage, and troubleshooting.

New Component Proposals

We welcome and encourage new component proposals from internal GitHub teams! Our best work comes from collaborating directly with the teams using Primer React Components in their projects. If you'd like to kick off a new component proposal, please submit an issue using the component proposal issue template and we will get in touch!