Components
Button

Button

A button that can be interacted with.

Properties

NameTypeDescription
WidthFusion.UsedAs<UDim"Auto">?
ContentFusion.UsedAs<{ string } | string>?The content of the button - use a asset id (rbxassetid://...) for an icon. (Defaults to Button).
Variant("Primary" | "Secondary" | "Destructive")?The button variant (Defaults to Primary).

Example

Scope:Button {
  Width = UDim.new(1, 0),
  Content = { "rbxassetid://105356698746495", "Click Me!" },
  Variant = "Primary" :: "Primary"
}