HTML5 Mobile Framework & UI Components
npm install onsenuiOnsen UI is an open source framework that makes it easy to create native-feeling Progressive Web Apps (PWAs) and hybrid apps.
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. We provide some extra binding packages to make it easy to use Onsen UI's API with many popular frameworks:
React | Angular 2+ | Vue | AngularJS 1.x |
Some other frameworks are supported by __community__ packages (not tested or implemented by the core team): Aurelia, EmberJS.
Both flat (iOS) and Material (Android) designs 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.
* __The official docs__: We provide guides and references for all of the components and bindings, as well as how to publish your app. These are our _Getting Started_ guides:
* Core guide (no framework)
* Vue guide
* React guide
* Angular 2+ guide
* AngularJS 1.x guide
* jQuery guide
* Creating an Onsen UI hybrid app using Cordova
* Progressive Web Apps (PWAs) with Onsen UI
* __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 where you can learn how to use Onsen UI 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 the community-run Discord Chat. We are also available to answer short questions on Twitter at @Onsen_UI.
``bash`
npm install onsenui
This downloads the core Onsen UI library. To install bindings, you can install react-onsenui, vue-onsenui, ngx-onsenui or angularjs-onsenui.
Developed by the Onsen UI team, __Monaca__ is a toolkit that makes hybrid mobile app development with __PhoneGap / Cordova__ simple and easy: Onsen UI Cordova 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 --browser # Production build on the cloud
See the Onsen UI Getting Started Page for more information.
* Android 4.4.4+
* iOS 9+
* Chrome
* Safari