booleanAlert
Alerts are used to communicate a state that affects a system, feature or page.
Props#
Alert Props#
Alert is the wrapper for Alert component. It composes the Flex component.
addRole
addRolecolorScheme
colorSchemeThe visual color appearance of the component
"whiteAlpha" | "blackAlpha" | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink" | "linkedin" | "facebook" | "messenger" | "whatsapp" | "twitter" | "telegram"bluesize
sizeThe size of the Alert
stringstatus
statusThe status of the alert
"info" | "warning" | "success" | "error" | "loading"infovariant
variantThe variant of the Alert
"subtle" | "left-accent" | "top-accent" | "solid"subtleAlertIcon Props#
AlertIcon composes Icon and changes the icon based on the status prop.
AlertTitle Props#
AlertTitle composes the Box component.
AlertDescription Props#
AlertDescription composes the Box component.
Props#
Alert Props#
Alert is the wrapper for Alert component. It composes the Flex component.
addRole
addRolebooleancolorScheme
colorSchemeThe visual color appearance of the component
"whiteAlpha" | "blackAlpha" | "gray" | "red" | "orange" | "yellow" | "green" | "teal" | "blue" | "cyan" | "purple" | "pink" | "linkedin" | "facebook" | "messenger" | "whatsapp" | "twitter" | "telegram"bluesize
sizeThe size of the Alert
stringstatus
statusThe status of the alert
"info" | "warning" | "success" | "error" | "loading"infovariant
variantThe variant of the Alert
"subtle" | "left-accent" | "top-accent" | "solid"subtleAlertIcon Props#
AlertIcon composes Icon and changes the icon based on the status prop.
AlertTitle Props#
AlertTitle composes the Box component.
AlertDescription Props#
AlertDescription composes the Box component.