A component is one of the basic building blocks of an Angular app. An app can have more than one component . In a normal app, a component contains an HTML view page class file, a class file that controls the behaviour of the HTML page and the CSS/scss file to style your HTML view.