UI
button
The button
function adds a clickable button to your app.
Parameters
label
(str): The text displayed on the buttonsize
(float): (Optional) The width of the component in a row. Defaults to1.0
(full row). See the Layout Guide for details.
Returns
- Returns a button component object (Note: Button functionality is currently under development)
Usage Example
Here’s an example of how to add a button to your app:
Key Features
- Customizable Label: Set the text that appears on the button
- Flexible Layout: Control the button’s width in the layout
Why Use button
?
Buttons are fundamental UI elements that provide clear call-to-actions for users. They are essential for creating interactive applications where users need to trigger specific actions.
Note: Button click functionality is currently under development.