Primer Components

Primer React组件。(Primer React components)

Github stars Tracking Chart

Primer 组件

Primer设计系统的React组件

文档

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

安装

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

npm install @primer/components

// or

yarn add @primer/components

路线图

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

贡献

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

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

新组件提案

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


Main metrics

Overview
Name With Ownerprimer/react
Primary LanguageTypeScript
Program languageJavaScript (Language Count: 6)
PlatformLinux, Mac, Windows
License:MIT License
所有者活动
Created At2018-02-17 00:09:05
Pushed At2025-06-13 23:46:07
Last Commit At
Release Count261
Last Release Name@primer/react@37.26.0 (Posted on 2025-06-11 17:35:27)
First Release Namev0.0.2-beta (Posted on 2018-06-01 13:45:58)
用户参与
Stargazers Count3.6k
Watchers Count30
Fork Count614
Commits Count9.4k
Has Issues Enabled
Issues Count1047
Issue Open Count46
Pull Requests Count3936
Pull Requests Open Count33
Pull Requests Close Count1071
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private

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!