Skip to content

ActionIcon with a label or some text? #1420

Answered by zhulien-ivanov
squarism asked this question in Q&A
Discussion options

You must be logged in to vote

If you want an icon with a label, why don't you use Button or UnstyledButton? Or you need only the icon to be interactable?
In any case, you can use Group, like you did. Also, ActionIcon is polymorphic, so you can change the root element. See the example in this section - https://mantine.dev/core/action-icon/#usage-with-react-router-and-other-libraries.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rtivital
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