OnsenUI 0,14,0,31,5,13,0,4 editorconfig eslint Bower circleci npm

Mobile app development framework and SDK using HTML5 and JavaScript. Create beautiful and performant cross-platform mobile apps. Based on Web Components, and provides bindings for Angular 1, 2, React and Vue.js.

Gitter Chat Forum TypeScript definitions
Circle CI Coverage Staus NPM version CDNJS

Onsen UI - Cross-Platform HTML5 Hybrid App Framework

Onsen UI is a library of UI components to help you create beautiful hybrid and mobile web apps for both Android and iOS using Javascript.

Onsen UI Todo App

It is open source and designed to deliver native look and feel. Apps are made out of simple HTML tags, thus providing a gentle learning curve.

The core library is written in pure Javascript (on top of Web Components) and is framework agnostic, which means you can use it with your favorite framework and its tools. Currently, we provide some extra binding packages in order to tailor Onsen UI's API for specific frameworks:


React

Angular 2+


Vue


AngularJS 1.x

Some other frameworks are supported by community packages (i.e. not tested or implemented by the core team): Aurelia, EmberJS.

Both iOS flat and Android's Material design are included. The components are optionally auto-styled based on the platform, which makes it possible to support both iOS and Android with the same source code.

Getting started

We have several resources to help you get started creating hybrid apps with Onsen UI:

  • The official docs: we provide guides and references for the core library (vanilla JS or jQuery) as well as the Vue, React, Angular2 and AngularJS 1.x components.
  • Components overview: a list of included CSS components in both flat and Material Design. Note that these components are just pure and performant CSS without JavaScript behavior. Some extra details (such as dragging or ripple effect) are added by Onsen UI custom elements.
  • Playground: an interactive Onsen UI tutorial is also available where you can learn how to use the library and play around with the components.
  • Blog: there are lots of great tutorials and guides published in our official Onsen UI blog and we are adding new content regularly.
  • Support: if you are having trouble using some component the best place to get help is the Onsen UI Forum or Gitter chat. We are also available to answer short questions on Twitter at @Onsen_UI.

Onsen UI ecosystem

Because sometimes a UI framework may not be enough to make hybrid app development easily, Onsen UI comes with a complete ecosystem of well integrated tools. Meet Monaca.

Developed by the same team, Monaca Platform is a toolkit that makes hybrid mobile app development with PhoneGap / Cordova simple and easy: Onsen UI Cordova-like templates, debugging suite, push notifications, remote build, back-end solutions, encryption, version control, continuous integration and more. Furthermore, it provides multiple development environments with everything already configured and ready to go:

Cloud IDE - Command Line Interface - Localkit GUI

Example with CLI:

$ [sudo] npm -g install monaca
$ monaca create helloworld # And choose the starter template
$ monaca preview # Preview on the browser
$ monaca debug # Preview on a real device
$ monaca remote-build # Production build on the cloud

See the Onsen UI Getting Started Page for more information.

Examples with source code

There are lots of sample applications written using Onsen UI. Here are some examples with source code and tutorials to give you an idea of what kind of apps you can create.

Browser Support

Onsen UI is tested with the following browsers and mobile OS.

Get Onsen UI

  • Download the latest released version

We have a distribution repository with changelog. Onsen UI is also available in npm, bower and jspm. Example:

npm install onsenui

This downloads Onsen UI main library and AngularJS bindings. For other bindings, install also react-onsenui, vue-onsenui or angular2-onsenui.

  • Get the latest development build

Optionally, you can download the latest development build here. Be careful, usually everything there is already tested but it might be unstable sometimes.

Contribution

We welcome your contribution, no matter how big or small! Please have a look at the contribution guide for details about project structure, development environment, test suite, code style, etc. All the version updates are mentioned in the changelog.

Related Repositories

react-onsenui

react-onsenui

Onsen UI - React Components for Hybrid Cordova Apps ...

MediaExplorerMobileOnsen

MediaExplorerMobileOnsen

