Banner


Examples

Heads up!
If you're importing recipients from a previous provider, be sure to also import your suppressions later.

margin
Learn More
status
string
Possible values:
default
success
warning
danger
info
The status of the banner, determines the color scheme.
title
string
The title of the banner
onDismiss
function
default: (e) => void
Callback for when the banner is dismissed
action
object
Deprecated
Used for single action button
actions
array
Deprecated
Renders multiple action buttons
children
node
Content to be displayed inside the banner
size
string
default: "large"
Possible values:
"small"
"large"
Size of the Banner

This component is a light wrapper around the Button component that sets spacing and positioning. See the Button component page for API documentation and usage.