Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Button with icon + text #205

Closed
0x80 opened this issue Jan 7, 2015 · 5 comments
Closed

Button with icon + text #205

0x80 opened this issue Jan 7, 2015 · 5 comments
Labels
component: button This is the name of the generic UI component, not the React module! package: icons Specific to @mui/icons

Comments

@0x80
Copy link

0x80 commented Jan 7, 2015

I'd like to create a button combining some text + an icon. I can't seem to figure it out with material-ui :/

@hai-cea
Copy link
Member

hai-cea commented Jan 7, 2015

Thanks @0x80 - Someone else actually requested this as well in #189 .

I think we may be able to add this in the next release or so.

@hai-cea hai-cea closed this as completed Jan 7, 2015
@0x80
Copy link
Author

0x80 commented Jan 7, 2015

Thanks @hai-cea, I'm looking forward to it :)

@killjoy2013
Copy link

Hi @hai-cea,
Any progress on IconMenu with text?
Thanks

@jgarcia77
Copy link

I'm trying to add an icon button as a tooltip next to a label. I can get the icon to appear with the tooltop text but can't get it next to the label

For example,

Label Text (icon button)

@rpreilley
Copy link

rpreilley commented Jul 28, 2017

Not sure if people are still looking for an answer for this, but I accomplished this with a FlatButton in a project today.

<FlatButton icon={<Menu color={white} />} label="More"></FlatButton>

You would still need to apply styles if you want the text-transform to be different than uppercase, which it is by default with Material UI FlatButtons.

This gave me the Menu icon with "More" next to it. Hope it helps!

@zannager zannager added component: button This is the name of the generic UI component, not the React module! package: icons Specific to @mui/icons labels Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: button This is the name of the generic UI component, not the React module! package: icons Specific to @mui/icons
Projects
None yet
Development

No branches or pull requests

6 participants