Add tabs

bulmaTabs(..., center = FALSE)

bulmaTab(label, ...)

Arguments

...

any element.

center

set to center.

label

label of tab.

Author

John Coene, jcoenep@gmail.com

Examples

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))
    })
  }
)
}