Customize
Suggestions
Starter questions on the welcome screen and follow-up chips after each answer.
There are two kinds of suggestion:
- Starters appear on the empty welcome screen. They are centred, wrap over several lines, and are written by you or come from the vertical's defaults.
- Follow-ups appear after each finished answer. Your backend writes them for that specific answer (
POST /threads/{id}/suggest). They are a single horizontal row of chips that can be swiped.
Placement
By default, follow-ups sit on the composer, just above the input. This keeps the conversation clean and puts the next question within reach.
| Placement | Behaviour |
|---|---|
SuggestionPlacement.AboveComposer (default) | One row of chips attached to the input. It slides in when an answer finishes and hides while an answer streams or while the shopper is typing. It is replaced after every answer. |
SuggestionPlacement.Inline | Up to three chips under the latest answer, inside the conversation. |
CartesianFeatures.Builder()
.suggestionPlacement(SuggestionPlacement.Inline)
.build()CartesianFeatures(suggestionPlacement: .inline)features: { suggestionPlacement: "inline" }Your own starters
CartesianOptions.Builder()
.starters(listOf("What's on sale this week?", "Gluten-free snacks for kids"))
.build()CartesianOptions(starters: ["What's on sale this week?", "Gluten-free snacks for kids"])options={{ starters: ["What's on sale this week?", "Gluten-free snacks for kids"] }}Turning them off
.suggestions(SuggestionMode.Starters) // welcome questions only, no follow-ups
.suggestions(SuggestionMode.Off) // neitherCartesianFeatures(suggestions: .starters)
CartesianFeatures(suggestions: .off)features: { suggestions: "starters" }
features: { suggestions: "off" }Your own chip design
Replace the chips while keeping the behaviour:
CartesianSlots.Builder()
.suggestions { suggestions, controller ->
LazyRow(horizontalArrangement = Arrangement.spacedBy(8.dp)) {
items(suggestions) { s ->
MyChip(s, enabled = controller.canSend) { controller.send(s) }
}
}
}
.build()CartesianSlots()
.suggestions { suggestions, controller in
ScrollView(.horizontal, showsIndicators: false) {
HStack(spacing: 8) {
ForEach(suggestions, id: \.self) { s in
MyChip(s, enabled: controller.canSend) { controller.send(s) }
}
}
}
}const slots = {
suggestions: ({ suggestions, controller }: SuggestionsSlotProps) => (
<div className="my-chips">
{suggestions.map((s) => (
<MyChip key={s} disabled={!controller.canSend} onClick={() => controller.send(s)}>{s}</MyChip>
))}
</div>
),
};



