Skip to content

react-dropdown-menu is bigger than other similar packages #1424

Answered by benoitgrelard
iampava asked this question in Help
Discussion options

You must be logged in to vote

Hi @iampava,

Thanks for opening this up.

or is it because of more features out-of-the-box?

You guessed it correctly, that is the reason why it's bigger than these other libraries.
Radix's DropdownMenu offers many more features.

For example, headless-ui lacks:

  • any sort of built-in positioning
  • any collision detection

Both headless-ui and reach-ui lack:

  • submenu support
  • checkbox items support
  • radio items support
  • etc

Here's a basic list of features we support out-of-the-box:

Important to note also, the size reported on our website are coming from the BundlePhobia API (when it works! 😅) so:

  • it might not be super accurate compared to when bundling a real app
  • it doesn't take into account …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@iampava
Comment options

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