Skip to content

Latest commit

 

History

History
67 lines (38 loc) · 1.61 KB

icon-button.md

File metadata and controls

67 lines (38 loc) · 1.61 KB

Icon Button

Displays an Icon as a button. Also called toggle button.

Main features

  • All Button main features
  • Custom icon
  • Compact display
  • Inactive display

Usage

Options

Because Icon Button is composed from Button, most Button options can be used for Icon Button too. Additionally:

Icon button specific options

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

Composition

Icon Button is composed from:

CSS classes