Ionic Framework can be included from a CDN for quick testing in a Plunker, , or any other online code editor!

It's recommended to use unpkg to access the Framework from a CDN. To get the latest version, add the following inside the element in an HTML file, or where external assets are included in the online code editor:


With this it's possible to use all of the Ionic Framework core components without having to install a framework. The CSS bundle will include all of the Ionic .

When using Ionic Framework in an Angular project, install the latest @ionic/angular package from npm. This comes with all of the Ionic Framework components and Angular specific services and features.

  1. $ npm install @ionic/ --save

Create a global stylesheet file and add it to the styles object in the Angular workspace config. Add the following imports to that file:


See for the styles that each of these files contain.

When using Ionic Framework in a Stencil project, install the latest @ionic/core package from npm. This comes with all of the Ionic Framework components.

  1. $ npm install @ionic/ --save

Include an import of in the root app file:

Create a global stylesheet file and add it to the config object in the Stencil Config.

  1. exports.config = {
  2. globalStyle: 'src/global.css'
  3. // ...


Add the following imports to that file:


See for the styles that each of these files contain.

Ionicons is packaged by default with the Ionic Framework, so no installation is necessary if you're using Ionic. To use Ionicons without Ionic Framework, place the following <script> near the end of your page, right before the closing </body> tag.

  1. <script src="https://unpkg.com/[email protected]/dist/ionicons.js"></script>