Display a set of two-state buttons that can be toggled on or off.

Examples of Toggle Group variants
Default
Multi select
With icons
With toggle group disabled
With toggle item disabled

For creating these system design components, I was inspired by shadcn/ui. Please check them out.
P.S. - You can also see the code samples attached with the examples. For a detailed view, you can see the code on github.