# TabbedInterface

```python
gradio.TabbedInterface(interface_list, ···)
```

### Description

A TabbedInterface is created by providing a list of Interfaces or Blocks, each of which gets rendered in a separate tab. Only the components from the Interface/Blocks will be rendered in the tab.

### Initialization

| Parameter | Type | Default | Description |
|-----------|------|---------|-------------|
| `interface_list` | `list[Blocks]` | `` | A list of Interfaces (or Blocks) to be rendered in the tabs. |
| `tab_names` | `list[str] \| None` | `None` | A list of tab names. If None, the tab names will be "Tab 1", "Tab 2", etc. |
| `title` | `str \| None` | `None` | The tab title to display when this demo is opened in a browser window. |
| `analytics_enabled` | `bool \| None` | `None` | Whether to allow basic telemetry. If None, will use GRADIO_ANALYTICS_ENABLED environment variable or default to True. |
### Demos

**tabbed_interface_lite**

[See demo on Hugging Face Spaces](https://huggingface.co/spaces/gradio/tabbed_interface_lite)

```python
import gradio as gr

hello_world = gr.Interface(lambda name: "Hello " + name, "text", "text", api_name="predict")
bye_world = gr.Interface(lambda name: "Bye " + name, "text", "text", api_name="predict")
chat = gr.ChatInterface(lambda *args: "Hello " + args[0], api_name="chat")

demo = gr.TabbedInterface([hello_world, bye_world, chat], ["Hello World", "Bye World", "Chat"])

if __name__ == "__main__":
    demo.launch()
```
