Description Usage Arguments Note Author(s) Examples
A Contact box
1 2 |
... |
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 |
Does not work perfectly
David Granjon, dgranjon@ymail.com
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) {}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.