Skip to content

Add toolbar button styles #4730

Closed

Description

@ryankeairns

Perhaps this could instead be a discussion topic, but Lens and the presentation toolbar (Dashboard, Canvas) are using the same toolbar button styles which smells like a possible EUI addition (e.g. new button group variation?).

They've been operating with separate sets of styles and, as of this writing, are having to make simultaneous adjustments due to the Amsterdam switch in order to gain more contrast with the underlying background color.

The latest design proposal is here (adding a border):

Screenshot 2021-04-15 at 14 24 37

Activity

  1. added
    ⚠️ needs validation
    on Apr 19, 2021
  2. elizabetdev commented on Apr 19, 2021

    @elizabetdev
    Contributor

    Thanks @ryankeairns,

    For sharing this. The Maps app also has toolbar buttons.

    Screenshot 2021-04-19 at 14 53 06

    I think in EUI we could definitely create a toolbar button and toolbar button groups to create some consistency across all apps.

  3. chandlerprall commented on Apr 20, 2021

    @chandlerprall
    Contributor

    Related: ARIA toolbar proposal #2405

  4. added and removed
    ⚠️ needs validation
    on Jun 9, 2021
  5. github-actions commented on Dec 7, 2021

    @github-actions

    👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

  6. added
    stale-issue
    on Dec 7, 2021
  7. added and removed
    stale-issue
    on Dec 7, 2021
  8. cchaos commented on Dec 7, 2021

    @cchaos
    Contributor

    This issue is still valid, but it would be helpful if the EUI team had a more thorough design spec to go off of. @ryankeairns Is there someone on your team who is familiar with all the states/configurations that can build this out in Figma?

  9. ryankeairns commented on Dec 8, 2021

    @ryankeairns
    ContributorAuthor

    @cchaos yep, @MichaelMarcialis can assist with that although it won't be real soon. Let's consider that a next step and he'll get to it as his workload allows.

  10. daveyholler commented on Feb 13, 2023

    @daveyholler
    Contributor

    @MichaelMarcialis and @ryankeairns - do y'all still wanna get this implemented in EUI?

  11. MichaelMarcialis commented on Feb 15, 2023

    @MichaelMarcialis
    Contributor

    From my perspective, I believe it still makes sense to support this at the EUI level. The current landscape is a bit all over the place:

    • Lens uses the ToolbarButton shared component in Kibana.
    • Dashboard and Canvas use a mix of a deprecated QuickButtonGroup component alongside EuiButton components with style overrides.
    • Maps also uses its own set of toolbar button markup and styles.

    In any case, either a new component or enhancement to the existing button components at the EUI level would likely help provide better consistency across the apps and help us retire some of these redundant, bespoke solutions.

  12. 7 remaining items

  13. added
    stale-issue
    on Apr 25, 2024
  14. MichaelMarcialis commented on Apr 25, 2024

    @MichaelMarcialis
    Contributor

    Still relevant.

  15. removed
    stale-issue
    on Apr 25, 2024
  16. added
    Stale
    on Oct 4, 2024
  17. removed
    Stale
    on Oct 14, 2024
  18. MichaelMarcialis commented on Oct 15, 2024

    @MichaelMarcialis
    Contributor

    I think this issue might be taken care of as part of the working being done for the visual refresh buttons (as the new secondary button styles can more easily be used in locations where we've previously used these rogue toolbar button styles): https://github.com/elastic/platform-ux-team/issues/396. CCing @ek-so to confirm whether I'm correct.

  19. ek-so commented on Oct 18, 2024

    @ek-so
    Contributor

    Hey @MichaelMarcialis that is right. Our "text" buttons have the style I believe can be used for that exact purpose.
    Screenshot of the button styles in a current design state for the context.
    Image

  20. ryankeairns commented on Mar 10, 2025

    @ryankeairns
    ContributorAuthor

    Note to future selves:

    1. close this issue once the new button styles are merged
    2. create an issue in Kibana to remove custom styles on their ToolbarButton component (assign to SharedUX)
  21. mgadewoll commented on Jul 22, 2025

    @mgadewoll
    Contributor

    @ryankeairns Can this issue be closed? Visual Refresh button styles were merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions