Press "Enter" to skip to content

Simple Flip Component-Based On Angular | ngxFlip

ngxFlip is a simple plug-and-play flip animation component for Angular 6+.

3d animation in angular, angular mat card animation, mat card flip, angular material cards side by side, angular latest version

[Animation] 3D Page Flip Images Effect For Vue component | flipbook

How to make use of it:


npm install ngx-flip --save

1. Import the Flip Module in your app.module.ts file

import { FlipModule } from 'ngx-flip';
  // other imports 
    imports: [
      // other imports 
    // ...
  export class AppModule {}

2. Add selector in template file my-component.html

<ngx-flip [flip]="flipDiv" (click)="onClick()">
  <div front>Front</div>
  <div back>Back</div>

 flip : boolean variable => used to flip the front and back div
 <div front>Front</div> => Front div -- add 'front' as attribute to identify as front div
 <div back>Back</div> => Back div -- add 'back' as attribute to identify as back div
import { Component } from '@angular/core';

@Component({ /* ... */ })
export class MyComponent {
  flipDiv = false;
  onClick() {
    this.flipDiv = !this.flipDiv;

Flip Component For Angular, Simple plug and play Flip component Plugin/Github

See Demo And Download

Official Website(ritsrivastava01): Click Here

This superior jQuery/javascript plugin is developed by ritsrivastava01. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.