Documentation

search

Search

  • rocket_launch

    Get started

    • Installation
      add
    • Fundamentals
      add
    • First steps
      add
  • code

    Develop

    • Concepts
      add
    • API reference
      remove
      • PAGE ELEMENTS
      • Text elements
        add
      • Data elements
        add
      • Chart elements
        add
      • Input widgets
        add
      • Media elements
      • Layouts and containers
        remove
        • Jt.columns
        • Jt.container
        • Jt.empty
        • Jt.expander
        • Jt.formlink
        • Jt.popover
        • Jt.tabs
      • Status elements
        add
      • APPLICATION LOGIC
      • Navigation and pages
        add
      • Execution flow
        add
      • Caching and state
        add
      • Connections and secrets
      • Custom components
      • TOOLS
      • App testinglink
      • Command line
        add
    • Quick reference
      add
  • web_asset

    Deploy

    • Concepts
      add
  • school

    Knowledge base

    • FAQ
  • Home/
  • Develop/
  • API reference/
  • Layouts and containers

Layouts and Containers

Complex layouts

Jeamlit provides several options for controlling how different elements are laid out on the screen.

screenshot

Columns

Insert containers laid out as side-by-side columns.

var cols = Jt.columns(2).use(); Jt.text("This is column 1").use(cols.col(0)); Jt.text("This is column 2").use(cols.col(1));
screenshot

Container

Insert a multi-element container.

var c = Jt.container().use(); Jt.text("This will show last").use(); Jt.text("This will show first").use(c); Jt.text("This will show second").use(c);
screenshot

Empty

Insert a single-element container.

var e = Jt.empty("my-empty").use(); Jt.text("This will show last").use(); Jt.text("This will be replaced").use(e); Jt.text("This will show first").use(e);
screenshot

Expander

Insert a multi-element container that can be expanded/collapsed.

var exp = Jt.expander("Open to see more").use(); Jt.text("This is more content").use(exp);
screenshot

Popover

Insert a multi-element popover container that can be opened/closed.

var pop = Jt.popover("Settings").use(); Jt.checkbox("Show completed").use(pop);
screenshot

Tabs

Insert containers separated into tabs.

var tabs = Jt.tabs(List.of("Tab 1", "Tab 2")).use(); Jt.text("This is tab 1").use(tabs.tab(0)); Jt.text("This is tab 2").use(tabs.tab(1));
Previous: Media elementsNext: Jt.columns
forum

Still have questions?

Go to our discussions forum for helpful information and advice from Jeamlit experts.


HomeContact UsCommunity
© 2025 Jeamlit - Cyril de Catheu