Build a shinymaterial text box.
material_text_box(input_id, label, value = "", color = NULL, icon = NULL)
String. The input identifier used to access the value.
String. The text box label.
String. Initial value.
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".
String. The name of the icon. Leave empty for no icon. Visit https://materializecss.com/icons.html for a list of available icons.
# 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