checkbox
function adds an interactive check box to your app.
label
(str): The label displayed next to the checkbox, indicating its purpose.default
(bool): (Optional) The initial/default value of the checkbox.size
(float): (Optional) The width of the component in a row. Defaults to 1.0
(full row). See the Layout Guide for details.bool
: True
if checked, False
if not.checkbox
?