Browse components

IconButton

import IconButton from "@shpaw415/mui-lite/IconButton";

Why use it

IconButton is an icon-only press target with ripple and color. Use for toolbar actions, list trailing actions, and close controls where a full Button would be too heavy.

Demo

Sizes
small
medium
large
Colors

Example

import IconButton from "@shpaw415/mui-lite/IconButton";
 
<IconButton color="primary" aria-label="favorite" onClick={toggle}>

</IconButton>

Props

PropTypeDefault
colorpaletteprimary
sizesmall | medium | largemedium
colorOverRideCSS color