Description Usage Arguments Functions See Also
Bulma is compatible with all icon font libraries: Font Awesome 5, Font Awesome 4, Material Design Icons, Ionicons, etc.
The icon element is a container for any type of icon font. Because the icons can take a few seconds to load, and because you want control over the space the icons will take, you can use the icon class as a reliable square container that will prevent the page to "jump" on page load.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18  | bulma_icon(
  icon,
  ...,
  stack = NULL,
  size = c("small", "normal", "medium", "large"),
  color = c("primary", "link", "info", "success", "warning", "danger", "white",
    "black", "light", "dark", "black-bis", "black-ter", "grey-darker", "grey-dark",
    "grey-light", "grey-lighter", "white-ter", "white-bis"),
  tag = tags$span
)
bulma_icon_text(
  ...,
  color = c("primary", "link", "info", "success", "warning", "danger", "white",
    "black", "light", "dark", "black-bis", "black-ter", "grey-darker", "grey-dark",
    "grey-light", "grey-lighter", "white-ter", "white-bis"),
  inline = TRUE
)
 | 
icon | 
 (string) icon class for the relevant font collection  | 
... | 
 (tags) content  | 
stack | 
 (str) if this is a stack, the class of the stakc  | 
size, color | 
 style parameters  | 
tag | 
 (fn) default HTML tag  | 
inline | 
 (flag) the icon with text is inline or not  | 
bulma_icon: icon container
bulma_icon_text: text element with icon; contains the icon and the
text in a <span> element.
Other Bulma Elements: 
bulma_block(),
bulma_box(),
bulma_button(),
bulma_content(),
bulma_image(),
bulma_notification(),
bulma_progress_bar(),
bulma_table(),
bulma_tag(),
bulma_title()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.