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.Protected
internalsLeading icon of button. Full list of icons can be found at Zeta Icons.
Optional
nameName 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.
Optional
typeThe type of the button when used in a form
Optional
valueThe value of the name property When submitted as part of a form
Static
formStatic
Internal
shadowStatic
stylesProtected
_
Icon buttons are used to trigger actions with an icon.
Cssproperty
--icon-button-color the color of the button.
Cssproperty
--icon-button-icon-color the color of the icon.
Cssproperty
--icon-button-icon-color-disabled the color of the icon when the button is disabled.
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