Toolbar
toolbar.Rmd
The toolbar()
component is used to create a horizontal layout with items. The items can be overflowing in a popover, when the space is not enough to show all of them.
See the official documention for toolbar, for all the correct props.
toolbar(
toolbar_button("tbtn1", text = "Button 1"),
toolbar_button("tbtn2", icon = "add", text = "Btn 2"),
toolbar_select(
"select",
toolbar_option(value = "opt1", "Option 1"),
toolbar_option(value = "opt2", "Option 2", selected = TRUE),
toolbar_option(value = "opt3", "Option 3")
)
)