Angular Material (MAT) ButtonLast Updated : 17 Mar 2025 What is the MAT Button?The <mat-button> module enhances the user experience compared to normal buttons. The <mat-button> elements are always used to provide the most direct and accessible experience for users. When the user wants to perform an action in the web-page, it uses the <mat-button>. There are several types of buttons in angular material, and each button has its own specialty:
Themes of the button The background color can be set to Primary, Pronunciation, or Warning using the color property to reference the current theme of the button. Button Text Capitalization Material design requires capitalizing the spectral button text, although we have not opted to capitalize the button automatically via text-transformation:uppercase, as this can cause problems in some places. API reference for Angular Material button Example: All buttonsTS Code CSS Code HTML Code ![]() |
We request you to subscribe our newsletter for upcoming updates.

We deliver comprehensive tutorials, interview question-answers, MCQs, study materials on leading programming languages and web technologies like Data Science, MEAN/MERN full stack development, Python, Java, C++, C, HTML, React, Angular, PHP and much more to support your learning and career growth.
G-13, 2nd Floor, Sec-3, Noida, UP, 201301, India
