Skip to main content

Badge

Used to inform the user of something's status. E.g. a notification indicator or discount tag.

Types

BadgeProps

interface BadgeProps {
ContentFusion.UsedAs<{string}>?
ContentWrappedFusion.UsedAs<boolean>?
ColorFusion.UsedAs<Color3>?
ContentColorFusion.UsedAs<Color3>?
ContentSizeFusion.UsedAs<number>?
ContentWrappedFusion.UsedAs<number>?
}
Show raw api
{
    "functions": [],
    "properties": [],
    "types": [
        {
            "name": "BadgeProps",
            "desc": "",
            "fields": [
                {
                    "name": "...",
                    "lua_type": "FrameProps",
                    "desc": ""
                },
                {
                    "name": "Content",
                    "lua_type": "Fusion.UsedAs<{ string }>?",
                    "desc": ""
                },
                {
                    "name": "ContentWrapped",
                    "lua_type": "Fusion.UsedAs<boolean>?",
                    "desc": ""
                },
                {
                    "name": "Color",
                    "lua_type": "Fusion.UsedAs<Color3>?",
                    "desc": ""
                },
                {
                    "name": "ContentColor",
                    "lua_type": "Fusion.UsedAs<Color3>?",
                    "desc": ""
                },
                {
                    "name": "ContentSize",
                    "lua_type": "Fusion.UsedAs<number>?",
                    "desc": ""
                },
                {
                    "name": "ContentWrapped",
                    "lua_type": "Fusion.UsedAs<number>?",
                    "desc": ""
                }
            ],
            "source": {
                "line": 44,
                "path": "src/Components/Badge.luau"
            }
        }
    ],
    "name": "Badge",
    "desc": "Used to inform the user of something's status. E.g. a notification indicator or discount tag.",
    "source": {
        "line": 7,
        "path": "src/Components/Badge.luau"
    }
}