Skip to content

FormStatus (Messageboxes)

Properties

PropertyTypeDescription
textReact.ReactNode(optional) the text appears as the status message. Beside plain text, you can send in a React component as well.
childrenReact.ReactNode(optional) the text appears as the status message. Beside plain text, you can send in a React component as well.
titlestring(optional) the title attribute in the status.
rolestring(optional) the role attribute for accessibility, defaults to alert.
stateerror
warn
info
success
marketing
(optional) defines the visual appearance of the status. These are the statuses error, warn, info and marketing. The default status is error.
sizedefault
large
(optional) defines the appearance size. There are these sizes default, large. The default status is default.
iconReact.ReactNode(optional) the icon show before the status text. Defaults to exclamation.
icon_sizestring(optional) the icon size of the icon shows. Defaults to medium.
variantflat
outlined
(optional) as of now, there is the flat and the outlined variant. Defaults to flat.
stretchboolean(optional) if set to true, then the FormStatus will be 100% in available width. NB: Only use this on independent status messages.
showboolean(optional) provide false if you want to animate the visibility. Defaults to true.
no_animationboolean(optional) NB: Animation is disabled as of now. use true to omit the animation on content visibility. Defaults to false.
globalStatusVarious(optional) the configuration used for the target GlobalStatus.
shellSpacestring
object
(optional) Use it to set an inner margin. It supports the same properties as Space. Useful for animation.
skeletonboolean(optional) If set to true, an overlaying skeleton with animation will be shown.
Spacestring
object
(optional) Spacing properties like top or bottom are supported.