Tabs
This element is used for tab navigation.
It should be used as a context manager to create tabs.
Tabs
This element is used for tab navigation.
It should be used as a context manager to create tabs.
from uiwiz import ui
with ui.tabs():
with ui.tab("Tab 1").active():
ui.label("Content of Tab 1")
with ui.tab("Tab 2"):
ui.label("Content of Tab 2")
with ui.tab("Tab 3"):
ui.label("Content of Tab 3")