🌐 Bulma.io for Shiny
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R bug fixes Dec 15, 2018
inst update text init Dec 2, 2018
man bug fixes Dec 15, 2018
.Rbuildignore appveyor Apr 15, 2018
.gitignore new navbar Apr 11, 2018
.travis.yml slider added Apr 15, 2018
DESCRIPTION update author list Nov 19, 2018
LICENSE init page Nov 29, 2017
NAMESPACE icon + button Dec 15, 2018
README.md update readme Nov 28, 2018
appveyor.yml appveyor Apr 15, 2018

README.md

shinybulma

Travis build status AppVeyor build status

bulma.io for Shiny. Contains extensions: bulma-extensions as well as themes.

Installation

# install.packages("devtools")
devtools::install_github("RinteRface/shinybulma")

Example

library(shiny)
library(shinybulma)

shinyApp(
  ui = bulmaPage(
    bulmaHero(
      fullheight = TRUE,
      color = "primary",
      bulmaHeroBody(
        bulmaContainer(
          bulmaTitle("Shiny meets Bulma!"),
          bulmaSubtitle("A neat framework for your Shiny apps.")
        )
      )
    ),
    bulmaSection(
      bulmaContainer(
        bulmaTileAncestor(
          bulmaTileParent(
            vertical = TRUE,
            bulmaTileChild(
              bulmaTitle("Tile 1"),
              p("Put some data here"),
              color = "link"
            ),
            bulmaTileChild(
              bulmaTitle("Tile 2"),
              plotOutput("chart"),
              color = "danger"
            )
          ),
          bulmaTileParent(
            vertical = TRUE,
            bulmaTileChild(
              bulmaTitle("Tile 3"),
              p("Put some data here"),
              color = "warning"
            ),
            bulmaTileChild(
              bulmaTitle("Tile 3"),
              ("Put some data here"),
              color = "info"
            )
          )
        )
      )
    )
  ),
  server = function(input, output) {
    output$chart <- renderPlot({
      plot(x = runif(20, 5, 10), y = runif(20, 10, 12))
    })
  }
)

Extensions demo

https://dgranjon.shinyapps.io/bulmaExtension/