Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

icon-button

v4.5.2arrow_drop_down
v4.5.2
v3.9.2
STATUS
Passing
DOWNLOADS
3,580
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
2 months ago
SIZE
28 KB
Refer to the [Icons](/components/icons/) section of the documentation regarding the available icon options.
2 contributors
Use icon-button in your project ?
Copied
npm i @bit/mui-org.material-ui.icon-button
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right
iconButton ()

Refer to the Icons section of the documentation regarding the available icon options.

Properties
NameTypeDescription
children
custom

The icon element.

classes
(required)
object

Override or extend the styles applied to the component. See CSS API below for more details.

className
string
color
'default' | 'inherit' | 'primary' | 'secondary'

The color of the component. It supports those theme colors that make sense for this component.

disabled
bool

If true, the button will be disabled.

disableFocusRipple
bool

If true, the keyboard focus ripple will be disabled. disableRipple must also be true.

disableRipple
bool

If true, the ripple effect will be disabled.

edge
'start' | 'end' | false

If given, uses a negative margin to counteract the padding on one side (this is often helpful for aligning the left or right side of the icon with content above or below, without ruining the border size and shape).

size
'small' | 'medium'

The size of the button. small is equivalent to the dense button styling.