Description Usage Arguments See Also Examples
View source: R/shiny-material-text-box.R
Build a shinymaterial text box.
1 | material_text_box(input_id, label, value = "", color = NULL, icon = NULL)
|
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. |
1 2 3 4 5 6 | material_text_box(
input_id = "example_text_box",
label = "text box",
icon = "search",
color = "#ef5350"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.