Displays an Icon as a button. Also called toggle button.
- All Button main features
- Custom icon
- Compact display
- Inactive display
Because Icon Button is composed from Button, most Button options can be used for Icon Button too. Additionally:
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
icon | either icon or child nodes must be passed | Object | Icon options object; also used to show an round "avatar" portrait image | |
label | optional | String | Optional button label, placed next to the icon | |
compact | optional | Boolean | false | Set to true to use smaller padding |
Icon Button is composed from: