Skip to main content

Divider

Useful for separating UI into sections.

Types

DividerProps

interface DividerProps {
...FrameProps--

All Frame properties are accepted.

LengthUDim--

The length of the divider.

FillDirectionEnum.FillDirection--

The direction in which the divider fills (Horizontal or Vertical).

ColorColor3--

The color of the divider.

Transparencynumber--

The transparency of the divider.

SpacingUDim--

The spacing around the divider.

}
Show raw api
{
    "functions": [],
    "properties": [],
    "types": [
        {
            "name": "DividerProps",
            "desc": "",
            "fields": [
                {
                    "name": "...",
                    "lua_type": "FrameProps",
                    "desc": "All Frame properties are accepted."
                },
                {
                    "name": "Length",
                    "lua_type": "UDim",
                    "desc": "The length of the divider."
                },
                {
                    "name": "FillDirection",
                    "lua_type": "Enum.FillDirection",
                    "desc": "The direction in which the divider fills (Horizontal or Vertical)."
                },
                {
                    "name": "Color",
                    "lua_type": "Color3",
                    "desc": "The color of the divider."
                },
                {
                    "name": "Transparency",
                    "lua_type": "number",
                    "desc": "The transparency of the divider."
                },
                {
                    "name": "Spacing",
                    "lua_type": "UDim",
                    "desc": "The spacing around the divider."
                }
            ],
            "source": {
                "line": 18,
                "path": "src/Components/Divider.luau"
            }
        }
    ],
    "name": "Divider",
    "desc": "Useful for separating UI into sections.",
    "source": {
        "line": 6,
        "path": "src/Components/Divider.luau"
    }
}