Add tabs
bulmaTabs(..., center = FALSE)
bulmaTab(label, ...)
any element.
set to center.
label of tab.
if(interactive()){
library(shiny)
shinyApp(
ui = bulmaPage(
bulmaTitle("Hello Bulma"),
bulmaTabs(
center = TRUE,
bulmaTab(
"Tab 1",
"Content of the first Tab."
),
bulmaTab(
"Tab 2",
plotOutput("hist")
),
bulmaTab(
"Tab 3",
bulmaContainer(
bulmaTitle("Plot"),
plotOutput("plot")
)
)
)
),
server = function(input, output) {
output$hist <- renderPlot({
hist(rnorm(20, 10))
})
output$plot <- renderPlot({
plot(1:20, rnorm(20, 20))
})
}
)
}