primitives README

The project's README from github.com/radix-ui/primitives. As one markdown file: README.md.

Radix Primitives Logo

Radix Primitives

An open-source UI component library for building high-quality, accessible design systems and web apps.

Radix Primitives is a low-level UI component library with a focus on accessibility, customization and developer experience. You can use these components either as the base layer of your design system, or adopt them incrementally.


Installation

First, install pnpm if you haven't already. Open your terminal and run:

npm install -g pnpm

Then, install the dependencies:

pnpm install

Documentation

For full documentation, visit radix-ui.com/primitives/docs.

Releases

For changelog, visit radix-ui.com/primitives/docs/overview/releases.

Contributing

Please follow our contributing guidelines.


Community

Thanks

Chromatic

Thanks to Chromatic for providing the visual testing platform that helps us review UI changes and catch visual regressions.


License

Licensed under the MIT License, Copyright © 2022-present WorkOS.

primitives (radix-ui/primitives)

Searching Database…

这是什么?Radix Primitives 是一个开源的 UI 组件库,用于构建高质量、无障碍的设计系统和 Web 应用,由 WorkOS 维护。
它是带现成样式组件的 UI 套件,还是更底层的东西?更底层:它是一个专注于无障碍性、可定制性和开发者体验的组件库,定位是你构建和定制设计系统所用的基础层,而不是一套现成的成品组件。
怎么把它加到我的项目里?完整的组件文档和使用说明在 radix-ui.com/primitives/docs。README 里的安装步骤(安装 pnpm,然后安装依赖)是针对这个仓库本身开发用的。
它只能在 React 里用吗?是的——它是一个 React 组件库,用 TypeScript 编写。
我必须把整个 UI 都围绕它重构,还是可以一块一块逐步引入?可以逐步引入——需要哪个组件就引入哪个,也可以把整套作为新设计系统的基础层。
我能在商业项目里用吗?要花多少钱?它免费且采用 MIT 许可证,可以用于商业用途;版权归 WorkOS 所有。
这个项目成熟吗,能放心依赖吗?是的。它从 2020 年就开始了,在 GitHub 上有约 19.4k 星标,由 WorkOS 维护,仓库的 CI 会运行单元测试、Playwright 端到端测试和 Chromatic 视觉回归检查。
在采用之前能先预览这些组件吗?可以——仓库里附带一个可以在本地运行的 Storybook,包含组件参考的官方文档在 radix-ui.com/primitives/docs。还有一个社区 Discord,可以提问和交流技巧。
Creator
radix-ui
Size
23.7 MB
Stars
19.4K
Updated
CommitOct 14
Age
6y
Commits · 90 Days