iTunes Media Explorer mobile application sample written with Cordova+OnsenUI (An ...

react-onsenui-kitchensink

react-onsenui-kitchensink

Kitchen Sink Example for Onsen UI 2.0 React extension ...

OnsenUI-Todo-App

OnsenUI-Todo-App

Onsen UI 2.0 To-Do sample application implemented in Vanilla JavaScript. ...

Horizon-Chat-MobX-OnsenUI

Horizon-Chat-MobX-OnsenUI

A simple chat app with Horizon MobX and OnsenUI ...


Top Contributors

argelius anatoo frankdiox kruyvanna IliaSky andipavllo IgorMinar masahirotanaka philolo1 jackchuka seanchas116 asial-matagawa roboncode vojtajina shika22 idealhack zumbrunnen d3orn JcDenton86 marqu3z michaelneale caram6 mhevery elnur marcel-dancak jsoref greenkeeperio-bot woyehenni yoshiko-pg zack24q

Dependencies

package version
@onsenui/custom-elements 1.0.0
core-js 2.4.1
dev babel-core ^6.24.1
babel-eslint ^6.0.3
babel-loader ^7
babel-plugin-add-module-exports ^0.2.1
babel-plugin-angularjs-annotate ^0.7.0
babel-preset-env ^1.4.0
babel-preset-es2015 ^6.24.1
babel-preset-stage-3 ^6.22.0
browser-sync ^2.13.0
chai ^3.4.1
chai-as-promised ^5.2.0
chai-spies ^0.7.1
chalk ^1.1.3
eslint ^2.12.0
event-stream ^3.3.2
gulp ^3.9.0
gulp-add-src ^0.2.0
gulp-autoprefixer ^3.1.0
gulp-babel ^6.1.2
gulp-cached ^1.1.0
gulp-chmod ^1.3.0
gulp-chug ^0.5.1
gulp-clean ^0.3.1
gulp-concat ^2.6.0
gulp-connect ^4.1.0
gulp-cssmin ^0.2.0
gulp-download 0.0.1
gulp-eslint ^2.0.0
gulp-header ^1.7.1
gulp-html2js ^0.4.2
gulp-if ^2.0.0
gulp-load-plugins ^1.2.4
gulp-plumber ^1.0.1
gulp-protractor ^2.4.0
gulp-remember ^0.3.0
gulp-rename ^1.2.2
gulp-shell ^0.5.1
gulp-sourcemaps ^1.6.0
gulp-uglify ^1.5.1
gulp-unzip ^0.1.3
gulp-util ^3.0.7
gulp-zip ^3.0.2
jsonschema ^1.0.3
karma ^0.13.19
karma-babel-preprocessor ^6.0.1
karma-chai ^0.1.0
karma-chai-as-promised ^0.1.2
karma-chai-spies ^0.1.4
karma-chrome-launcher ^2.1.1
karma-coverage ^1.0.0
karma-junit-reporter ^1.0.0
karma-mocha ^1.0.1
karma-safari-launcher ^1.0.0
karma-sauce-launcher ^1.1.0
mkpath ^1.0.0
mocha ^2.5.3
progress-bar-webpack-plugin ^1.9.3
protractor ^4.0.10
run-sequence ^1.2.1
svg-inline-loader ^0.8.0
typescript ^2.3.3
wcdoc 0.1.19
wdio-jasmine-framework ^0.2.16
webdriverio ^4.4.0
webpack ^2.4.1

Releases

-   2.0.0 zip tar
-   2.0.0-rc.19 zip tar
-   2.0.0-rc.18 zip tar
-   2.0.0-rc.17 zip tar
-   2.0.0-rc.15 zip tar
-   2.0.0-rc.14 zip tar
-   2.0.0-rc.13 zip tar
-   2.0.0-rc.11 zip tar
-   2.0.0-rc.9 zip tar
-   2.0.0-rc.8 zip tar
-   2.0.0-rc.7 zip tar
-   2.0.0-rc.6 zip tar
-   2.0.0-rc.5 zip tar
-   2.0.0-rc.4 zip tar
-   2.0.0-rc.3 zip tar
-   2.0.0-rc.2 zip tar
-   2.0.0-rc.1 zip tar
-   2.0.0-beta.15 zip tar
-   2.0.0-beta.14 zip tar
-   2.0.0-beta.12 zip tar
-   2.0.0-beta.11 zip tar
-   2.0.0-beta.9 zip tar
-   2.0.0-beta.8 zip tar
-   2.0.0-beta.7 zip tar
-   2.0.0-beta.6 zip tar
-   2.0.0-beta.5 zip tar
-   2.0.0-beta.4 zip tar
-   2.0.0-beta.2 zip tar
-   2.0.0-beta.1 zip tar
-   2.0.0-beta zip tar