Ionic 2.x/3.x - Ionic Passcode Flat

Ionic 2.x/3.x - Ionic Passcode Flat

Add a beautiful passcode screen to your app in order to secure your users' data.


Iclic Labs

Iclic Labs

Member since 2014


iOS, Android  
4 years ago
4 years ago
passcode, login, signin, security, design, iclic labs, iclic, ionic2, ionic3,

Thanks to all of you who have downloaded this plugin! Please consider leaving a rating and review, it would be really helpful to get your feedbacks. Thanks.

Plugin by

This plugin is compatible with Ionic v2.x and v3.x!


Add a beautiful flat passcode screen to your app in order to secure your users' data. This plugin works on iOS, Android and Windows Phone. The component is very easy to use and should only take a few minutes to include to your app.

Test Before You Buy

You can test the app using Ionic View and enter the app id faf02995.


  1. Works with iOS, Android and Windows Phone.
  2. Only 1 line to add to your template
  3. Comes with serveral full and detailed examples.
  4. This component has well structured html, css and js files and is heavily commented, so that it is easy to edit, add your style, etc.


  1. Copy the app/components/ion-passcode.ts file into your app directory
  2. Import the IonPasscode component and add it to the declarations list in the app/app.module.ts file

That's all!


  1. in your page template, add <ion-passcode> in your ion-content, the parameter options is a mandatory reference to the IonPasscodeOptions.

That's all. Here is an example of a Page template, very simple. Just add the ion-shrinking-header component:

<!-- simply add <ion-passcode> to your ion-content element, that's all! --> <ion-content> <ion-passcode [options]="passcodeOptions"></ion-passcode> </ion-content>

Here is how to define passcodeOptions:

``` import { Component } from '@angular/core'; import { IonPasscodeOptions } from '../../../components/ion-passcode';

@Component({ templateUrl: 'default.html' }) export class DefaultPage { passcodeOptions: IonPasscodeOptions;

ngOnInit() { this.passcodeOptions = { title: 'Enter Passcode', onComplete: function(passcode: string) { // you have to return a promise once you have verified the passcode // if the passcode is invalid call reject() // if the passcode is valid call resolve() return new Promise((resolve, reject) => { if (passcode == '0000') { reject(); } else { resolve(); } }); } } } } ```

Other Popular Plugins:

  1. Ionic Categories: Ionic v2.x/v3.x
  2. Ionic Passcode Square: Ionic v2.x/v3.x
  3. Ionic Passcode Flat: Ionic v2.x/v3.x
  4. Ionic Passcode Round: Ionic v2.x/v3.x
  5. Ionic Shrinking Header: Ionic v2.x/v3.x
  6. Ionic Material Sidemenu: Ionic v2.x/v3.x
  7. Ionic Walkthrough: Ionic v2.x/v3.x
  8. Ionic Contacts Inviter: Ionic v2.x/v3.x
  9. Ionic Cover Header: Ionic v1.x - Ionic v2.x/v3.x
  10. Ionic Profile Header: Ionic v2.x/v3.x
  11. Ionic Numeric Keyboard: Ionic v1.x - Ionic v2.x/v3.x
  12. Ionic Phone Number Validator: Ionic v1.x
  13. Ionic Cover Item: Ionic v1.x
  14. Ionic Timer: Ionic v1.x

Need Custom Work?

If you need help with your Ionic apps, if you need a specific plugin or integration. Let's get in touch. I'll be glad to develop or advise you for your app! Email me at