Primary

This button is a simple component that can be programmed to respond in any given way when clicked.

Parameters

  • Button text - Text input indicating the button text.
  • Label - A switch to enable or disable the adding of text to the button.
  • Add info icon - Disabled by default. When enabled, it shows a tooltip icon on the component. The tooltip shows text that can be entered in the component’s properties.
  • Icon - A switch to enable or disable the adding of an icon to the button.

Related Events

  • on_<component id>click(path: List[Union[str, int]]): - Fired when the button is clicked.

playground primary button

Secondary

This button is a simple component that can be programmed to respond in any given way when clicked.

Parameters

  • Button text - Text input indicating the button text.
  • Label - A switch to enable or disable the adding of text to the button.
  • Add info icon - Disabled by default. When enabled, it shows a tooltip icon on the component. The tooltip shows text that can be entered in the component’s properties.
  • Icon - A switch to enable or disable the adding of an icon to the button.

Related Events

  • on_<component id>click(path: List[Union[str, int]]): - Fired when the button is clicked.

playground secondary button