title: Add subtitle

bulmaTitleR Documentation

Add subtitle

Description

Add subtitle

Usage

bulmaTitle(..., class = NULL, tag = shiny::h1, id = NULL)

bulmaSubtitle(..., class = NULL, tag = shiny::h2, id = NULL)

Arguments

...

any element.

class

A valid CSS class.

tag

html tag.

id

target to set an html anchor.

Author(s)

John Coene, jcoenep@gmail.com

Examples

if(interactive()){
shinyApp(
  ui = bulmaPage(
    bulmaHero(
      fullheight = TRUE,
      color = "primary",
      bulmaHeroHead(
        bulmaContainer(
          bulmaTitle("Hero Title")
        )
      ),
      bulmaHeroHead(
        bulmaContainer(
          bulmaSubtitle(
            "Some content"
          )
        )
      ),
      bulmaHeroFoot(
        bulmaContainer(
          "The footer"
        )
      )
    )
  ),
  server = function(input, output) {}
)
}


JohnCoene/shinybulma documentation built on July 10, 2024, 1:41 a.m.