[Tip] Material design for all platforms in Ionic 2

Material design is what I like most of the time if you’re like me, here’s how to implement it inside your Ionic 2 application.

Whether it’s Android, iOS or Windows Phone, you can use the material design for all of the platforms.


I search about this and found couple out-dated answers on Stackoverflow because that was when the ionic was still in beta. But then I found the solution on Ionic 2 docs.

  • Open app.modules.ts
  • In the import section, find the sentence IonicModule.forRoot(MyApp)
  • Add {mode: 'md'} right after MyApp
  • Final import statement will look like: IonicModule.forRoot(MyApp, {mode: 'md'})