bulmaBox: bulma Box

View source: R/bulma-box.R

bulmaBoxR Documentation

bulma Box

Description

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

Usage

bulmaBox(...)

Arguments

...

Any element.

Note

It is lighter than a bulmaCard element.

Author(s)

David Granjon, dgranjon@ymail.com

Examples

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 Nov. 16, 2022, 6:42 p.m.