Showing results for 
Search instead for 
Did you mean: 
Regular Visitor

Customize the options display

Can we change the display alignment of options from being displayed horizontally, can it be displayed vertically.  


Hello, You can do with a custom canvas implementation which requires code, but not out of the box yet. We are adding support for vertical alignment shortly and will post in the announcements when we release it. Thanks.

Can you please provide the code to get this vertical allignment?, I can't find it anywhere, not in the documentation, default style file, and not even in the forums.





Any update on this topic?

const styleOptions = {

// Add styleOptions to customize Web Chat canvas
suggestedActionLayout: 'stacked',

That should do it.

Hi @ggupta 
any news about the improvement to put the menus vertically?

Resolver II
Resolver II

Hi @DiegoPeres,


I've had to do this for my first PVA project some time ago as the carousel format of the options was raised as an accessibility issue. It took a while to work it out but I have done so successfully and have used it ever since - I thought it might be easier to paste the code snippet that you can reuse if you wish. You'll need to go to for the full code and then in the const styleOptions section, paste the line I have bolded below. This will change the layout of the suggested actions from carousel to stacked. I'd also suggest using the second bolded line with the wrapped text (this will ensure that for long text options, the text will be wrapped within the button - this also took me ages to figure out!).


Please mark my answer as a solution if it helped!


const styleOptions = {
// Add styleOptions to customize web chat canvas
botAvatarInitials: 'BT',
accent: '#003087',
botAvatarBackgroundColor: "#FFFFFF",
botAvatarImage: '',
userAvatarInitials: 'BT',
accent: '#003087',
userAvatarBackgroundColor: "#FFFFFF",
userAvatarImage: '',
hideUploadButton: true,
suggestedActionLayout: 'stacked',
suggestedActionDisabledBorder: null,
suggestedActionDisabledBorderColor: '#E6E6E6',
suggestedActionDisabledBorderStyle: 'solid',
suggestedActionDisabledBorderWidth: 2,
suggestedActionsStackedLayoutButtonTextWrap: true,
emojiSet: true,




Kind regards,



New Member

Hi Everyone,


Is there a way to customize the options inside Teams? From what I gather, the solutions in these forums refer to customizing the web app. 

Hi @marvin_B ,


The Teams version of PVA renders slightly differently and doesn't support stacked options which can only be accommodated using code. I've tried extending the PVA for Teams using Bot Framework but even thumbnail/hero cards get rendered differently. At present I don't think it's possible.



Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

Top Solution Authors
Users online (3,648)