Skip to content

[ Button Group Component ] - Allow Conditions to Change Size of Existing Buttons in a Button Groupย #18016

@NDCallahan

Description

@NDCallahan

๐Ÿงฉ Feature: Allow Conditions to Change Size of Existing Buttons in a Button Group

๐Ÿ“ Description

When using a single Button, Budibase allows conditions to modify the buttonโ€™s size (small, medium, large). This makes it easy to create responsive layouts or adjust UI density based on state or screen size.

However, when using a Button Group, conditions are far more limited. Conditions can:

  • Show/hide buttons
  • Swap in new buttons

โ€ฆbut they cannot modify the size of the existing buttons inside the group.

This creates an inconsistency between single buttons and button groups, and it makes responsive design much harder when multiple buttons need to stay grouped together.


๐Ÿ’ก Use Case

As a Budibase user, I want to:

  • Use conditions to change the size of the existing buttons inside a Button Group.
  • Adjust button sizing dynamically for mobile vs. desktop.
  • Avoid duplicating buttons or entire button groups just to simulate responsive behavior.
  • Keep grouped buttons visually consistent without rebuilding the group.

๐Ÿ” Current Pain Points

  • Button Groups cannot change button size through conditions.
  • Single Buttons can, creating inconsistent capabilities.
  • To support mobile layouts, users must:
    • Duplicate buttons with different sizes, or
    • Duplicate entire button groups.
  • This increases maintenance complexity and makes the UI harder to manage.
  • Button Groups lose flexibility compared to standalone buttons.

๐ŸŽฏ Expected Behavior

  • Conditions applied to a Button Group should allow modifying:
    • Button size (small, medium, large)
  • The UI should expose a โ€œSizeโ€ option within the condition editor, similar to single buttons.
  • Existing buttons should be modifiable without requiring duplicates.

๐Ÿš€ Why It Matters

  • Enables true responsive design for Button Groups.
  • Reduces duplication and complexity in component logic.
  • Brings Button Groups to parity with single buttons.
  • Improves mobile usability and overall UX.

๐Ÿ“ธ Screenshots

Current

Image

Future

Image

๐Ÿ“Œ Additional Notes

  • Single Buttons already support conditional size changes; Button Groups should offer the same flexibility.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions