import panel as pn pn.extension()
Checkbox widget allows toggling a single condition between
False states by ticking a checkbox. This widget is interchangeable with the
For layout and styling related parameters see the customization user guide.
value(boolean): Whether the checkbox is checked or not
disabled(boolean): Whether the widget is editable
name(str): The title of the widget
checkbox = pn.widgets.Checkbox(name='Checkbox') checkbox
Checkbox.value parameter is either True or False depending on whether the checkbox is ticked.