goetzrobin / spartan

Cutting-edge tools powering Angular full-stack development.
https://spartan.ng
MIT License
1.1k stars 121 forks source link

Add the ability to group buttons #223

Open ravtakhar opened 3 months ago

ravtakhar commented 3 months ago

Which scope/s are relevant/related to the feature request?

button

Information

I would like to be able to group buttons together and this feature does exist in other frameworks such as Bootstrap: https://getbootstrap.com/docs/5.3/components/button-group/#basic-example

Describe any alternatives/workarounds you're currently using

I am currently not using an alternative

I would be willing to submit a PR to fix this issue

goetzrobin commented 3 months ago

We actually have something similar. It's called a multi-toggle-group. You can check it out here: https://github.com/goetzrobin/spartan/blob/58c1b34328a5f2528890768d3d30a7d222ea7b29/libs/ui/toggle/toggle.stories.ts#L127

Is this what you're looking for?