Skip to main content

Tabs

For tabbing between things.

Types

TabsProps

interface TabsProps {
...ButtonProps--

All Button properties are accepted.

Tabs{{string}}?--

List of tabs

Tabnumber?--

The currently active tab

Disabledboolean?--

Whether the tabs are disabled

ColorColor3?--

Color of the active tab

ButtonPropsButton.Props?--

Property overrides for child buttons

}
Show raw api
{
    "functions": [],
    "properties": [],
    "types": [
        {
            "name": "TabsProps",
            "desc": "",
            "fields": [
                {
                    "name": "...",
                    "lua_type": "ButtonProps",
                    "desc": "All Button properties are accepted."
                },
                {
                    "name": "Tabs",
                    "lua_type": "{ { string } }?",
                    "desc": "List of tabs"
                },
                {
                    "name": "Tab",
                    "lua_type": "number?",
                    "desc": "The currently active tab"
                },
                {
                    "name": "Disabled",
                    "lua_type": "boolean?",
                    "desc": "Whether the tabs are disabled"
                },
                {
                    "name": "Color",
                    "lua_type": "Color3?",
                    "desc": "Color of the active tab"
                },
                {
                    "name": "ButtonProps",
                    "lua_type": "Button.Props?",
                    "desc": "Property overrides for child buttons"
                }
            ],
            "source": {
                "line": 18,
                "path": "src/Components/Tabs.luau"
            }
        }
    ],
    "name": "Tabs",
    "desc": "For tabbing between things.",
    "source": {
        "line": 6,
        "path": "src/Components/Tabs.luau"
    }
}