Build a bulma Shiny app.

bulmaPage(..., title = NULL, theme = "default")

bulmaNavbarPage(..., title = NULL, theme = "default")

Arguments

...

any element.

title

page title.

theme

a theme.

Themes

You can preview all themes at https://jenil.github.io/bulmaswatch/.

  • cerulean

  • cyborg

  • cosmo

  • dark

  • darly

  • flatly

  • journal

  • default

  • litera

  • lumen

  • lux

  • materia

  • minty

  • nuclear

  • pulse

  • sansdstone

  • simplex

  • slate

  • solar

  • spacelab

  • superhero

  • united

  • yeti

Author

John Coene, jcoenep@gmail.com

Examples

if(interactive()){
library(shiny)

shiny::shinyApp(
  ui = bulmaNavbarPage(
   bulmaNavbar(
     bulmaNavbarBrand(
       bulmaNavbarItem(
         "shinybulma"
       ),
       bulmaNavbarBurger()
     ),
     bulmaNavbarMenu( # not visible on smaller devices
       bulmaNavbarItem(
         "Item 1"
       ),
       bulmaNavbarItem(
         "Item 2"
       ),
     bulmaNavbarDropdown(
       label = "Drop-down",
       bulmaNavbarItem(
         "Select 1"
       ),
       bulmaNavbarItem(
         "Select 2"
       )
     )
    )
   ),
   bulmaNav(
     "Item 1",
     bulmaTitle("Content for item 1 here.")
   ),
   bulmaNav(
     "Item 2",
     bulmaTitle("Content for item 2 here.")
   )
  ),
  server = function(input, output) {}
)
}