core2-jvm (latest)
core2-jvm (latest)core-jvm
  • Home
  • Features
  • Spec
  • Guides
  • Sandbox
  • Step Studio
  • Step
    • Action
    • External
    • Help
    • Link Handler
    • Navigation
    • Persist Async
    • Polling
    • Refresh On Change
    • Schema On Change
    • Step Error
    • Suggestions
    • Summary
    • Toolbar
    • Upload
    • Validate Async
    • Schema
    • All Of Schema
    • Array Schema
    • Blob Schema
    • Boolean Schema
    • Const Schema
    • Integer Schema
    • Number Schema
    • Object Schema
    • One Of Schema
    • String Schema
    • Layout
    • Alert Layout
    • Box Layout
    • Button Layout
    • Columns Layout
    • Decision Layout
    • Divider Layout
    • Form Layout
    • Heading Layout
    • Image Layout
    • Instructions Layout
    • List Layout
    • Loading Indicator Layout
    • Markdown Layout
    • Media Layout
    • Modal Layout
    • Paragraph Layout
    • Progress Layout
    • Review Layout
    • Search Layout
    • Section Layout
    • Status List Layout
    • Tabs Layout
    • Upsell Layout
    • Behavior
    • Action Behavior
    • Copy Behavior
    • Dismiss Behavior
    • Link Behavior
    • Modal Behavior
    • Refresh Behavior
    • Subflow Behavior
    • Subflow
    • Dynamic Launch Config
    • Launch Config
    • Modal Presentation
    • Native Launch Config
    • Presentation
    • Push Presentation
    • Action Response Body
    • Error Response Body
    • Flow Response
    • Modal Response Body
    • No Op Response Body
    • Search Initial Layout Config
    • Search Initial Results Config
    • Search Initial State
    • Search Layout Response Body
    • Search Response
    • Search Response Body
    • Search Result
    • Search Results Response Body
    • Subflow Response Body
    • Additional Info
    • Align
    • Autocapitalization Type
    • Autocomplete Token
    • Context
    • Icon
    • Image
    • Inline Alert
    • Media
    • Native Capabilities
    • Request
    • Size
    • Supporting Values
    • Control
    • Tag

Section Layout

Android - 8.113.0 iOS - 8.110 Web - 4.13.0

A container for a group of layout components topped with a section header.

section {
    title = "Primary Tenant"
    components {
        markdown {
            content = "Simon Claw"
        }
    }
}
section {
    title = "Co-applicant"
    components {
        markdown {
            content = "Tim Cheese"
        }
    }
    callToAction {
        title = "Edit"
        accessibilityDescription = "This is an edit button to edit co-applicant details"
        behavior = ActionBehavior.build {
            action {
                url = "/edit"
                method = HttpMethod.POST
            }
        }
    }
}

When to use

  • When content is grouped under a shared title, or for accessibility reasons.

When not to use

  • When the content is a single layout which has its own title, consider using that layout directly instead. For example, Decision Layout, Review Layout, or List Layout.

Properties

PropertyTypeRequiredDescription
analyticsIdStringNoAn optional identifier to be used in analytics tracking.
callToActionSectionLayout.CallToActionNoA titled call to action which can be performed by the user.
componentsArray<Layout>YesThe contained components.
controlStringNoSpecify a particular control to use to represent the layout. If the control is unknown, it will be ignored.
marginSizeNoThe vertical margin to apply after this component. Defaults to md.

tags

Array<String>

No

An optional list of identifiers used to configure renderers.

Android - 8.131.0 iOS - 8.125 Web - 4.33.0

titleStringYesThe user-facing title.
typeStringYesIt must be 'section'.

Related Types

Call To Action

The call to action configuration used by Section Layout.

Properties

PropertyTypeRequiredDescription
accessibilityDescriptionStringNoA description of the call to action to be used by screen readers.
behaviorBehaviorYesThe Behavior that should be performed when user interacts with call to action.

context

Context

No

The semantics of the call-to-action button. Defaults to neutral.

Android - 9.12.0 iOS - 9.12 Web - 5.7.0

titleStringYesA user-facing title.