tabSheet is a container which allows switching between tabs. Several tabs help group content on the page.

  • XML element: tabSheet

  • Java class: JmixTabSheet


The contents of a tab is described by the tab component. Each tab can contain only one child component. Multiple components must be wrapped with a layout component, such as vbox.

<tabSheet id="tabSheet">
    <tab id="tab1" label="Tab One">
            <label text="Label One"/>
            <textField placeholder="Text Field One"/>
    <tab id="tab2" label="Tab Two">
        <label text="Label Two"/>
    <tab id="tab3" label="Tab Three">
        <label text="Label Three"/>
tabsheet basic

To add tab in Jmix Studio, select the component in the screen descriptor XML or in the Component Hierarchy panel and click on the Add→Tab button in the Component Inspector panel.

tabSheet can have any practical number of tabs. If there are more tabs than the tab bar can fit, navigation buttons will appear.



Sets a different theme to change component’s appearance.


To generate a handler stub in Jmix Studio, use the Handlers tab of the Jmix UI inspector panel or the Generate Handler action available in the top panel of the view class and through the CodeGenerate menu (Alt+Insert / Cmd+N).


io.jmix.flowui.component.tabsheet.JmixTabSheet.SelectedChangeEvent is fired when another tab is selected.

See Also

See Vaadin Docs for more information.