Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/RinteRface/shinybulma
🌐 Bulma.io for Shiny
https://github.com/RinteRface/shinybulma
bulma r shiny
Last synced: 28 days ago
JSON representation
🌐 Bulma.io for Shiny
- Host: GitHub
- URL: https://github.com/RinteRface/shinybulma
- Owner: RinteRface
- License: other
- Created: 2017-11-29T19:24:02.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-07-06T15:51:52.000Z (5 months ago)
- Last Synced: 2024-11-05T07:34:11.719Z (about 1 month ago)
- Topics: bulma, r, shiny
- Language: R
- Homepage: https://rinterface.github.io/shinybulma/
- Size: 1 MB
- Stars: 111
- Watchers: 8
- Forks: 15
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-shiny-extensions - shinybulma - Bulma.io for Shiny. (Theming / Generic Theming)
- jimsghstars - RinteRface/shinybulma - 🌐 Bulma.io for Shiny (R)
README
# shinybulma
[![R-CMD-check](https://github.com/RinteRface/shinybulma/actions/workflows/R-CMD-check.yaml/badge.svg)](https://github.com/RinteRface/shinybulma/actions/workflows/R-CMD-check.yaml)
[![lifecycle](https://img.shields.io/badge/lifecycle-maturing-ff69b4.svg)](https://www.tidyverse.org/lifecycle/#maturing)
[![CRAN status](https://www.r-pkg.org/badges/version/shinybulma)](https://cran.r-project.org/package=shinybulma)> [bulma.io](https://bulma.io) for [Shiny](https://shiny.rstudio.com/). Contains extensions: [bulma-extensions](https://wikiki.github.io) as well as [themes](https://jenil.github.io/bulmaswatch/).
## Installation
``` r
# install.packages("devtools")
devtools::install_github("RinteRface/shinybulma")
```## Example
``` r
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(
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))
})
}
)
```## Code of Conduct
Please note that the shinybulma project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.