selectbox
function creates a dropdown menu in your app, allowing users to select an option from a predefined list. This is ideal for scenarios where users need to choose from multiple options.
label
(str): The label displayed above the dropdown, describing its purpose.options
(list): A list of options that users can select from.default
(str): (Optional) The default option. Must be one of the options provided.size
(float): (Optional) The width of the component in a row. Defaults to 1.0
(full row). See the Layout Guide for details.str
containing the current value.selectbox
function:
selectbox
to let users choose a dataset to analyze or visualize.selectbox
?selectbox
! 🎛️