Mat Icon Gallery Angular

Follow the following steps to update the angular application we created in angular 6 project setup chapter.
Mat icon gallery angular. We ll learn to use mat icon material design component to display fonts icon and svg icons. Mat icon ngclass alert context ngif icon icon mat icon ngclass only appends the given string to the class attributes while classname overrides it. The a element should be used for any interaction that navigates to another view. Vector based icons which are adaptable to any resolution and dimension on the other hand raster based icons have a fixed pattern of dots with specified values and if resized the resolution changes.
In this tutorial i will teach how to use angular material 8 icons in your angular 8 9 project. In this chapter we will showcase the configuration required to draw a icon control using angular material. Mat icon selector is used to display material icons in angular we have around 900 angular material icons to show the below mat icon list icons we need to load material icons css provided by google mat icon is part of angular material module called maticonmodule we can use font ligature as an icon by putting the ligature text in mat icon component. Material is an adaptable system of guidelines components and tools that support the best practices of user interface design.
Angular material uses native button and a elements to ensure an accessible experience by default. Ui component infrastructure and material design components for mobile and desktop angular web applications. There is actually one more way to bind a static css class which is in my opinion the best. To include icons in your webpage you can use mat icon directive.
Previously it was known as md icon. Backed by open source code material streamlines collaboration between designers and developers and helps teams quickly build beautiful products. It is better to use mat icon as they serve svg icons i e.