Skip to main content

Avatar

Useful for displaying player headshots and profile pictures. And optionally, user status.

Types

AvatarProps

interface AvatarProps {
ImageFusion.UsedAs<string>?
RingEnabledFusion.UsedAs<boolean>?
RingColorFusion.UsedAs<Color3>?
RingThicknessFusion.UsedAs<number>?
IndicatorEnabledFusion.UsedAs<boolean>?
IndicatorColorFusion.UsedAs<Color3>?
IndicatorIconFusion.UsedAs<string>?
IndicatorIconColorFusion.UsedAs<Color3>?
IndicatorCornerRadiusFusion.UsedAs<UDim>?
}
Show raw api
{
    "functions": [],
    "properties": [],
    "types": [
        {
            "name": "AvatarProps",
            "desc": "",
            "fields": [
                {
                    "name": "...",
                    "lua_type": "ImageProps",
                    "desc": ""
                },
                {
                    "name": "Image",
                    "lua_type": "Fusion.UsedAs<string>?",
                    "desc": ""
                },
                {
                    "name": "RingEnabled",
                    "lua_type": "Fusion.UsedAs<boolean>?",
                    "desc": ""
                },
                {
                    "name": "RingColor",
                    "lua_type": "Fusion.UsedAs<Color3>?",
                    "desc": ""
                },
                {
                    "name": "RingThickness",
                    "lua_type": "Fusion.UsedAs<number>?",
                    "desc": ""
                },
                {
                    "name": "IndicatorEnabled",
                    "lua_type": "Fusion.UsedAs<boolean>?",
                    "desc": ""
                },
                {
                    "name": "IndicatorColor",
                    "lua_type": "Fusion.UsedAs<Color3>?",
                    "desc": ""
                },
                {
                    "name": "IndicatorIcon",
                    "lua_type": "Fusion.UsedAs<string>?",
                    "desc": ""
                },
                {
                    "name": "IndicatorIconColor",
                    "lua_type": "Fusion.UsedAs<Color3>?",
                    "desc": ""
                },
                {
                    "name": "IndicatorCornerRadius",
                    "lua_type": "Fusion.UsedAs<UDim>?",
                    "desc": ""
                }
            ],
            "source": {
                "line": 52,
                "path": "src/Components/Avatar.luau"
            }
        }
    ],
    "name": "Avatar",
    "desc": "Useful for displaying player headshots and profile pictures. And optionally, user status.",
    "source": {
        "line": 6,
        "path": "src/Components/Avatar.luau"
    }
}