functions module¶
- sidebar_button(icon, text, component_id, additional_styling=None)¶
Generate a sidebar button with an icon and label.
- Parameters:
icon (str) – The icon displayed at the top of the button.
text (str) – The label text displayed below the icon.
component_id (str) – The ID assigned to the button component.
additional_styling (dict, optional) – Additional styling applied to the button. Defaults to an empty dictionary.
- Returns:
A Div containing the styled button.
- Return type:
html.Div