bulmaBox: bulma Box

Description Usage Arguments Note Author(s) Examples

View source: R/bulma-box.R

Description

Create a simple box with or without media https://bulma.io/documentation/elements/box/.

Usage

1

Arguments

...

Any element.

Note

It is lighter than a bulmaCard element.

Author(s)

David Granjon, dgranjon@ymail.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
if (interactive()) {
 library(shiny)

 ui <- bulmaPage(
  bulmaContainer(
   bulmaColumns(
    bulmaColumn(
      width = 6,
      bulmaBox(
        bulmaBoxMedia(
          src = "https://bulma.io/images/placeholders/128x128.png",
          "test"
        )
      )
    ),
    bulmaDivider(vertical = TRUE),
    bulmaColumn(
      width = 6,
      bulmaBox(
        "test"
      )
     )
    )
  )
 )

 server <- function(input, output, session) {

 }

 shinyApp(ui = ui, server = server)
}

JohnCoene/shinybulma documentation built on Oct. 17, 2020, 8:57 p.m.