Use Callout...
- To call attention to a product or service.
Don't use Callout...
- To display a selection. Use Clear Selection Button instead.
The preview has been updated.
Skin
Info
Use skin="info"
to display a standard message. This is the default skin.
The preview has been updated.
Accent
Use skin="accent"
to display a standout or brand callout.
The preview has been updated.
Promo
Use skin="promo"
to display promotional content such as a discount.
The preview has been updated.
Error
Use skin="error"
to display an error status or issues, such as an item being out of stock.
The preview has been updated.
Warning
Use skin="warning"
to display a warning status or message.
The preview has been updated.
Success
Use skin="success"
to display a positive or success message.
The preview has been updated.
Help
Use skin="help"
to display a CARE-related message.
The preview has been updated.
Deprecated skins
Standard
skin="standard"
is deprecated in SWAN v3.3
Use the skin="info"
instead, which aligns with new semantic roles on SWAN components.
The preview has been updated.
Announcement
skin='announcement'
deprecated in SWAN v3.3
Use skin='accent'
instead, which aligns with new semantic roles on SWAN components.
Use skin="announcement"
to display an announcement.
The preview has been updated.
New
skin='new'
deprecated in SWAN v3.3
Use skin='accent'
instead, which aligns with new semantic roles on SWAN components.
Use skin="new"
to promote a new product or service launched within the last 6 months.
The preview has been updated.
Discount
skin='discount'
deprecated in SWAN v3.3
Use skin='promo'
instead, which aligns with new semantic roles on SWAN components.
Use skin="discount"
to promote a discounted product or service.
The preview has been updated.
Emphasis
Use emphasis="low"
for more subtle Callouts.
The preview has been updated.
Foil
skin='foil'
deprecated in SWAN v3.3
No direct replacement, use a different skin that will suit your needs.
Use skin="foil"
to promote foil printing on a product.
The preview has been updated.
Holiday
skin='holiday'
deprecated in SWAN v3.23
SWAN will no longer provide marketing color values in order to align with our new brand colors. They can still be accessed through @vp/marketing-colors
, but should only be used by Contentful-authored content.
Use skin="holiday"
only for holiday campaigns.
The preview has been updated.
Variant
variant
prop is deprecated in SWAN v3.4
For variant=inverse
, omit the prop to use the standard styling instead. For variant=overlay
use emphasis=low
instead.
Overlay
Use variant="overlay"
to add a white background to the Callout. This is useful when the callout is positioned over an image to ensure the label is legible.
The preview has been updated.
Inverse
Use variant="inverse"
to inverse the colours in the Callout. This is useful when you want to make the callout more noticeable on the page. This is the default styling as of v3.4 and is no longer necessary
The preview has been updated.
Size
size
is deprecated in SWAN v3.3
The component now automatically handles sizing based on the selected mode(standardMode
/compactMode
). Please update your implementation to rely on the new mode-based sizing.
Mini
Use size="mini"
for a smaller Callout.
The preview has been updated.
Border
border
is deprecated in SWAN v3.3
There is no direct replacement as this visual style has been removed.
Use border="none"
for a borderless Callout.
The preview has been updated.