Icon component shown with an Add icon asset. Inspect the HTML to see the props. Or use a screen reader to read the label.
- Icon glyph
- Label Visually Hidden
size can be
200. The size sets the width and height of the SVG.
label is required for screen readers. It is used to describe the icon to screen readers. It is also used as the
aria-label for the icon. It is recommended to use a short, descriptive label. For example, "Go to Next Page".
string | WPDSThemeColorObject
number | 100 | 150 | 200
|label||The name of the icon to display.|
|css||WPDS provides a css prop for overriding styles easily. It’s like the style attribute, but it supports tokens, media queries, nesting and token-aware values. All WPDS Components include a css prop. Use it to pass in overrides.|