children | The content of the button. | React.ReactNode | - |
type | The type of the button. | "button", "submit", "reset", "link" | "button" |
fullWidth | If the button should be full width. | boolean | false |
id | The id of the button. | string | - |
name | The name of the button. | string | - |
color | The color of the button. | ColorsType | "PRIMARY" |
colorHex | The color of the button (hex). | string | - |
textColor | The color of the button. | ColorsType | - |
textColorHex | The color of the button (hex). | string | - |
styles | The style of the button. | object | - |
padding | The padding of the button. | "sm", "md", "lg" | "md" |
form | The form of the button. | string | - |
loading | If the button is loading. | boolean | false |
disabled | If the button is disabled. | boolean | false |
borderRadius | The border radius of the button. | BorderRadiusType | "md" |
fontSize | The font size of the button. | FontsSizesType | "EM-MEDIUM" |
textTransform | The text transform of the button. | "capitalize", "uppercase", "default", "none" | "default" |
fontWeight | The font weight of the button. | FontsWeightsType | "NORMAL" |
effect | The effect of the button when hovered or clicked. | "globalScale", "boxScale", "opacity" | "opacity" |
onClick | The function to call on click. | function | - |
gap | The gap of the button. | "sm", "md", "lg" | "md" |
href | The href of the button. | string | - |
LeftIcon | The left icon of the button. | React.FC<IconProps> | - |
RightIcon | The right icon of the button. | React.FC<IconProps> | - |
outlined | If the button is outlined. | boolean | false |
borderWidth | The border width of the button. | number | 2 |