Add an image.
bulmaFigure(src, size = NULL, ratio = NULL, alt = "")
path to image.
set fixed image size, see details.
set responsive ratio, see details.
image alt.
Valid size
:
16 - 16x16
24 - 24x24
32 - 32x32
48 - 48x48
54 - 54x54
96 - 96x96
128 - 128x128
Valid ratio
:
square or 1by1
1by1
4by3
3by2
16by9
2by1
if(interactive()){
library(shiny)
shinyApp(
ui = bulmaPage(
bulmaTitle("Hello Bulma"),
bulmaFigure("path/to/image")
),
server = function(input, output) {}
)
}