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.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_
Buttons are used to trigger actions.
Slot
Part
button - The button element
Part
icon - The icon element of the button, for buttons of type "icon".
Figma
https://www.figma.com/file/JesXQFLaPJLc1BdBM4sisI/🦓-ZDS---Components?node-id=23126-110945
Storybook
https://design.zebra.com/web/storybook/?path=/docs/components-buttons--docs