In this section, we are going to go over a few of the Ionic components. These components include buttons, lists, cards, and forms. Ionic components automatically adapt to the iOS theme, or Material Design for Android or Windows theme based on the device they are running on. When we are working with Ionic components, we will see the output in all three platforms.
To proceed further, we create a new project for working with buttons. You can cd into the chapter3 folder and run the following command:
ionic start -a "Example 5" -i app.example.five example5 blank --v2
Next, we serve the app in lab mode. Use, cd command to navigate into the example5 folder and run the following:
ionic serve --lab
This will serve the Ionic app in lab mode, which would look something like this:
With this view, we can see the output of all our components in all three platforms.