Skip to content

IconButtonProperties

export type IconButtonProperties = BaseButtonProperties & {
    ImageColorStyle: CanBeState<Enum.StudioStyleGuideColor>?,
    ImageColorModifier: CanBeState<Enum.StudioStyleGuideModifier>?,
    IconColor3: CanBeState<Color3>?,
    TextSize: nil,
    [any]: any,
}

The IconButtonProperties table that is given to the IconButton() function that contains data about the desired IconButton.

This type is also an extension of the BaseButtonProperties type.


Properties

ImageColorStyle : CanBeState<Enum.StudioStyleGuideColor>?

Sets the color style of the image to the given Enum or a State containing that Enum.


ImageColorModifier : CanBeState<Enum.StudioStyleGuideModifier>?

Sets the color style modifier of the image to the given Enum or a State containing that Enum.


IconColor3 : CanBeState<Color3>?

The color of the icon on the IconButton. Can either be a State containing a Color3, or a Color3. Setting this property is not recommended, as it will overwrite the default color defined by the theme of the Studio.