ni / nimble

The NI Nimble Design System
https://nimble.ni.dev
MIT License
32 stars 8 forks source link

nimble-split-button Component #1523

Open jattasNI opened 1 year ago

jattasNI commented 1 year ago

😯 Problem to Solve

A button with a menu button immediately next to it is a common pattern which Nimble doesn't currently support image

This came up in the SLE Feeds app. We can propose simple workarounds for now (e.g. a button and a menu button separated by some padding)

It has a similar name to #298 but I believe they are different.

💁 Proposed Solution

📋 Tasks

sudharsan-ni commented 11 months ago

@jattasNI I think our squad might need split button for one of our upcoming workflows. I saw that Feeds workflow has a need for this component as well. Are you planning to prioritize this component? If yes, by when will this component be available?

P.S. I recently took up PO responsibilities for LIMS. So, I am a bit new to this process. How do POs provide inputs to Design System squad on requirements?

jattasNI commented 11 months ago

@sudharsan-ni thanks for commenting! That's one good way to express inputs on priorities and requirements. For bigger components or more in depth discussions you can also come to the UI working group meeting or meet with me and/or @fredvisser directly.

We haven't nailed down our 2024 Cycle 1 plan yet but it's not likely this will fit. Your options would include:

  1. using the workaround described in the issue description (separate button and menu button)
  2. getting your team to contribute the component. If you want to go that direction we should meet with the devs and manager to talk about the steps involved.