bulmaPage | R Documentation |
Build a bulma Shiny app.
bulmaPage(..., title = NULL, theme = "default")
bulmaNavbarPage(..., title = NULL, theme = "default")
... |
any element. |
title |
page title. |
theme |
a theme. |
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
John Coene, jcoenep@gmail.com
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) {}
)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.