Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

Creating custom buttons with more types

Avatar

Level 1

I want to create button with more types. Currently, it only takes primary, secondary and tertiary in select component. Is there any possible ways to achieve this if I need more variations for button block?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

hi @AbhilashMo4 IMO, you can create your own custom component over here, and leverage the options for selecting and decorating the block 

{
"component": "select",
"label": "Button Type",
"name": "filter_ButtonType",
"valueType": "string",
"options": [
{ "name": "option1", "value": "Option 1" },
{ "name": "option2", "value": "Option 2" },
{ "name": "option3", "value": "Option 3" },
{ "name": "option4", "value": "Option 4" },
{ "name": "option5", "value": "Option 5" },
{ "name": "option6", "value": "Option 6" }
]
}

 

Hope this helps!

Thanks 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

hi @AbhilashMo4 IMO, you can create your own custom component over here, and leverage the options for selecting and decorating the block 

{
"component": "select",
"label": "Button Type",
"name": "filter_ButtonType",
"valueType": "string",
"options": [
{ "name": "option1", "value": "Option 1" },
{ "name": "option2", "value": "Option 2" },
{ "name": "option3", "value": "Option 3" },
{ "name": "option4", "value": "Option 4" },
{ "name": "option5", "value": "Option 5" },
{ "name": "option6", "value": "Option 6" }
]
}

 

Hope this helps!

Thanks