1. 程式人生 > >前端UI框架小匯總

前端UI框架小匯總

3.4 產品 element slc sin 百度 smf 適應 mage

前言:

  近期,小弟根據GitHub、前端社區、掘金等平臺對當前流行的前端UI框架的進行了小小的整理和匯總(ps:前端UI框架的應用是通過GitHub star數,社區熱度和使用範圍等進行的粗略的匯總【不分先後】)。希望對尋找UI框架的小夥伴們提供點幫助。

  以下對前端UI框架的移動端、PC端和混合APP的應用進行了列舉。

移動端UI框架

Mint UI(餓了麽團隊)

  中文官網:http://mint-ui.github.io/#!/zh-cn

  描述:基於vue的移動端UI框架
  基於vue
  組件庫:    

  技術分享圖片

  GitHub地址:https://github.com/ElemeFE/mint-ui/

  star:8705,fork:1810
  latest commit 2017.12.6 6pm
  32 contributors
  預覽:
    http://elemefe.github.io/mint-ui/#/
  基礎引入:
    CDN:

<!-- 引入樣式 -->
<link rel="stylesheet" href="https://unpkg.com/mint-ui/lib/style.css">
<!-- 引入組件庫 -->
<script src="https://unpkg.com/mint-ui/lib/index.js"></script
>

    npm:
      npm i mint-ui -S
  觀點:可按需加載組件

SUI Mobile(阿裏巴巴共享業務事業部UED團隊)

  官網:http://m.sui.taobao.org/
  描述:一套基於 Framework7 開發的UI庫。基於IOS風格。它非常輕量、精美,只需要引入我們的CDN文件就可以使用,
並且能兼容到 iOS 6.0+ 和 Android 4.0+,非常適合開發跨平臺Web App。
  基於zepto
  IOS風格
  預覽:
    http://m.sui.taobao.org/demos/

  組件庫:
    技術分享圖片
  GitHub地址:https://github.com/sdc-alibaba/SUI-Mobile
  star:5242,fork:1466
  lastest commit 2016.11.10 11am
  14 contributors
  基礎引入:
    CDN:

<link rel="stylesheet" href="//g.alicdn.com/msui/sm/0.6.2/css/sm.min.css">
<script type=‘text/javascript‘ src=‘//g.alicdn.com/sj/lib/zepto/zepto.min.js‘ charset=‘utf-8‘></script>
<script type=‘text/javascript‘ src=‘//g.alicdn.com/msui/sm/0.6.2/js/sm.min.js‘ charset=‘utf-8‘></script>

Weui(微信官方設計團隊)

  描述:WeUI 為微信 Web 服務量身設計,是一套同微信原生視覺體驗一致的基礎樣式庫,由微信官方設計團隊為微信 Web 開發量身設計,可以令用戶的使用感知更加統一。
包含button、cell、dialog、 progress、 toast、article、actionsheet、icon等各式元素。
  GitHub地址:https://github.com/weui/weui
  star:16804,fork:4683
  latest commit 2017.11.2 8pm
  20 contributors
  預覽:
    UI組件
      https://weui.io
      技術分享圖片
    JS組件
      https://github.com/weui/weui
      技術分享圖片
   基礎引入:
    CDN:

<link rel="stylesheet" href="https://res.wx.qq.com/open/libs/weui/1.1.2/weui.min.css">
<script type="text/javascript" src="https://res.wx.qq.com/open/libs/weuijs/1.1.3/weui.min.js"></script>

    npm:
      npm install --save weui

YDUI Touch

  官網:http://www.ydui.org/
  描述:一只註重審美,且性能高效的移動端&微信UI。
  基於jQuery
  兼容性:
    兼容絕大多數移動端設備(兼容Android4.0+、IOS6.0+);
  采用 flexbox 布局,因低版本安卓及部分特殊瀏覽器不兼容flex-basis、flex-wrap、inline-flex屬性,YDUI 將采取其他解決方案;
  基礎引入:
    download:
      引入YDUI樣式:ydui.css
      引入YDUI自適應解決方案類庫:ydui.flexible.js
      引入jQuery2.0+
      引入YDUI腳本:ydui.js
  組件庫:
    技術分享圖片
  預覽:

     http://m.ydui.org
     技術分享圖片
  GitHub地址:https://github.com/ydcss/ydui
  star:420,fork:117
  latest commit 2017.10.23 2pm
  1 contributors
  個人觀點:自定義keyBoard插件為亮點

GMU(百度GMU小組開發)

  描述:基於zepto的輕量級mobile UI組件庫,符合jquery ui使用規範,提供webapp、pad端簡單易用的UI組件。
兼容iOS3+ / android2.1+,支持國內主流移動端瀏覽器,如safari, chrome, UC, qq等。
  GitHub地址:https://github.com/fex-team/GMU
  star:1106,fork:461
  latest commit 2017.4.18 2pm
  8 contributors
  基礎引入:
    download
      引入reset.css:https://github.com/fex-team/GMU/blob/master/dist/reset.css
      引入gmu.css:https://github.com/fex-team/GMU/blob/master/dist/gmu.css
      引入zepto.js:https://github.com/fex-team/GMU/blob/master/dist/zepto.js
      引入gmu.js:https://github.com/fex-team/GMU/blob/master/dist/gmu.js

FrozenUI(QQVIP FD團隊• Alloyteam團隊)

  官方地址:http://frozenui.github.io/
  描述:簡單易用,輕量快捷,為移動端服務的前端框架。基於手Q樣式規範。應用在騰訊手Q增值業務。
兼容android 2.3 +,ios 4.0 + 。
  GitHub地址:https://github.com/frozenui/frozenui
  star:2330,fork:645
  latest commit 2017.11.30
  7 contributors
  觀點:JS組件庫相對簡潔

移動優先

Foundation

  中文官網:http://www.foundcss.com/
  描述:Foundation是國外最流行的 HTML、CSS 和 JS 框架,用於開發響應式布局、移動設備優先的 WEB 項目。
  GitHub地址:https://github.com/zurb/foundation-sites
  star:26751,fork:5751
  latest commit 2017.10.5 7am
  955 contributors
  基礎引入:  
    CDN:

<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.4.3/css/foundation.min.css" integrity="sha256-itWEYdFWzZPBG78bJOOiQIn06QCgN/F0wMDcC4nOhxY=" crossorigin="anonymous" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/foundation/6.4.3/js/foundation.min.js" integrity="sha256-Nd2xznOkrE9HkrAMi4xWy/hXkQraXioBg9iYsBrcFrs=" crossorigin="anonymous"></script>

  觀點:無很多中文官方文檔,不便於中國開發者

Amaze UI

  官方地址:http://amazeui.org/
  描述:中國首個開源 HTML5 跨屏前端框架。Amaze UI 關註中文排版,根據用戶代理調整字體,
實現更好的中文排版效果。
  基於jQuery
  GitHub:https://github.com/amazeui/amazeui
  star:10949,fork:2397
  latest commit 2017.3.4 8pm
  24 contributors
  組件庫:
    技術分享圖片
  基礎引入:
    CDN:

http://cdn.amazeui.org/amazeui/2.7.2/css/amazeui.css
http://cdn.amazeui.org/amazeui/2.7.2/css/amazeui.min.css
http://cdn.amazeui.org/amazeui/2.7.2/js/amazeui.js
http://cdn.amazeui.org/amazeui/2.7.2/js/amazeui.min.js
http://cdn.amazeui.org/amazeui/2.7.2/js/amazeui.ie8polyfill.js
http://cdn.amazeui.org/amazeui/2.7.2/js/amazeui.ie8polyfill.min.js
http://cdn.amazeui.org/amazeui/2.7.2/js/amazeui.widgets.helper.js
http://cdn.amazeui.org/amazeui/2.7.2/js/amazeui.widgets.helper.min.js

  觀點:適合PC端更多(例如分頁的實現)

Pure

  中文官網:https://www.purecss.cn/
  描述:純CSS
  美國雅虎公司出品的一組輕量級、響應式純css模塊,適用於任何Web項目。
  GitHub:https://github.com/yahoo/pure/
  star:17880,fork:1969
  latest commit 2017.11.26 10pm
  51 contributors
  基礎引入:
    CDN:

<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/pure-min.css" integrity="sha384-CCTZv2q9I9m3UOxRLaJneXrrqKwUNOzZ6NGEUMwHtShDJ+nCoiXJCAgi05KfkLGY" crossorigin="anonymous">


PC 端 UI框架

iView

  官網地址:https://www.iviewui.com/
  描述:一套基於 Vue.js 的高質量 UI 組件庫。iView 是一套基於 Vue.js 的開源 UI 組件庫,主要服務於 PC 界面的中後臺產品。
  GitHub地址:https://github.com/iview/iview
  star:11421,fork:1745
  latest commit 2017.12.4 11am
  組件庫:
    技術分享圖片
  基礎引入:
    CDN:

<!-- import Vue.js -->
<script src="//vuejs.org/js/vue.min.js"></script>
<!-- import stylesheet -->
<link rel="stylesheet" href="//unpkg.com/iview/dist/styles/iview.css">
<!-- import iView -->
<script src="//unpkg.com/iview/dist/iview.min.js"></script>

    npm:
      npm install iview --save

Element UI(餓了麽團隊)

  官方地址:http://element-cn.eleme.io/#/zh-CN
  描述:基於 Vue 2.0 的桌面端組件庫
  GitHub:https://github.com/ElemeFE/element
  star:20657,fork:3777
  latest commit 2017.12.5 11am
  254 contributors
  組件庫:
    技術分享圖片
  基礎引入:
    CDN:

<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<script src="https://unpkg.com/element-ui/lib/index.js"></script>

    npm:
      npm i element-ui -S

SUI(阿裏巴巴國際UED團隊-商家業務事業部)

  官網地址:http://sui.taobao.org/
  描述:一套基於bootstrap開發的前端組件庫,同時她也是一套設計規範。
  基於jquery
  組件庫:
    技術分享圖片
  GitHub:https://github.com/sdc-alibaba/sui
  star:322,fork:135
  latest commit 2015.7.23 3pm
  4 contributors
  基礎引入:
    CDN:

<link href="http://g.alicdn.com/sj/dpl/1.5.1/css/sui.min.css" rel="stylesheet">
<script type="text/javascript" src="http://g.alicdn.com/sj/lib/jquery/dist/jquery.min.js"></script>
<script type="text/javascript" src="http://g.alicdn.com/sj/dpl/1.5.1/js/sui.min.js"></script>

  觀點:偏向設計規範,組件庫相對簡單。

H-ui

  官方地址:http://www.h-ui.net/
  描述:輕量級前端框架,簡單免費,兼容性好,服務中國網站。
  基於jQuery
  GitHub地址:https://github.com/jackying/h-ui
  star:432,fork:196
  latest commit 2017.11.16 3pm
  1 contributors
  組件庫:
    技術分享圖片
  觀點:無亮點,借鑒第三方插件完成


layui

  官方地址:http://www.layui.com/
  描述:更多是為服務端程序員量身定做,你無需涉足各種前端工具的復雜配置,只需面對瀏覽器本身,
讓一切你所需要的元素與交互,從這裏信手拈來。
  layui 兼容人類正在使用的全部瀏覽器(IE6/7除外),可作為 PC 端後臺系統與前臺界面的速成開發方案。
經典模塊化前端框架
  組件庫:
    技術分享圖片
  GitHub:https://github.com/sentsin/layui/
  star:10278,fork:2909
  latest commit 2017.12.7 9pm
  11 contributors
  基礎引入:
    layui.css
    layui.js

uiKit(YOOtheme 團隊)

  官網地址:http://www.getuikit.net/
  描述:一款輕量級、模塊化的前端框架,可快速構建強大的web前端界面。
UIkit 兼容 IE9 以上現代瀏覽器。在 IE8 及其以下版本中,所有JavaScript 都會失效。
  依賴jQuery
  組件庫:
    技術分享圖片
  GitHub地址:https://github.com/uikit/uikit
  star:11146,fork:1811
  latest commit 2017.12.8 4pm
  21 contributors
  基礎引入:
    CDN:

