Skip to main content

TitleBar

For displaying a title, and an optional close button. Pairs with MenuFrame.

Types

TitleBarProps

interface TitleBarProps {
ContentFusion.UsedAs<{string}>?
ContentSizeFusion.UsedAs<number>?
ContentColorFusion.UsedAs<Color3>?
ContentFontFaceFusion.UsedAs<Font>?
CloseButtonIconFusion.UsedAs<string>?
CloseButtonDisabledFusion.UsedAs<boolean>?
OnCloseFusion.UsedAs<() → ()>?
}
Show raw api
{
    "functions": [],
    "properties": [],
    "types": [
        {
            "name": "TitleBarProps",
            "desc": "",
            "fields": [
                {
                    "name": "...",
                    "lua_type": "FrameProps",
                    "desc": ""
                },
                {
                    "name": "Content",
                    "lua_type": "Fusion.UsedAs<{ string }>?",
                    "desc": ""
                },
                {
                    "name": "ContentSize",
                    "lua_type": "Fusion.UsedAs<number>?",
                    "desc": ""
                },
                {
                    "name": "ContentColor",
                    "lua_type": "Fusion.UsedAs<Color3>?",
                    "desc": ""
                },
                {
                    "name": "ContentFontFace",
                    "lua_type": "Fusion.UsedAs<Font>?",
                    "desc": ""
                },
                {
                    "name": "CloseButtonIcon",
                    "lua_type": "Fusion.UsedAs<string>?",
                    "desc": ""
                },
                {
                    "name": "CloseButtonDisabled",
                    "lua_type": "Fusion.UsedAs<boolean>?",
                    "desc": ""
                },
                {
                    "name": "OnClose",
                    "lua_type": "Fusion.UsedAs<() -> ()>?",
                    "desc": ""
                }
            ],
            "source": {
                "line": 48,
                "path": "src/Components/TitleBar.luau"
            }
        }
    ],
    "name": "TitleBar",
    "desc": "For displaying a title, and an optional close button. Pairs with [`MenuFrame`](/api/MenuFrame).",
    "source": {
        "line": 6,
        "path": "src/Components/TitleBar.luau"
    }
}