Protected Internal_The flavor of the component determines the visual style of the component.
Supported values for flavor:
"primary" - Blue background."positive" - Green background."negative" - Red background."outline" - Primary outline only."outline-subtle" - Grey outline only."text" - Primary text only."subtle" - White background with grey text. Same action colors as 'text' flavor."custom" - Custom color background with custom color icon and text applied using css properties.ProtectedinternalsLeading icon of button. Full list of icons can be found at Zeta Icons.
OptionalnameName for the button, used if the button is in a form.
Trailing icon of button. Full list of icons can be found at Zeta Icons.
OptionaltypeThe type of the button when used in a form
OptionalvalueThe value of the name property When submitted as part of a form
StaticformStatic InternalshadowStaticstylesProtected_
Icon buttons are used to trigger actions with an icon.
Cssproperty
--icon-button-color - (Deprecated: Use
--button-colorinstead)Slot
Figma
https://www.figma.com/file/JesXQFLaPJLc1BdBM4sisI/🦓-ZDS---Components?node-id=23126-110314
Storybook
https://design.zebra.com/web/storybook/?path=/docs/components-buttons--docs