contactBox: A Contact box

Description Usage Arguments Note Author(s) Examples

View source: R/boxes.R

Description

A Contact box

Usage

1
2
contactBox(..., head_title = NULL, main_title = NULL, img = NULL,
  footer_left = NULL, footer_right = NULL, width = 4)

Arguments

...

elements to put in the box. Do not put too large items.

head_title

Box header title

main_title

Box main title

img

Any picture url or path

footer_left

Footer left content

footer_right

Footer right content

width

Box width. 3 by default

Note

Does not work perfectly

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
if (interactive()) {
 library(shiny)
 library(gentelellaShiny)
 shinyApp(
  ui = gentelellaPageCustom(
   gentelellaBody(
    contactBox(
     head_title = "Digital Strategist",
     main_title = "Nicole Pearson",
     img = "https://image.flaticon.com/icons/svg/145/145859.svg",
     footer_left = "Some text",
     footer_right = pieChart(value = 45, id = "contactChart"),
     quickList(
      quickListItem(icon = icon("calendar-o"), name = "Settings"),
      quickListItem(icon = icon("bars"), name = "Subscription")
     )
    )
   )
  ),
  server = function(input, output, session) {}
 )
}

MarkEdmondson1234/gentelellaShiny documentation built on Dec. 31, 2019, 1:24 a.m.