hero: Add section

Description Usage Arguments Author(s) Examples

Description

Add a section tag.

Usage

1
2
3
4
5
6
7
bulmaHero(..., color = NULL, size = NULL, bold = FALSE, fullheight = FALSE)

bulmaHeroHead(...)

bulmaHeroBody(..., container = TRUE)

bulmaHeroFoot(...)

Arguments

...

any element.

color

hero color.

size

hero size takes NULL, medium or large.

bold

set to TRUE to generate a subtle gradient.

fullheight

set to TRUE to set hero to 100vh.

container

If TRUE wraps a bulmaContainer as a children of the section.

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
if(interactive()){
library(shiny)

ui <- bulmaPage(
  bulmaHero(
    fullheight = TRUE,
    color = "danger",
    bulmaHeroBody(
      bulmaContainer(
        bulmaTitle("Hello Bulma*"),
        bulmaSubtitle("shinybulma*")
      )
    )
  )
)

server <- function(input, output){}

shinyApp(ui, server)
}

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