-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New component: Button Group #682
Comments
Hi @FrankieBortot, can you show some inspirational images? the proposal seems like something like this |
Sure! Here are some examples from other Design Systems: It's mainly used for layout, there are no changes affecting the base component style |
Hi, just to give more insight into this issue, we discussed possible strategies to graphically organize groups of components in a consistent way. The chosen strategy should apply to the internal development of components inside the design system as well as external usage. On the internal side, design-system components like Modal, Drawer or Card can render groups of buttons. Right now, these components adopt different approaches to do so (e.g. they can demand an array of actions, which are then turned into buttons, or they can ask for a generic extra property to be filled with react nodes, among which there can be buttons). The idea is that they all start using the same interface for rendering actions (to be defined!), and under the hood the ButtonGroup should be used. On the external side, design-system users (developers using DS components for their own project) might find it useful to have a ButtonGroup component at hand, for example if they are working on custom containers that should render groups of buttons. Providing them with a ready-to-use ButtonGroup component allows us to guarantee better graphical integration between their custom implementations and our design-system components.
Once this solution is discussed and approved, when we implement the ButtonGroup component we must also update the aforementioned component interfaces (Modal, Card, Drawer) to use it internally. |
I suggest the creation of the new component "Button Group", which will act as a container for multiple buttons in a predefined layout.
This component allows us to ensure consistency of UI, letting us define a specific layout when multiple buttons are put together.
The text was updated successfully, but these errors were encountered: