Description Usage Arguments See Also
View source: R/bulma-form-file.R
A custom file upload input, without JavaScript.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | bulma_form_file(
...,
name = stri_rand_strings(1L, 16L),
icon = "fas fa-upload",
label = NULL,
file_name = NULL,
align = c("left", "centered", "right"),
color = c("primary", "link", "info", "success", "warning", "danger", "white",
"black", "light", "dark"),
size = c("small", "normal", "medium", "large"),
state = c("hovered", "focused", "active", "loading", "static"),
boxed = FALSE,
fullwidth = FALSE,
outer_tag = tags$div,
inner_tag = tags$label
)
|
... |
(tag) content |
name |
(str) name identifier, defaults to random string. |
icon |
(str) icon of the upload button, defaults to FontAwesome. |
label |
(str) label of the upload button |
file_name |
(str) the file name on the side when uploaded |
align, color, size, state, boxed |
styling |
fullwidth |
(flg) whether this is expanded |
outer_tag, inner_tag |
(fun) default html tag |
Other Bulma Form Components:
bulma_form_button()
,
bulma_form_checkbox()
,
bulma_form_input()
,
bulma_form_radio()
,
bulma_form_select()
,
bulma_form_textarea()
,
bulma_form()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.