Actions
Icon button
A round button that shows only an icon, used for familiar actions where space is short, such as Search in the app bar or Next day beside a date.
In kanso-ui as IconButton
Live in kanso-ui
IconButton from kanso-ui as it draws today, in Kanso’s tokens. Press, hover and tab through it: the shapes, the springs and the sizes are the library’s own.
Standard · tonal · filled · outlined
Sizes: 32, 40 and 56px · a toggle changes shape when it is on
The design
The Kanso design system's own drawing of it, in HTML and CSS with kanso-ui's tokens: the look kanso-ui's component moves to with its family's release.
When to use
Use it when the icon is unmistakable: search, edit, more options, previous and next, close, and toggles such as reminders on or off. Use Button with an icon when the action needs words, Fab for the floating "Add" on phones, and Chip for filters.