Description Usage Arguments Author(s) Examples
Build a tabler media card
1 2 |
... |
Any other elements. |
title |
Title. |
date |
Date. |
href |
External link. |
src |
Image url. |
avatarUrl |
Avatar image. |
width |
Card width. 4 by default. |
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 | if(interactive()){
library(shiny)
library(tablerDash)
shiny::shinyApp(
ui = tablerDashPage(
navbar = NULL,
footer = NULL,
title = "test",
body = tablerDashBody(
tablerMediaCard(
title = "Media Card",
date = "Today",
href = "https://www.google.com",
src = "https://preview.tabler.io/demo/photos/matt-barrett-339981-500.jpg",
avatarUrl = "https://image.flaticon.com/icons/svg/145/145842.svg",
width = 6
)
)
),
server = function(input, output) {}
)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.