Skip to contents

A button.

Usage

button(id, ..., value = 0L)

menu_button(menu, ..., class = "")

segmented_button(id, ...)

segmented_button_item(value, ...)

split_button(menu, ...)

toggle_button(id, ...)

Arguments

id

The id of the button.

...

Any named properties.

value

Value.

menu

Id of menu() to open on click.

class

Additional CSS classes.

Details

See button

Examples

button(
  "btnId",
  icon = "home",
  "First nav",
  tooltip = "Go to first tab",
  `data-ui5-nav` = "firstNav"
)
#> <ui5-button id="btnId" data-value="0" icon="home" tooltip="Go to first tab" data-ui5-nav="firstNav">First nav</ui5-button>