-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
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
[docs] Implement a search + individual pages for the icons #14984
Comments
Please check that you node_modules folder includes @material/icons, because it works pretty fine. |
We would need a reproduction, as demonstrated above it works on codesandbox. |
I was looking into the potential for improving the icons documentation page. We have two important leverages that we should use 🔥:
|
I rather enjoyed https://material.io/tools/icons/ to be honest. What features do you think are lacking currently?
I don't think that generates useful traffic. Somebody searching for an icon doesn't need a React component library for that. |
@eps1lon This way, we can provide the correct import code. We have started in this direction with #12720. I have the following user experience in mind https://fontawesome.com/icons/helicopter?style=solid. We can contextualize the icon in different contexts, we can provide the raw source, the import path, the different variants.
=> 60 views a day. That's one of the top StackOverflow problem encountered by our users.
The goal is to save people time. We can look at the search volume on Google. It's still early enough so we can correctly position ourselves:
I have removed the important flag as you are raising some concern about the value it can bring. |
update: it works i had material-ui in my modules, but i still needed to do: npm install material-ui/icons. |
@ousmaneMetso Bundle size: https://bundlephobia.com/result?p=@material-ui/icons@3.0.2. |
Aliases. It's hard to find certain icons without knowing their exact name. But it would be a huge job to improve that, and well outside the remit of Material-UI. |
Tried importing this from material-ui and its not working.
It says: Module not found: Can't resolve '@material-ui/icons/Delete'
The text was updated successfully, but these errors were encountered: