Package-level declarations
Material web icon button components (filled, filled tonal, outlined, standard).
Types
Link copied to clipboard
Link copied to clipboard
open class MdFilledIconButton(disabled: Boolean = false, flipIconInRtl: Boolean = false, href: String? = null, target: LinkTarget? = null, ariaLabelSelected: String? = null, toggle: Boolean = false, selected: Boolean = false, type: IconButtonType = IconButtonType.Submit, value: String? = null, name: String? = null, className: String? = null, init: MdFilledIconButton.() -> Unit? = null) : MdIconButton
Filled icon buttons have higher visual impact and are best for high emphasis actions.
Link copied to clipboard
open class MdFilledTonalIconButton(disabled: Boolean = false, flipIconInRtl: Boolean = false, href: String? = null, target: LinkTarget? = null, ariaLabelSelected: String? = null, toggle: Boolean = false, selected: Boolean = false, type: IconButtonType = IconButtonType.Submit, value: String? = null, name: String? = null, className: String? = null, init: MdFilledTonalIconButton.() -> Unit? = null) : MdIconButton
Filled tonal icon buttons are a middle ground between filled and outlined icon buttons. They're useful in contexts where the button requires slightly more emphasis than an outline would give, such as a secondary action paired with a high emphasis action.
Link copied to clipboard
Icon buttons help people take supplementary actions with a single tap.
Link copied to clipboard
open class MdOutlinedIconButton(disabled: Boolean = false, flipIconInRtl: Boolean = false, href: String? = null, target: LinkTarget? = null, ariaLabelSelected: String? = null, toggle: Boolean = false, selected: Boolean = false, type: IconButtonType = IconButtonType.Submit, value: String? = null, name: String? = null, className: String? = null, init: MdOutlinedIconButton.() -> Unit? = null) : MdIconButton
Outlined icon buttons are medium-emphasis buttons. They're useful when an icon button needs more emphasis than a standard icon button but less than a filled or filled tonal icon button.
Functions
Link copied to clipboard
fun Container.filledIconButton(disabled: Boolean = false, flipIconInRtl: Boolean = false, href: String? = null, target: LinkTarget? = null, ariaLabelSelected: String? = null, toggle: Boolean = false, selected: Boolean = false, type: IconButtonType = IconButtonType.Submit, value: String? = null, name: String? = null, className: String? = null, init: MdFilledIconButton.() -> Unit? = null): MdFilledIconButton
Link copied to clipboard
fun Container.filledTonalIconButton(disabled: Boolean = false, flipIconInRtl: Boolean = false, href: String? = null, target: LinkTarget? = null, ariaLabelSelected: String? = null, toggle: Boolean = false, selected: Boolean = false, type: IconButtonType = IconButtonType.Submit, value: String? = null, name: String? = null, className: String? = null, init: MdFilledTonalIconButton.() -> Unit? = null): MdFilledTonalIconButton
Link copied to clipboard
fun Container.iconButton(disabled: Boolean = false, flipIconInRtl: Boolean = false, href: String? = null, target: LinkTarget? = null, ariaLabelSelected: String? = null, toggle: Boolean = false, selected: Boolean = false, type: IconButtonType = IconButtonType.Submit, value: String? = null, name: String? = null, className: String? = null, init: MdIconButton.() -> Unit? = null): MdIconButton
Link copied to clipboard
fun Container.outlinedIconButton(disabled: Boolean = false, flipIconInRtl: Boolean = false, href: String? = null, target: LinkTarget? = null, ariaLabelSelected: String? = null, toggle: Boolean = false, selected: Boolean = false, type: IconButtonType = IconButtonType.Submit, value: String? = null, name: String? = null, className: String? = null, init: MdOutlinedIconButton.() -> Unit? = null): MdOutlinedIconButton