UIkitHeading: Create an UIkit h1 custom title

Description Usage Arguments Author(s) Examples

View source: R/UIkitHeading.R

Description

Define different styles for headings

Usage

1

Arguments

title

Heading content.

style

Heading style: "primary", "hero", "divider", "bullet" and "line".

Author(s)

David Granjon, dgranjon@ymail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
if(interactive()){
library(shiny)

shiny::shinyApp(
 ui = UIkitPage(
   title = "My UIkit application",
   UIkitGrid(
    child_width = "1-2",
    UIkitHeading(
    style = "primary",
    title = "Heading Primary"
    ),
    UIkitHeading(
     style = "hero",
     title = "Heading Hero"
    )
   ),
   UIkitGrid(
    child_width = "1-2",
    UIkitHeading(
     style = "divider",
     title = "Heading Divider"
    ),
    UIkitHeading(
     style = "bullet",
     title = "Heading Bullet"
    )
   ),
   UIkitGrid(
    child_width = "1-2",
    UIkitHeading(
     style = "line",
     title = "Heading Line"
    )
   )
 ),
 server = function(input, output) {}
 )
}

DivadNojnarg/shinyUIkit documentation built on July 24, 2019, 8:17 a.m.