Skip to main content

Button

Function Button 

Source
pub fn Button(text: impl Into<String>) -> ButtonScope
Expand description

A button with a label. Compose’s Button; the variant is the design system’s seam, so ButtonVariant::Text is Compose’s TextButton and Outlined its OutlinedButton.

An empty label with an icon is an icon button, named for assistive technology by its icon’s meaning.