angular / components

Component infrastructure and Material Design components for Angular
https://material.angular.io
MIT License
24.39k stars 6.76k forks source link

Provide support for contained icon button #29465

Open rognierbenoit opened 4 months ago

rognierbenoit commented 4 months ago

Feature Description

Provide support for contained icon button as specified in material design 3

Use Case

see mat 3

hhaasbroek commented 4 months ago

If you can can you please add more context to this, with a link to the documentation? Or an example maby.

austinw-fineart commented 2 months ago

The M3 specs use specific terminology so a "contained" icon button refers to a specific type of icon button. Contained icon buttons include filled, filled tonal, and outlined styles. In the past Angular Material may have used words like "raised", "stroked", or "flat" variants but those are all wrong. You are not allowed to simply change the color of an icon button and call it something else. You can read the specs for yourself here: https://m3.material.io/components/icon-buttons/overview