jqui_icon | R Documentation |
Create an jQuery UI pre-defined icon. For lists of available icons, see https://api.jqueryui.com/theming/icons/.
jqui_icon(name)
name |
Class name of icon. The "ui-icon-" prefix can be omitted (i.e. use "ui-icon-flag" or "flag" to display a flag icon) |
An icon element
jqui_icon('caret-1-n')
library(shiny)
# add an icon to an actionButton
actionButton('button', 'Button', icon = jqui_icon('refresh'))
# add an icon to a tabPanel
tabPanel('Help', icon = jqui_icon('help'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.