Skip to content

[EuiButtonGroup] Better differentiate the current selection #6819

@ryankeairns

Description

@ryankeairns

Is your feature request related to a problem? Please describe.
[internal feedback] I cannot tell with confidence which value is actually selected by looking at this unless I click and make the selection. But I just want to know what's selected, not change it.

Describe the solution you'd like
Can I suggest to make the selected item have more differentiation, perhaps an outline in addition to darker colouring. (this is one example to highlight).

Proposed redesign

Screen Shot 2023-06-22 at 8 53 03 AM

Additional context
This is particularly problematic when only two options are presented (see below):

image (20)

For reference, we apply margin around the currently active option in the compressed version of this input. Perhaps we can apply a similar style to the default size EuiButtonGroup, as well.

Screen Shot 2023-05-26 at 7 18 37 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    design decisionUse this to flag an item that needs input from the design teamlow hanging fruitAn issue, often a bug, that is lower effort and clearly ought to be fixed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions