Skip to content

Menu Component #3718

Answered by serifluous
wlumtwilio asked this question in Q&A
Jan 12, 2024 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

@wlumtwilio Thanks for slacking me the Figma file! A few things here:

  1. Make sure you're using Popover or the Non-modal Dialog Primitive for the dropdown part of this element. Menus should't contain form fields inside them. The Figma file you shared also shows a Popover being used.

  2. You're on the right track here with MenuBadge. You'll have to create something custom using Box and Text, but you can use the MenuBadge source code as a starting point. If you do that, you can get pretty close to the original design, just with a slightly different placement of the dropdown.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

@wlumtwilio
Comment options

@serifluous
Comment options

@serifluous
Comment options

Answer selected by TheSisb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants