Skip to main content

Heading

For sectioning bodies of text or content, like for a menu title.

Types

HeadingProps

interface HeadingProps {
...TextProps--

All Text properties are accepted.

HeadingSizenumber?--

Multiplier for the text size, default is 1.75.

TextSizenumber?--

Base text size, default is Theme.TextSize["1"].

}
Show raw api
{
    "functions": [],
    "properties": [],
    "types": [
        {
            "name": "HeadingProps",
            "desc": "",
            "fields": [
                {
                    "name": "...",
                    "lua_type": "TextProps",
                    "desc": "All Text properties are accepted."
                },
                {
                    "name": "HeadingSize",
                    "lua_type": "number?",
                    "desc": "Multiplier for the text size, default is 1.75."
                },
                {
                    "name": "TextSize",
                    "lua_type": "number?",
                    "desc": "Base text size, default is Theme.TextSize[\"1\"]."
                }
            ],
            "source": {
                "line": 15,
                "path": "src/Components/Heading.luau"
            }
        }
    ],
    "name": "Heading",
    "desc": "For sectioning bodies of text or content, like for a menu title.",
    "source": {
        "line": 6,
        "path": "src/Components/Heading.luau"
    }
}