page: Create a bulma app

Description Usage Arguments Themes Author(s) Examples

Description

Build a bulma Shiny app.

Usage

1
2
3
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/.

Author(s)

John Coene, jcoenep@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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) {}
)
}

JohnCoene/shinybulma documentation built on Nov. 16, 2020, 10:49 a.m.