[IconButton] Add support for density #14871
Labels
component: icon button
This is the name of the generic UI component, not the React module!
new feature
New feature or request
Expected Behavior 🤔
The Material spec allows for denser spacing (10px instead of 12px) for
IconButton
on desktop:As to whether a
dense
property should be used orpadding
,margin
,spacing
orsize
, there is some discussion in #14561.padding
is pretty explicit (and allowspadding="none"
but then consistency with the other use of this property is probably more important.Current Behavior 😯
No such option. Had to manually provide
padding: 10
.Context 🔦
Similar issues: #14521
The text was updated successfully, but these errors were encountered: