bulmaTabs | R Documentation |
Add tabs
bulmaTabs(..., center = FALSE) bulmaTab(label, ...)
... |
any element. |
center |
set to center. |
label |
label of tab. |
John Coene, jcoenep@gmail.com
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)) }) } ) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.