
Last chance! 50% off unlimited learning
Sale ends in
Lays out elements in a left-to-right, top-to-bottom arrangement. The elements
on a given row will be top-aligned with each other. This layout will not work
well with elements that have a percentage-based width (e.g.
plotOutput()
at its default setting of width = "100%"
).
flowLayout(..., cellArgs = list())
Unnamed arguments will become child elements of the layout. Named arguments will become HTML attributes on the outermost tag.
Any additional attributes that should be used for each cell of the layout.
Other layout functions:
fillPage()
,
fixedPage()
,
fluidPage()
,
navbarPage()
,
sidebarLayout()
,
splitLayout()
,
verticalLayout()
## Only run examples in interactive R sessions
if (interactive()) {
ui <- flowLayout(
numericInput("rows", "How many rows?", 5),
selectInput("letter", "Which letter?", LETTERS),
sliderInput("value", "What value?", 0, 100, 50)
)
shinyApp(ui, server = function(input, output) { })
}
Run the code above in your browser using DataLab