# Creating and Using New Component from Ionic CLI

**URL:** <https://forum.ionicframework.com/t/creating-and-using-new-component-from-ionic-cli/118199>\
**Category:** ionic-v3\
**Created:** [January 14, 2018, 5:41pm UTC](https://forum.ionicframework.com/t/creating-and-using-new-component-from-ionic-cli/118199 "2018-01-14T17:41:57Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![AaronSterling](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@AaronSterling](https://forum.ionicframework.com/u/AaronSterling)\
**Post date:** [January 14, 2018, 5:51pm UTC](https://forum.ionicframework.com/t/creating-and-using-new-component-from-ionic-cli/118199/2 "2018-01-14T17:51:25Z")

</div>

If your module uses Ionic, import IonicModule. Basically this means: if your module only has pure Angular, like pipes or providers, you don’t need IonicModule. But if you’re using Ionic for html, then you need it. For example:

> <https://github.com/mhartington/star-track-ionic/blob/master/src/components/ion-music-card/ion-music-card.module.ts>

---

_[View the full topic](https://forum.ionicframework.com/t/creating-and-using-new-component-from-ionic-cli/118199)._
