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
        add
      • Status elements
        add
      • APPLICATION LOGIC
      • Navigation and pages
        remove
        • Jt.navigation
        • Jt.page
        • Jt.pageLinklink
        • Jt.switchPage
      • 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/
  • Navigation and pages

Navigation and pages

screenshot

Navigation

Configure the available pages in a multipage app.

Map<String, List<Object>> pages = Map.of( "Your account", List.of(logOut, settings), "Reports", List.of(overview, usage), "Tools", List.of(search) ); Jt.navigation(pages).use();
screenshot

Page

Define a page in a multipage app.

Object home = Jt.page( "home.java", "Home", ":material/home:" );
screenshot

Page link

Display a link to another page in a multipage app.

Jt.pageLink("App.java", "Home", "🏠").use(); Jt.pageLink("pages/Profile.java", "My profile").use();

Switch page

Programmatically navigates to a specified page.

Jt.switchPage("pages/MyPage.java");
Previous: Status elementsNext: Jt.navigation
forum

Still have questions?

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


HomeContact UsCommunity
© 2025 Jeamlit - Cyril de Catheu