card | R Documentation |
This creates a card tag using Semantic UI styles.
card(..., class = "")
... |
Other arguments to be added as attributes of the tag (e.g. style, class or childrens etc.) |
class |
Additional classes to add to html tag. |
## Only run examples in interactive R sessions
if (interactive()){
library(shiny)
library(shiny.semantic)
ui <- shinyUI(semanticPage(
card(
div(class="content",
div(class="header", "Elliot Fu"),
div(class="meta", "Friend"),
div(class="description", "Elliot Fu is a film-maker from New York.")
)
)
))
server <- shinyServer(function(input, output) {
})
shinyApp(ui, server)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.