Skip to main content

IconButton

Function IconButton 

Source
pub fn IconButton(_: IconButtonProps) -> Element
Expand description

An icon-only Button: square, with the accessible name required by type.

The label is the button’s name, which a screen reader announces and voice control users speak; the icon itself stays decorative. Pair it with a Tooltip when sighted users may not recognise the icon.

§Props

For details, see the props struct definition.