Banner

A prominent call-to-action banner section that can use either a background image or color.

Configuration

- sectionType: banner
  containerTag: aside
  classes: ''
  id: ''
  isDisabled: false
  isReverse: false
  isAnimated: true
  containerFields:
    inContainer: false          # Stretch across viewport
    noMargin:
      top: true
      bottom: true
    noPadding:
      top: false
      bottom: false
    background:
      color: ''
      image: '/assets/images/sample8.jpg'
      imageScreen: 'light'     # Options: light, dark, none
  text:
    leadIn: 'With Background Image'
    title: CTA Banner Example
    titleTag: 'h2'
    subTitle: Uses light image screen for better text contrast
    prose: Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Aenean eu leo quam. Pellentesque ornare sem lacinia quam venenatis vestibulum. Nullam id dolor id nibh ultricies.
  ctas:
    - url: 'https://apple.com'
      label: 'go to apple'
      isButton: true
      buttonStyle: 'primary'
    - url: 'https://ibm.com'
      label: 'go to big brother'
      isButton: false
      buttonStyle: 'primary'

Configuration Options

Container Layout

PropertyTypeRequiredDescription
inContainerbooleanNotrue restricts width to content width, false stretches banner across viewport

Background Options

PropertyTypeRequiredDescription
imagestringNoBackground image URL
colorstringNoBackground color
isDarkbooleanNoIndicates dark background for text color adjustment
imageScreenstringNoScreen overlay for better text readability ('light', 'dark', 'none')

Content

PropertyTypeRequiredDescription
textobjectYesStandard text block with leadIn, title, subtitle, and prose
ctasarrayNoArray of call-to-action buttons or links