The visual color appearance of the component
Close Button
CloseButton is essentially a button with a close icon. It is used to trigger close functionality in components.
Props#
The CloseButton composes Box component.
colorScheme
colorSchemeDescription
Type
"whiteAlpha" | "blackAlpha" | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink" | "linkedin" | "facebook" | "messenger" | "whatsapp" | "twitter" | "telegram"isDisabled
isDisabledDescription
If true, the close button will be disabled.
Type
booleansize
sizeDescription
The size of the CloseButton
Type
"lg" | "md" | "sm"Default
mdvariant
variantDescription
The variant of the CloseButton
Type
stringProps#
The CloseButton composes Box component.
colorScheme
colorSchemeDescription
The visual color appearance of the component
Type
"whiteAlpha" | "blackAlpha" | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink" | "linkedin" | "facebook" | "messenger" | "whatsapp" | "twitter" | "telegram"isDisabled
isDisabledDescription
If true, the close button will be disabled.
Type
booleansize
sizeDescription
The size of the CloseButton
Type
"lg" | "md" | "sm"Default
mdvariant
variantDescription
The variant of the CloseButton
Type
string