Banner

SwiftSail Banner Component


Banner component can be used as some kind of alert or warning when an action finishes successfully or not.

This component can also be used as a promotion of your Pro subscription.

There are multiple banner styles:

  • info
  • error
  • success

Banner supports SFSymbols icons.

Example:

Banner(
    style: .info,
    icon: "questionmark.app.fill",
    title: "Did you know?",
    description: "You can upgrade to Pro to get all the amazing features!"
)

Accordion