Style
public enum Style
-
Primary button style, suitable for use as the primary call to action
Declaration
Swift
case primary -
Secondary button style, suitable for secondary call to actions.
Declaration
Swift
case secondary -
Should typically be paired with a confirmation.
Declaration
Swift
case destructive -
the primary style.
Declaration
Swift
case featured -
Link button style, suitable for inline display and de-emphasized actions.
Declaration
Swift
case link -
Primary on Dark button style, suitable for use on dark coloured backgrounds.
Declaration
Swift
case primaryOnDark -
Primary on Light button style, suitable for use on light coloured backgrounds.
Declaration
Swift
case primaryOnLight -
Secondary on Dark button style, suitable for use on dark coloured backgrounds.
Declaration
Swift
case secondaryOnDark -
Link on Dark button style, suitable for use on dark coloured backgrounds.
Declaration
Swift
case linkOnDark