Skip to main content

IconText

For displaying both text and icons alongside each other as one seamless body.

Types

IconTextProps

interface IconTextProps {
...FrameProps--

All Frame properties are accepted.

Content{string}?--

The content to display, can include both text and icons.

ContentColorColor3?--

The color of the content.

ContentSizenumber?--

The size of the content.

ContentTransparencynumber?--

The transparency of the content.

ContentWrappedboolean?--

Whether the text content should wrap.

ContentRichTextboolean?--

Whether the text content supports rich text.

ContentFontFaceFont?--

The font face of the text content.

}
Show raw api
{
    "functions": [],
    "properties": [],
    "types": [
        {
            "name": "IconTextProps",
            "desc": "",
            "fields": [
                {
                    "name": "...",
                    "lua_type": "FrameProps",
                    "desc": "All Frame properties are accepted."
                },
                {
                    "name": "Content",
                    "lua_type": "{string}?",
                    "desc": "The content to display, can include both text and icons."
                },
                {
                    "name": "ContentColor",
                    "lua_type": "Color3?",
                    "desc": "The color of the content."
                },
                {
                    "name": "ContentSize",
                    "lua_type": "number?",
                    "desc": "The size of the content."
                },
                {
                    "name": "ContentTransparency",
                    "lua_type": "number?",
                    "desc": "The transparency of the content."
                },
                {
                    "name": "ContentWrapped",
                    "lua_type": "boolean?",
                    "desc": "Whether the text content should wrap."
                },
                {
                    "name": "ContentRichText",
                    "lua_type": "boolean?",
                    "desc": "Whether the text content supports rich text."
                },
                {
                    "name": "ContentFontFace",
                    "lua_type": "Font?",
                    "desc": "The font face of the text content."
                }
            ],
            "source": {
                "line": 20,
                "path": "src/Components/IconText.luau"
            }
        }
    ],
    "name": "IconText",
    "desc": "For displaying both text and icons alongside each other as one seamless body.",
    "source": {
        "line": 6,
        "path": "src/Components/IconText.luau"
    }
}