AnnaSearl / Annar
优雅、简洁的 Remax 组件库
Stars: ✭ 203
Programming Languages
javascript
184084 projects - #8 most used programming language
typescript
32286 projects
Projects that are alternatives of or similar to Annar
Navigation Stack
NavigationStack is a stack-modeled UI navigation controller. Swift UI library made by @Ramotion
Stars: ✭ 2,289 (+1027.59%)
Mutual labels: component
Stopwatch
The Stopwatch component provides a way to profile code.
Stars: ✭ 2,388 (+1076.35%)
Mutual labels: component
Malagu
Malagu Development Framework (QQ: 1013685855 钉钉群:31992376)
Stars: ✭ 196 (-3.45%)
Mutual labels: component
Vue Upload Component
Vue.js file upload component, Multi-file upload, Upload directory, Drag upload, Drag the directory, Upload multiple files at the same time, html4 (IE 9), `PUT` method, Customize the filter
Stars: ✭ 2,422 (+1093.1%)
Mutual labels: component
Component
🔥🔥🔥A powerful componentized framework.一个强大、100% 兼容、支持 AndroidX、支持 Kotlin并且灵活的组件化框架
Stars: ✭ 2,434 (+1099.01%)
Mutual labels: component
React Polymorphic Box
Building blocks for strongly typed polymorphic components in React.
Stars: ✭ 206 (+1.48%)
Mutual labels: component
Babel Plugin React Intl Auto
i18n for the component age. Auto management react-intl ID.
Stars: ✭ 203 (+0%)
Mutual labels: component
React Sticky Table
Responsive and dynamically-sized fixed headers and columns for tables
Stars: ✭ 198 (-2.46%)
Mutual labels: component
Form
The Form component allows you to easily create, process and reuse HTML forms.
Stars: ✭ 2,406 (+1085.22%)
Mutual labels: component
Komponents Deprecated
📦 React-inspired UIKit Components - ⚠️ Deprecated
Stars: ✭ 202 (-0.49%)
Mutual labels: component
Inflector
Inflector converts words between their singular and plural forms (English only).
Stars: ✭ 2,232 (+999.51%)
Mutual labels: component
Property Access
The PropertyAccess component provides function to read and write from/to an object or array using a simple string notation.
Stars: ✭ 2,362 (+1063.55%)
Mutual labels: component
Expression Language
The ExpressionLanguage component provides an engine that can compile and evaluate expressions.
Stars: ✭ 2,418 (+1091.13%)
Mutual labels: component
React Native Immutable List View
📜 Drop-in replacement for ListView, FlatList, and VirtualizedList.
Stars: ✭ 206 (+1.48%)
Mutual labels: component
Vue Easytable
🍉 Table Component/ Data Grid / Data Table.Support Virtual Scroll,Column Fixed,Header Fixed,Header Grouping,Filter,Sort,Cell Ellipsis,Row Expand,Row Checkbox ...
Stars: ✭ 2,501 (+1132.02%)
Mutual labels: component
Annar
优雅、简洁的 Remax 组件库
💫 特性
- 基于
Remax
开发 UI 组件 - 支持
微信
支付宝
钉钉
小程序多端适配运行 - 支持 Web 开发
- 支持按需引入
- 支持 TypeScript
📦 安装
npm install annar
yarn add annar
🎀 使用
小程序
import { Button } from 'annar';
const App = () => (
<>
<Button>Click Annar</Button>
</>
);
在 app.js
中引入样式:
import 'annar/dist/annar.css';
Web
使用 Web 组件开发需要依赖 remax/one
npm install remax/one
import { Button } from 'annar/web';
const App = () => (
<>
<Button>Click Annar</Button>
</>
);
引入样式:
import 'annar/dist/annar.css';
🥡 按需加载
annar
的 JS 部分默认支持 tree shaking。
小程序
CSS 部分需要在 app.js
中手动引入
import 'annar/esm/button/style/css';
// 如果你使用 sass,也可以这样引入
import 'annar/esm/button/style';
Web
通过配置 babel-plugin-import
进行 CSS 的按需加载
🧑🏻💻 本地开发
$ git clone [email protected]:AnnaSearl/annar.git
$ cd annar
$ npm install
$ npm start
🤝 参与共建
如果你有任何问题,可以提交 issue 给我们,我们也非常欢迎你加入 Annar
的建设,向我们提交 PR。
Annar 维护 master
和 feature
两个分支,如果您是修复 bug,请提交到 master
;如果您要添加新的功能,请提交到 feature
。
Pull Request 规范
- 我们建议保持你的 PR 足够小。保证一个 PR 只解决一个问题或只添加一个功能
- 在 PR 中请添加合适的描述,并关联相关的 Issue
- 在 Pull Request 前,请同步主仓库的最新代码
常用命令
-
npm start
在本地运行 Annar 的网站 -
npm run lint
检查代码风格 -
npm run build
编译 TypeScript 代码到 esm、web 以及 dist 目录
🌰 示例
🍭 体验
🚦 体验小程序上的组件版本较低,若想查看
Annar
的最新组件及特性,请前往 官方文档
🍻 钉钉交流群
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].