Skip to content

Using the Menu component with Avatar #354

Answered by rtivital
itaikeren asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @itaikeren please see Menu documentation to learn how to replace menu control – https://mantine.dev/core/menu/#custom-control
I would recommend wrapping Avatar with UnstyledButton component and setting it as control prop for better accesibility.

Replies: 1 comment 1 reply

Comment options

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

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