class_docstr: Tab (or its alias TabItem) is a layout element. Components defined within the Tab will be visible when this tab is selected tab.
  Example:
      with gr.Blocks() as demo:
          with gr.Tab("Lion"):
              gr.Image("lion.jpg")
              gr.Button("New Lion")
          with gr.Tab("Tiger"):
              gr.Image("tiger.jpg")
              gr.Button("New Tiger")
  Guides: controlling-layout
class_docstr_tok: ["Tab","(","or","its","alias","TabItem",")","is","a","layout","element",".","Components","defined","within","the","Tab","will","be","visible","when","this","tab","is","selected","tab",".","Example",":","with","gr.Blocks","(",")","as","demo",":","with","gr.Tab","(","``","Lion","''",")",":","gr.Image","(","``","lion.jpg","''",")","gr.Button","(","``","New","Lion","''",")","with","gr.Tab","(","``","Tiger","''",")",":","gr.Image","(","``","tiger.jpg","''",")","gr.Button","(","``","New","Tiger","''",")","Guides",":","controlling-layout"]
code: def get_block_name(self):
      return "tabitem"
  
file_path: gradio/gradio/layouts/tabs.py
imports: from __future__ import annotations
  from gradio_client.documentation import document, set_documentation_group
  from gradio.blocks import BlockContext
  from gradio.component_meta import ComponentMeta
  from gradio.events import Events
label_desc: Use image node_id 3 for calling the Tab obj's underlying member method code with example usage: obj.get_block_name() and returns: str