| productList | R Documentation | 
productList creates a container to display commercial items in an elegant container. Insert in a box.
productListItem creates a product item to insert in productList.
productList(...)
productListItem(..., image = NULL, title = NULL, subtitle = NULL, color = NULL)
... | 
 product description.  | 
image | 
 image url, if any.  | 
title | 
 product name.  | 
subtitle | 
 product price.  | 
color | 
 price color. Valid color are listed below: 
  | 
David Granjon, dgranjon@ymail.com
# Box with productList
if (interactive()) {
 library(shiny)
 library(bs4Dash)
 shinyApp(
  ui = dashboardPage(
    dashboardHeader(),
    dashboardSidebar(),
    dashboardBody(
     box(
      title = "Product List",
      status = "primary",
      productList(
        productListItem(
          image = "https://www.pngmart.com/files/1/Haier-TV-PNG.png",
          title = "Samsung TV",
          subtitle = "$1800",
          color = "warning",
          "This is an amazing TV, but I don't like TV!"
        ),
        productListItem(
          image = "https://upload.wikimedia.org/wikipedia/commons/7/77/IMac_Pro.svg",
          title = "Imac 27",
          subtitle = "$4999",
          color = "danger",
          "This is were I spend most of my time!"
        )
      )
     )
    ),
    title = "Product List"
  ),
  server = function(input, output) { }
 )
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.