bulma_card: Bulma Card

Description Usage Arguments Functions See Also

View source: R/bulma-card.R

Description

An all-around flexible and composable component.

Card

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
bulma_card(..., tag = tags$div)

bulma_card_header(..., tag = tags$div)

bulma_card_header_title(
  ...,
  align = c("left", "centered", "right"),
  tag = tags$p
)

bulma_card_header_icon(
  icon,
  ...,
  outer_tag = tags$button,
  inner_tag = tags$span
)

bulma_card_image(
  ...,
  ratio = c("square", "1by1", "5by4", "4by3", "3by2", "5by3", "16by9", "2by1", "3by1",
    "4by5", "3by4", "2by3", "3by5", "9by16", "1by2", "1by3"),
  fig_tags = list(),
  outer_tag = tags$div,
  inner_tag = tags$img
)

bulma_card_content(..., tag = tags$div)

bulma_card_footer(..., tag = tags$div)

bulma_card_footer_item(..., tag = tags$div)

Arguments

...

(tags) content

tag, outer_tag, inner_tag

(fn) default HTML container

align

(str) alignment of the header title

icon

(string) icon class based on the icon collection

ratio

(string) ratio of the image

fig_tags

(string) tags inside the figure

Functions

See Also

Other Bulma Components: bulma_breadcrumb(), bulma_dropdown(), bulma_menu(), bulma_message(), bulma_modal(), bulma_navbar(), bulma_pagination(), bulma_panel(), bulma_tabs()


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