# Fluid page (responsive)
<- fluidPage(
ui titlePanel("My App"),
# Content adapts to screen size
fluidRow(
column(4, "Sidebar"),
column(8, "Main content")
)
)
# Fixed page (consistent width)
<- fixedPage(
ui titlePanel("My App"),
# Max width ~1170px, centered
fixedRow(
column(4, "Sidebar"),
column(8, "Main content")
) )
When to Use
fluidPage: Dashboards, public apps, mobile-friendly
fixedPage: Scientific tools, consistent presentation