zarm
Version:
基于 React 的移动端UI库
89 lines (57 loc) • 4.36 kB
Markdown
<p align="center">
<a href="http://zarm.design">
<img width="200" src="https://zarm.design/images/logo.1a6cfc30.svg">
</a>
</p>
<h1 align="center">Zarm</h1>
<div align="center">
[](https://github.com/ZhongAnTech/zarm/actions/workflows/test.yml)
[](https://codecov.io/gh/ZhongAnTech/zarm)
[](https://www.npmjs.org/package/zarm)


[](https://npmjs.org/package/zarm)
[](https://david-dm.org/ZhongAnTech/zarm)
[](https://david-dm.org/ZhongAnTech/zarm?type=peer)
[](https://david-dm.org/ZhongAnTech/zarm?type=dev)
[](https://app.netlify.com/sites/zarm/deploys)
[](https://app.fossa.io/projects/git%2Bgithub.com%2FZhongAnTech%2Fzarm?ref=badge_shield)
[](https://gitter.im/ZhongAnTech/zarm?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
众安科技基于 React 研发的一款适用于企业级的移动端 UI 组件库。
</div>
Zarm 的命名,灵感来源于众安保险秉承的理念:做有温度的保险。Zarm = za + warm,za 代表“众安”,warm 有“温暖”的含义,以重合的 a 字母为中心,各取左右两部分。追求极致的用户体验,致力于做有温度的组件库也是 zarm 项目发起的初衷。
## 预览
<img width="200" src="https://user-images.githubusercontent.com/9812721/116021555-ffa29c80-a67a-11eb-8068-614bd912c894.png" />
[https://zarm.design/demo.html#/](https://zarm.design/demo.html#/)
## 浏览器支持
- iOS
- Android 4.0+
## 安装
npm 或 yarn 安装
```bash
# npm
$ npm install zarm --save
# yarn
$ yarn add zarm
```
## 使用
```js
import { Button, Cell } from 'zarm';
import 'zarm/dist/zarm.css';
```
## 定制主题
可以参考 [定制主题文档](https://github.com/ZhongAnTech/zarm/blob/master/packages/site/web/docs/customize-theme.md)。
## 国际化
可以参考 [国际化文档](https://github.com/ZhongAnTech/zarm/blob/master/packages/site/web/docs/i18n.md)。
## 社区
| 问题上报 | 讨论交流 | 微信群 |
| :---------------------------------------------------------- | :-------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------- |
| [github issues](https://github.com/ZhongAnTech/zarm/issues) | [github discussions](https://github.com/ZhongAnTech/zarm/discussions) | <img src="https://cdn-health.zhongan.com/zarm/qrcode.jpg" width="80" /> <br />备注 "zarm" 加好友后邀请进群 |
## 如何贡献
使用过程中发现任何问题都可以提 Issue 给我们,当然,我们也非常欢迎你给我们发 PR。
你可以使用 Gitpod 进行在线开发:
[](https://gitpod.io/#https://github.com/ZhongAnTech/zarm)
或者克隆到本地开发,请阅读我们的 [贡献指南](https://github.com/ZhongAnTech/zarm/blob/master/packages/site/web/docs/contributing.md)。
## 开源协议
MIT
[](https://app.fossa.io/projects/git%2Bgithub.com%2FZhongAnTech%2Fzarm?ref=badge_large)