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

Instructions Layout

Android - 8.25.0 iOS - 8.26 Web - 2.5.0

A list of fields used to inform the user of actions to do and not do.

instructions {
    items {
        item {
            text = "Make an initial money transfer"
            context = Context.POSITIVE
        }
        item {
            text = "Pay extra hidden fees for transfers"
            context = Context.NEGATIVE
        }
    }
}

When to use

  • When providing a list of things the user should and should not do, for example, when creating a password, DO use something unique, with special characters. DON'T use your date of birth.

When not to use

  • When building a list of items which have positive/negative sentiments but are not instructions, consider using a Status List Layout instead. For example, a list of features which are and aren't included in a subscription.

Properties

PropertyTypeRequiredDescription
analyticsIdStringNoAn optional identifier to be used in analytics tracking.
controlStringNoSpecify a particular control to use to represent the layout. If the control is unknown, it will be ignored.
itemsArray<InstructionsLayout.Item>YesAn array of instructions.
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

titleStringNoA user-facing title.
typeStringYesIt must be 'instructions'.

Related Types

Item

A single instruction in an Instructions Layout

Properties

PropertyTypeRequiredDescription
analyticsIdStringNoAn optional identifier to be used in analytics tracking.
contextContextYesThe semantics of the instruction.

tag

String

No

An optional identifier to be used in custom renderers.

Android - 8.101.0 iOS - 8.96 Web - 4.0.0

⚠️ Deprecated - Please use 'tags' instead

tags

Array<String>

No

An optional list of identifiers used to configure renderers.

Android - 8.131.0 iOS - 8.125 Web - 4.33.0

textStringYesThe user-facing text for the instruction.