bulma_image: Bulma Image

Description Usage Arguments Functions See Also

View source: R/bulma-image.R

Description

A container for responsive images. Because images can take a few seconds to load (or not at all), use the image container to specify a precisely sized container so that your layout isn't broken because of image loading or image errors.

Image

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
bulma_image(
  ...,
  square = c(16L, 24L, 32L, 48L, 64L, 96L, 128L),
  ratio = c("square", "1by1", "5by4", "4by3", "3by2", "5by3", "16by9", "2by1", "3by1",
    "4by5", "3by4", "2by3", "3by5", "9by16", "1by2", "1by3"),
  fig_tags = list(),
  rounded = FALSE,
  full_width = TRUE,
  tag = tags$img
)

Arguments

...

(tags) content

square

(int) if this is a fixed size square container, the size of the container; useful for avatars

ratio

(string) the responsive ratio of the image

fig_tags

(tags) tags that are inside the <figure> tag.

rounded, full_width

(flag) style parameters

tag

(fn) default HTML tag container

Functions

See Also

Other Bulma Elements: bulma_block(), bulma_box(), bulma_button(), bulma_content(), bulma_icon(), bulma_notification(), bulma_progress_bar(), bulma_table(), bulma_tag(), bulma_title()


tjpalanca/bulma.R documentation built on Dec. 23, 2021, 10:58 a.m.