shinymaterial (version 1.2.0)

material_text_box: Create a shinymaterial text box

Description

Build a shinymaterial text box.

Usage

material_text_box(input_id, label, value = "", color = NULL, icon = NULL)

Arguments

input_id

String. The input identifier used to access the value.

label

String. The text box label.

value

String. Initial value.

color

String. The accent color of the text box. Leave empty for the default color. Visit https://materializecss.com/color.html for a list of available colors. This input requires using color hex codes, rather than the word form. E.g., "#ef5350", rather than "red lighten-1".

icon

String. The name of the icon. Leave empty for no icon. Visit https://materializecss.com/icons.html for a list of available icons.

See Also

update_material_text_box

Examples

Run this code
# NOT RUN {
material_text_box(
  input_id = "example_text_box",
  label = "text box",
  icon = "search",
  color = "#ef5350"
)
# }

Run the code above in your browser using DataLab