powered by
Learn more at https://getbootstrap.com/docs/5.1/content/figures/.
bs_figure( figure_attr = c(class = "figure"), img_attr = c(src = "...", alt = "...", class = "figure-img img-fluid"), figcaption_attr = c(class = "figure-caption"), figcaption = NULL )
A string of HTML.
A named list or named vector, names are attribute names and values are attribute values. Passed to the attr parameter of html5::figure.
A named list or named vector, names are attribute names and values are attribute values. Passed to the attr parameter of html5::img.
A named list or named vector, names are attribute names and values are attribute values. Passed to the attr parameter of html5::figcaption.
A string, gets passed to html5::figcaption.
bs_figure( img_attr = c( "src" = "...", "alt" = "...", "class" = "figure-img img-fluid" ) )
Run the code above in your browser using DataLab