MCPcopy Index your code
hub / github.com/OnsenUI/OnsenUI

github.com/OnsenUI/OnsenUI @2.12.8 sqlite

repository ↗ · DeepWiki ↗ · release 2.12.8 ↗
2,444 symbols 5,411 edges 604 files 400 documented · 16%
README

Circle CI NPM version CDNJS

Onsen UI - Cross-Platform Hybrid App and PWA Framework

Onsen 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.

Getting started

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

Get Onsen UI

Download the latest released version

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

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.

Download or request from a CDN

You can also take the necessary files from a CDN. Some of the options are unpkg, jsDelivr and cdnjs.

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.

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.

Onsen UI ecosystem

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

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.

Browser Support

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

  • Android 4.4.4+
  • iOS 9+
  • Chrome
  • Safari

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.

Extension points exported contracts — how you extend this code

OnsAlertDialogElement (Interface)
* @modifier android Display an Android style alert dialog * @description Alert dialog that is displayed on top of the [27 …
onsenui/esm/onsenui.d.ts
UpdateJsonFn (Interface)
JSON
onsenui/bindings/angular2/schematics/src/ng-add/setup-project.ts
DialogRef (Interface)
(no doc)
ngx-onsenui/projects/ngx-onsenui/src/lib/ons/dialog-factory.ts
OnsPopoverElement (Interface)
* @modifier android Display an Android style popover * @description A component that displays a popover next to an el [27 …
onsenui/esm/onsenui.d.ts
Schema (Interface)
(no doc)
onsenui/bindings/angular2/schematics/src/ng-add/schema.ts
PopoverRef (Interface)
(no doc)
ngx-onsenui/projects/ngx-onsenui/src/lib/ons/popover-factory.ts
OnsActionSheetElement (Interface)
(no doc) [27 implementers]
onsenui/esm/onsenui.d.ts
AlertDialogRef (Interface)
(no doc)
ngx-onsenui/projects/ngx-onsenui/src/lib/ons/alert-dialog-factory.ts

Core symbols most depended-on inside this repo

remove
called by 207
onsenui/esm/elements/ons-select.js
done
called by 192
onsenui/esm/ons/animit.js
push
called by 133
onsenui/esm/elements/ons-navigator/animator.js
click
called by 122
onsenui/esm/elements/ons-switch.js
add
called by 120
onsenui/esm/elements/ons-select.js
contentReady
called by 115
onsenui/esm/ons/content-ready.js
select
called by 106
onsenui/esm/ons/platform.js
extend
called by 92
onsenui/esm/ons/base-animator.js

Shape

Method 1,328
Function 534
Class 527
Interface 55

Languages

TypeScript100%

Modules by API surface

onsenui/esm/onsenui.d.ts111 symbols
onsenui/bindings/angular1/examples/lib/jquery.js77 symbols
onsenui/esm/elements/ons-navigator.js52 symbols
onsenui/esm/ons/internal/swiper.js40 symbols
onsenui/esm/elements/ons-splitter-side.js40 symbols
onsenui/esm/elements/ons-tabbar.js39 symbols
onsenui/esm/ons/internal/lazy-repeat.js38 symbols
onsenui/esm/ons/platform.js29 symbols
onsenui/esm/elements/ons-speed-dial.js29 symbols
onsenui/esm/elements/ons-pull-hook.js29 symbols
onsenui/esm/polyfills/custom-elements/custom-elements.min.js28 symbols
onsenui/esm/elements/ons-carousel.js28 symbols

Dependencies from manifests, versioned

@angular-devkit/build-angular0.13.0 · 1×
@angular-devkit/build-ng-packagr0.13.0 · 1×
@angular-devkit/core8.0.0 · 1×
@angular-devkit/schematics8.0.0 · 1×
@angular/animations7.2.0 · 1×
@angular/cli7.3.10 · 1×
@angular/common8.0.0 · 1×
@angular/compiler8.0.0 · 1×
@angular/compiler-cli8.0.0 · 1×
@angular/core8.0.0 · 1×
@angular/forms8.0.0 · 1×
@angular/language-service7.2.0 · 1×

For agents

$ claude mcp add OnsenUI \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact