The ChoiceChips widget allows users to select a single option from a group of chips. Each chip is presented with an icon and accompanying text, making it easy to represent various choices.

You could use this widget to implement a filter feature in an e-commerce app to let users select different product attributes like size, color, or price range.

Adding ChoiceChips widget

To add the ChoiceChips widget to your app:

  1. Add the ChoiceChips widget from the Form Elements tab.

  2. By default, this widget adds a single option named Option 1. To change the name, move to the Properties Panel (on the right side of your screen), and scroll down to the Define Options section. Find the Option 1 property and change the name and icon.

  3. To add more options, click on the Add Option text and set the name and icon for new options.

  4. To set any chip as selected by default, find the Initial Option property and enter the chip name.

    1. To set this value dynamically, open the Set from Variable menu and set the variable.

    2. When multiselect is enabled, you can also set the list of options to pre-select.

Trigger action on change

See how to trigger an action when a selection changes on this widget.

Select or clear all choices

Users may need to swiftly deselect all chips or choose all available choice chips at once. You can do so by adding the following action.

Before you add this action, ensure you allow multiselect on this widget.

pageClear All/Select All


You can customize the appearance and behavior of this widget using the various properties available under the properties panel.

Allow multiselect

You might want to allow users to select multiple choices to filter the result.

To allow multiselect, select the ChoiceChips widget, move to the properties panel, find the Allow Multiselect property and enable it.

Disable ChoiceChips

Sometimes, you may want to present the choices in a read-only mode, preventing users from making any changes.

To do so, move to the Properties Panel > turn on Disable > click Unset, and set the Conditions. This can be the Single Condition or Combine Conditions based on your requirement. Note: The ChoiceChips widget will be disabled only when condition(s) is true.

Adding Space between Chips

To add a space between the chips, you can use the Chip Spacing ad Row Spacing property.

  • Chip Spacing: This adds horizontal gaps between individual chips.

  • Row Spacing: This adds vertical gaps between the chips in a row.

Align chips

When you have chips in multiple rows, you can align them using the Alignment property. This is similar to setting main axis alignment for the Row widget.

Customizing selected and unselected chip style

Various properties under the Selected Chip Style and Unselected Chip Style section allow you to customize chips to match your design. Here's how you do it:

  1. To change the background color, use the Color property.

  2. To change the icon's color and size, use the Icon Color and Icon Size property.

  3. To add a shadow or to create a sense of depth for the chip, you can use the Elevation property.

  4. To customize the border, use the Border Color, Border Width (thickness), and Border Radius (rounded corner) properties.

  5. To create some space around the label, use the Label Padding property.

  6. To change the label text styling, use the Selected Text Style property.

  1. Similarly, you can customize the properties under the Unselected Chip Style.

Show or hide widget

See how to show or hide any widget using the Conditional Visibility property.

Responsive visibility

See how to add responsive visibility to any widget.

Add padding & alignment

See how to add padding and alignment to any widget.

Last updated