Skip to main content

Module icon

Module icon 

Source
Expand description

Upstream’s built-in SVG icon set, styled by icon.css, and icon-only buttons.

The paths come from the pinned upstream build (dist/icons.json, generated into IconName), so an icon here is the same drawing as upstream’s iconMarkup.

Re-exports§

pub use Icon_completions::Component::Icon;
pub use IconButton_completions::Component::IconButton;

Structs§

IconButtonProps
Properties for the IconButton component.
IconProps
Properties for the Icon component.

Enums§

IconSize
Icon size, relative to the surrounding font size.

Functions§

Icon
An icon from upstream’s set, drawn in the current text colour.
IconButton
An icon-only Button: square, with the accessible name required by type.