• Documentation
  • Ask a Question
  • Zeroplat.io
  • Documentation
  • Ask a Question
  • Zeroplat.io
  • Introduction
    • Welcome to Zeroplat
    • Video Intro
  • Get Started
    • Requirements
    • Installation
  • Management
    • Resources
    • SaaS
      • Multi-tenancy
      • Editions
    • Permissions
    • Organization Units
    • Language
      • Languages
      • Language Texts
    • Roles
    • User
      • Users
      • Invite Users
    • Audit Logs
  • Visual Builder
    • Overview
    • Resources
      • Menu & Navigation
      • Pages
      • Dashboards
      • Components
      • Generate Pages from Datasource
    • Design
      • JS Query
      • Transformer
      • Variable
    • Event Designer
      • Tasks
        • Execute query
        • Start workflow
        • Show page
        • Close Page
        • Set variable
        • Show notification
        • Set components props
      • Switch
        • If
        • Confirm box
        • Confirm popover
    • Data
    • Preview & Publish
    • Components
      • Common Properties
        • Layout
        • Style
        • Actions
        • Validations
        • Tooltip
      • Inputs
        • Button
        • Input
        • InputNumeric
        • ComboBox
        • MulticolumnCombobox
        • Checkbox
        • CheckboxGroup
        • Switch
        • RadioGroup
        • ToggleButtonGroup
        • LocalizedInput
        • Slider
      • Business
        • OrganizationUnitBrowser
        • RoleBrowser
        • UserBrowser
      • Data display
        • DataGrid
      • Editors
        • QuillEditor
      • Feedback
        • Alert
        • Progress
      • File
        • Dropzone
        • FileButton
        • FileInput
      • Layout
        • SplitLayout
      • Navigation
        • TabBar
      • Pickers
        • DatePicker
        • DateTimePicker
        • DateRangePicker
        • DateCalendar
        • TimePicker
        • IconPicker
      • Surfaces
        • Card
      • Charts
        • AreaChart
  • Backend
    • Overview
  • Integrations
    • Overview
    • Environments
    • Database
      • MS SQL
      • SQL Lite
      • My SQL
      • PostgreSQL
    • API
      • Rest API
      • SMTP
      • Google Sheets
      • Twillio SMS
    • Javascript
      • Variable
      • Transformer
      • JS Query
    • Zeroplat Hosted
      • Zeroplat E-mail
  • Workflow (BPM)
    • Overview
    • Building and managing workflows
    • Inbox
    • Outbox
  • Marketplace
    • Overview
    • Management

ToggleButtonGroup

3 views 0

Written by Zeroplat
20 September 2025

The ToggleButtonGroup component allows users to select one or multiple options using toggle-style buttons. It supports both manual and data-mapped configurations, making it useful for dynamic UIs where options may come from external sources.

1. Basic Properties

  • Name: The unique identifier of the toggle button group (e.g., ToggleButtonGroup1).
  • Toggle Buttons: Items that define the available options in the group.
  • Selection Mode:
    • Single → Only one button can be active at a time.
    • Multiple → Multiple buttons can be selected simultaneously.
  • Default Selected Value: Defines which button(s) are selected initially.

States

  • Disabled: Makes the entire group non-interactive.
  • Hidden: Hides the component from the UI but keeps it in logic.
  • Full Width: Expands the group to fill its container’s width.

2. Mode

The Mode defines how the toggle buttons are created:

  • Manual → Add buttons manually in the editor.
  • Mapped → Dynamically generate buttons from a data source.
    • Data Source: A query or variable providing a list (e.g., {{ query1.data }}).
    • Mapped Values:
      • Value → The underlying stored value (e.g., {{ item.Id }}).
      • Label → The display text (e.g., {{ item.Name }}).
      • Icon → Optional icon for each button.
      • Show Label → Toggle whether the label is shown alongside the icon.
      • Disabled / Hidden → Conditions to disable or hide specific buttons.

3. Layout

Controls how the group is displayed across responsive breakpoints and its spacing relative to other components.

📘 For details, see Common Properties → Layout.

4. Events

  • onChange: Triggered whenever the selected value(s) change.

5. Size, Color & Orientation

  • Size: Choose between small, medium, and large.
  • Color: Define the color scheme (e.g., primary).
  • Orientation:
    • Horizontal → Buttons arranged side by side.
    • Vertical → Buttons arranged in a column.

6. Style

Custom styles can be applied for further UI customization.

📘 For details, see Common Properties → Style.

✅ The ToggleButtonGroup component is versatile for building interactive controls. With Selection Mode, it can act like a radio group (single selection) or a checkbox group (multi-selection). Combined with Mapped Mode, it becomes dynamic and automatically adapts to live data sources.

Was this helpful?

Yes  No
Related Articles
  • DateCalendar
  • Progress
  • TimePicker
  • IconPicker
  • DateTimePicker
  • DateRangePicker

Didn't find your answer? Contact Us

Previously
RadioGroup
Up Next
LocalizedInput
Copyright 2025 Zeroplat.io. All Rights Reserved