bulma_form_button: Bulma Form: Button

Description Usage Arguments See Also

View source: R/bulma-form-button.R

Description

A button for the form. This has the same characteristics as bulma_button() but specific to forms (tag of <button>).

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
bulma_form_button(
  name = "submit",
  value = name,
  ...,
  type = c("button", "submit", "reset"),
  color = c("primary", "link", "info", "success", "warning", "danger", "white",
    "black", "light", "dark", "ghost", "text"),
  shade = c("light", "dark"),
  size = c("small", "medium", "large", "normal"),
  state = c("hovered", "focused", "active", "loading", "static"),
  full_width = FALSE,
  outlined = FALSE,
  inverted = FALSE,
  rounded = FALSE,
  disabled = FALSE,
  tag = tags$input
)

Arguments

name

(str) identifier for submissions; defaults to submit

value

(str) the label for the button

...

(tags) content

Button

type

(str) what type of input; defaults to submit

color

styling parameters

shade

styling parameters

size

styling parameters

state

styling parameters

full_width

styling parameters

outlined

styling parameters

inverted

styling parameters

rounded

styling parameters

disabled

(flag) whether button is clickable

tag

(fn) default HTML tag

See Also

bulma_button

Other Bulma Form Components: bulma_form_checkbox(), bulma_form_file(), bulma_form_input(), bulma_form_radio(), bulma_form_select(), bulma_form_textarea(), bulma_form()


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