<link rel="stylesheet" href="//cdn.bootcss.com/uikit/2.25.0/css/uikit.css" />
<script src="//cdn.bootcss.com/uikit/2.25.0/js/uikit.js"></script>

Bootstrap

  中文官網:http://www.bootcss.com/
  描述:簡潔、直觀、強悍的前端開發框架,讓web開發更迅速、簡單。
  組件庫
    技術分享圖片
  GitHub地址:https://github.com/twbs/bootstrap
  star:118971,fork:56198
  latest commit 2017.12.8 2pm
  958contributors
  基礎引入:
    CDN:

<!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">

<!-- 可選的 Bootstrap 主題文件(一般不用引入) -->
<link rel="stylesheet" href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">

<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>

    npm:
      npm install bootstrap@3
  其他基於bootstrap衍生出來的模塊:
    Ace Admin後臺管理系統模板:基於bootstrap3;http://ace.jeka.by/
    Metronic後臺管理模板:http://www.metronic.com/
    H+:http://www.zi-han.net/theme/hplus/
    jQuery UI+Bootstrap:https://github.com/jquery-ui-bootstrap/jquery-ui-bootstrap/


jQuery UI

  官方網址:http://jqueryui.com/
  組件庫:
    技術分享圖片
  其他基於jQuery衍生出來的模板:
    BUI:基於jQuery+KISSY UI:http://www.builive.com/
    EasyUI::http://www.jeasyui.net/
      描述:使用easyui你不需要寫很多代碼,你只需要通過編寫一些簡單HTML標記,就可以定義用戶界面。
    DWZ JUI:http://jui.org/


混合開發 UI框架

ionic

  中文官網網址:http://www.ionic-china.com/

  基於angular
  描述:ionic是一個強大的 HTML5應用程序開發框架(HTML5 Hybrid Mobile App Framework)。
ionic 主要關註外觀和體驗,以及和你的應用程序的 UI 交互,特別適合用於基於 Hybird 模式的 HTML5 移動應用程序開發。
ionic是一個輕量的手機UI庫,具有速度快,界面現代化、美觀等特點。


Framework7

  官網地址:http://framework7.cn/
  描述:Framework7 是一個開源免費的框架可以用來開發混合移動應用(原生和HTML混合)或者開發 iOS & Android 風格的WEB APP。
  也可以用來作為原型開發工具,可以迅速創建一個應用的原型。
  她只專註於為 iOS 和 Google Material 設計提供最好的體驗。
  GitHub:https://github.com/framework7io/framework7
  star:11304,fork:2439
  latest commit2017.11.7 5pm
  77 contributors


OnsenUI

  官網地址:https://onsen.io/
  描述:用來構建混合移動端APP的 HTML5 UI 框架
  GitHub地址:https://github.com/OnsenUI/OnsenUI
  star:5706,fork:716
  latest commit 2017.11.30 6pm
  83 contributors

APP 框架(拓展)

react-native

  中文官網地址:http://reactnative.cn/
  描述:React Native使你能夠在Javascript和React的基礎上獲得完全一致的開發體驗,構建世界一流的原生APP。
React Native著力於提高多平臺開發的開發效率 —— 僅需學習一次,編寫任何平臺。(Learn once, write anywhere)
  GitHub地址:https://github.com/facebook/react-native
  star:56938,fork:13206
  1544contributors

weex

  官網地址:http://weex.apache.org/cn/
  描述:Weex 提供強大的跨平臺能力,可以使用相同的 API 開發 Web,Android 和 iOS 應用。
同時,我們對接口了豐富的擴展能力。


結束語

  關於混合APP和APP開發方面,小弟沒有很多的經驗,只是進行了粗略的了解。以上就是匯總到的一些關於移動端UI框架、PC端及混合APP開發UI框架方面的資料。當然,當今前端飛速發展,關於UI框架方面的很多都沒有總結和匯總到,希望小夥伴們有了解到的可以留言喔。




前端UI框架小匯總