Learn R Programming

shinyBS (version 0.20)

bsGlyph: Glyphicons

Description

Add glyphicons to shiny applications

Usage

bsGlyph(name, white = FALSE)

Arguments

name
The name of the glyphicon to be used
white
Should the white version be used. (logical)

Details

See the references to find names of available icons

References

http://getbootstrap.com/2.3.2/base-css.html{Glyphicons for Twitter Bootstrap 2.3.2} http://glyphicons.com/{Glyphicons}

Examples

Run this code
##Add a bsNavLink with a question mark graphic
  bsNavLink("link1", label = bsGlyph("icon-question-sign"))

Run the code above in your browser using DataLab