Skip to contents

Wraps the standard "controls on the left, output on the right" arrangement used by every analysis tab in a bslib::layout_sidebar(). The sidebar collapses on narrow screens; the main area holds the output (typically a moduleMain()).

Usage

moduleLayout(controls, main, width = 320)

Arguments

controls

Sidebar content, usually a module's input UI

main

Main content, usually a moduleMain()

width

Sidebar width in pixels