navInput( id = "tabs1", choices = c( "Tab 1", "Tab 2", "Tab 3" ), selected = "Tab 1", appearance = "tabs" )
navInput( id = "tabs2", choices = paste("Tab", 1:3), selected = "Tab 1", appearance = "pills" )
navInput( id = "tabs3", choices = list( "Tab 1", menuInput( id = "menu1", label = "Tab 2", choices = c( "Action", "Another action" ) ), "Tab 2" ), values = c("tab1", "tab2", "tab3") )
navInput( id = "tabs4", choices = paste("Tab", 1:5), values = paste0("tab", 1:5), appearance = "pills", fill = TRUE )
navInput( .style %>% flex(justify = "center"), id = NULL, choices = c("Tab 1", "Tab 2", "Tab 3") )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.