Description Usage Arguments Author(s) Examples
Build a tabler avatar
1 2 |
name |
Avatar placeholder. If not NULL, url cannot be used. |
url |
Avatar image if any. If not NULL, name cannot be used. |
size |
Avatar size. NULL, "sm", "md", "lg", "xl" or "xxl". |
status |
Avatar status. See https://preview.tabler.io/docs/colors.html for valid statuses. |
color |
Avatar background color. See https://preview.tabler.io/docs/colors.html for valid colors. |
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 23 24 25 26 27 28 | if(interactive()){
library(shiny)
library(tablerDash)
shiny::shinyApp(
ui = tablerDashPage(
navbar = NULL,
footer = NULL,
title = "test",
body = tablerDashBody(
tablerAvatar(
name = "DG",
size = "xxl"
),
tablerAvatar(
name = "DG",
color = "orange"
),
tablerAvatar(
name = "DG",
status = "warning"
),
tablerAvatar(url = "https://image.flaticon.com/icons/svg/145/145852.svg")
)
),
server = function(input, output) {}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.