You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to request an enhancement to the streamlit-option-menu component that would allow for more flexible icon assignment. Specifically, I would like to see the following features:
Selective Icon Assignment: The ability to assign icons to only specific options within the menu. Currently, the icons list must match the length of the options list, and providing empty strings or None still results in default icons being displayed.
No Icon Option: An option to specify that no icon should be displayed for certain menu items. This could be implemented by allowing a specific value (e.g., None or an empty string) in the icons list to explicitly indicate that no icon should be shown for that particular item.
Example Use Case:
I have a menu where I want to display an icon only next to the "SEARCH" option and no icons next to other options. Here’s a simplified version of the menu configuration:
Hi,
I would like to request an enhancement to the streamlit-option-menu component that would allow for more flexible icon assignment. Specifically, I would like to see the following features:
Selective Icon Assignment: The ability to assign icons to only specific options within the menu. Currently, the icons list must match the length of the options list, and providing empty strings or None still results in default icons being displayed.
No Icon Option: An option to specify that no icon should be displayed for certain menu items. This could be implemented by allowing a specific value (e.g., None or an empty string) in the icons list to explicitly indicate that no icon should be shown for that particular item.
Example Use Case:
I have a menu where I want to display an icon only next to the "SEARCH" option and no icons next to other options. Here’s a simplified version of the menu configuration:
Thank you!
The text was updated successfully, but these errors were encountered: