Components
Embedded Container

Embedded Container

A container component designed to be embedded in your content.

Properties

NameTypeDescription
StrokeBottomFusion.UsedAs<boolean>?if the container should have a stroke on the bottom.
StrokeTopFusion.UsedAs<boolean>?if the container should have a stroke on the top.
StrokeLeftFusion.UsedAs<boolean>?if the container should have a stroke on the left.
StrokeRightFusion.UsedAs<boolean>?if the container should have a stroke on the right.
ChildrenZIndexFusion.UsedAs<number>?The ZIndex of the container's children wrapper.

Example

Scope:EmbeddedContainer {
  Size = UDim2.new(1, 0),
  AutomaticSize = Enum.AutomaticSize.Y,
  StrokeBottom = true,
  
  [Children] = {
    Scope:Button {
      Width = UDim.new(1, 0),
      Content = "Export",
    },
 
    Scope:Button {
      Width = UDim.new(1, 0),
      Content = "Import",
      Variant = "Secondary" :: "Secondary"
    },
 
    Scope:New "UIListLayout" {
      FillDirection = Enum.FillDirection.Horizontal,
      HorizontalFlex = Enum.UIFlexAlignment.Fill,
      Padding = UDim.new(0, 8)
    },
 
    Scope:New "UIPadding" {
      PaddingLeft = UDim.new(0, 8), PaddingRight = UDim.new(0, 8),
      PaddingTop = UDim.new(0, 8), PaddingBottom = UDim.new(0, 8),
    }
  }
}