Skip to content

kagawagao/components

Repository files navigation

UI Components for PLATO

小而美,少即多。

Travis Coveralls

Principles

Less is More

若无必要,勿增实体

设计

非侵入式,尽量在不修改原有 DOM 结构的前提下实现功能,参见 core/swiper

目标

近期目标

编写尽量小的碎片化的组件,方便开发时灵活的组装,以应对多变的需求;

什么叫小?参见 core/form

在这里,我们要先将之前使用 nd-form 的习惯从记忆中抹去,让一切简单、轻量。

中期目标

根据实践反馈,持续不断地完善组件;

参考借鉴外部开源项目,总结工作中的需求,在碎片化的基础上封装一些偏重的组件。

Components

  • Core
    • Avatar
    • Badge
    • Form
      • Button
      • Checkbox (Switcher)
      • Textfield (text, email, password, url, number, search, etc)
      • Multiline
      • Password (with showing password toggle)
    • Icon
    • Image
    • Modal
    • Picker
    • Progress
    • Range
    • Scroller (with pulling up and down)
    • Slider
    • Spinner
    • Swiper
    • Toast
  • Misc
    • Paginator
    • Uploader

Browser Support

  • Android 4+
  • iOS 7+

License

MIT

About

Components for PLATO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published