pub fn tab_label() -> TabLabelBuilderExpand description
§tab_label
Renders a standard Material tab label with optional icon and text.
§Usage
Use inside tab rows to match Material baseline and icon spacing.
§Parameters
text— text shown in the tab.icon— optional icon shown above the text.horizontal_text_padding— horizontal padding applied to the text area.icon_size— size of the icon when present.
§Examples
use tessera_components::tabs::tab_label;
use tessera_ui::tessera;
#[tessera]
fn demo() {
tab_label().text("Home");
}