what I need to do is to combine these two subtitles together. in Html file, it shows all the subtitle content is under a
tag. I tried HTML and paste but not working.
output$id <- renderInfoBox({
infoBox(
title = "title",
value = value,
icon = icon(),
subtitle = tags$a(icon("question-circle"),id="id"),
subtitle = "description"
)
})
The following is a simple application where that use a
InfoBox. I tried to use the same parameters as your example, except I used value = 20.As already mentioned we only have 3 parameters to write or display information: title, value and subtitle.
You were trying to put an icon in the subtitle parameter, and this should go in the icon parameter.
Then you can use the subtitle parameter to write several lines if you wish.
If you are looking to make a more complex design you should check the Box function.