2.1.0 • Published 2 years ago

@maggioli-design-system/mds-input-button v2.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

mds-input-button

Properties

PropertyAttributeDescriptionTypeDefault
activeactiveSpecifies if the button is active or notbooleanundefined
iconiconThe icon displayed in the buttonstringundefined
iconPositionicon-positionSpecifies the horizontal position of the icon displayed in the button"left" \| "right"'left'
sizesizeSpecifies the size for the button"lg" \| "md" \| "sm" \| "xl"'md'
tonetoneSpecifies the tone variant for the button"ghost" \| "quiet" \| "strong" \| "weak"'strong'
typetypeThe type of the button element"a" \| "button" \| "reset" \| "submit"'submit'
variantvariantSpecifies the color variant for the button"dark" \| "error" \| "info" \| "light" \| "primary" \| "success" \| "warning"'primary'

CSS Custom Properties

NameDescription
--backgroundSets the background-color of the component
--border-colorSets the border-color of the component
--colorSets the text color of the component
--icon-colorSets the icon color of the component
--radiusSets the border-radius of the component

Dependencies

Depends on

Graph

graph TD;
  mds-input-button --> mds-icon
  mds-input-button --> mds-text
  style mds-input-button fill:#f9f,stroke:#333,stroke-width:4px

Built with love @ Maggioli Informatica / R&D Department