2 min read

Source: Roblox Creator Hub · CC BY 4.0 · View source · Code samples: MIT Imported 2026-10-03. Formatting adapted for this site.

ButtonStyle

Used by GuiButton.Style to set a special hardcoded appearance.

These should generally be avoided in favor of setting other appearance properties, but they can be useful for wireframing.

Despite the Roblox naming, these are not used by any official Roblox UI.

Items

NameValueDescription
Custom0The button will respect the GuiObject.BorderColor3 and GuiObject.BackgroundColor3 properties.
RobloxButtonDefault1A black background with a red border, and rounded corners.
RobloxButton2A black background with a grey border, and rounded corners.
RobloxRoundButton3A grey background with rounded corners, and a slight drop shadow.
RobloxRoundDefaultButton4A blue background with rounded corners, and a slight drop shadow.
RobloxRoundDropdownButton5A white background with a thin grey border, rounded corners, and a slight drop shadow.

Custom

The button will respect the GuiObject.BorderColor3 and GuiObject.BackgroundColor3 properties.

FieldValue
value0

RobloxButtonDefault

A black background with a red border, and rounded corners.

FieldValue
value1

RobloxButton

A black background with a grey border, and rounded corners.

FieldValue
value2

RobloxRoundButton

A grey background with rounded corners, and a slight drop shadow.

FieldValue
value3

RobloxRoundDefaultButton

A blue background with rounded corners, and a slight drop shadow.

FieldValue
value4

RobloxRoundDropdownButton

A white background with a thin grey border, rounded corners, and a slight drop shadow.

FieldValue
value5