Tab UI placement #2860
Closed
Buzzardarg
started this conversation in
Ideas
Replies: 1 comment
-
yes you can. the tabs are ui elements themselves, so you can use the selected tab to render the correct tab panel. tabs = mo.ui.tabs({"1": "", "2": "", "3": ""}) def render_tab(tab: str):
if tab == '1':
.... mo.vstack([render_tab(tabs.value), tabs]) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I was wondering if it would be possible to have an option for marimo.ui.tabs allowing to change the placement of the tabs. For example, I have three tabs, each one hasta a text area element below but in my case it would be tidier to have the tabs below the text areas, much like in Excel spreadsheets. Perhaps there could even be an option for left and right placement.
Beta Was this translation helpful? Give feedback.
All reactions