Skip to content

What's the advantage of using ToolbarPrimitive.ToggleGroup over ToggleGroup? #1277

Answered by jjenzz
funwithtriangles asked this question in Help
Discussion options

You must be logged in to vote

each radix component exports its own parts because the component might attach additional functionality or accessibility for that specific use-case. just because they look the same doesn't necessarily mean the a11y/functionality is the same unfortunately.

With Toolbar.ToggleGroup:

CleanShot.2022-03-28.at.16.53.54.mp4

With ToggleGroup:

CleanShot.2022-03-28.at.16.56.47.mp4

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@funwithtriangles
Comment options

@benoitgrelard
Comment options

@funwithtriangles
Comment options

@benoitgrelard
Comment options

@funwithtriangles
Comment options

Answer selected by funwithtriangles
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants