bulma_form_input: Bulma Form: Input

Description Usage Arguments See Also

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

Description

The text input and its variations.

Input

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
bulma_form_input(
  name,
  ...,
  type = c("text", "password", "email", "tel"),
  placeholder = NULL,
  rounded = FALSE,
  readonly = FALSE,
  disabled = FALSE,
  color = c("primary", "link", "info", "success", "warning", "danger", "white",
    "black", "light", "dark"),
  size = c("small", "medium", "large", "normal"),
  state = c("hovered", "focused", "active", "static"),
  tag = tags$input
)

Arguments

name

(str) identifier needed when posting the data

...

(tag) content

type

(str) type of the text input, defaults to text.

placeholder

(str) placeholder while no text is input

rounded

(flg) whether or not this is rounded.

readonly

(flg) cannot be edited

disabled

(flg) grayed out and cannot be edited

color

styling parameters

size

styling parameters

state

styling parameters

tag

(fun) default HTML content

See Also

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


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