question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[icon library] - add react icon names and download functionality to icon cards

See original GitHub issue

Summary

Icon library page currently only shows the regular name for icons, but we don’t have anywhere that lists icons according to their icons-react name. i.e. Misuse24 CheckmarkFilled24, etc.

Desired outcome

overflow menu allowing “export of icons”

  • raw svg
  • download svg
  • react component

cc: @joshblack

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:78 (78 by maintainers)

github_iconTop GitHub Comments

4reactions
jeanservaascommented, Feb 13, 2020

Plot twist number two…

  • Let’s move those guys to the bottom — same dimensions and hover functionality; even with wrapping names at 1056, the top of the card is going to get napalmed with activity on hover

  • also, Anna’s spec doesn’t show it, but we’d need to move the names up to have only an 8px separation from the top, making the margin uneven

  • the original IDL had them at the bottom on hover I believe and CPC is never wrong

  • yes, after 48 hours of jibber jabber this is basically just Chris’s spec on hover

image
3reactions
designertylercommented, Jan 23, 2020

I tried to summarize the requirements mentioned here so we can generate design specs. Let me know if we’re missing any or if some should be a phase 1 or phase 2, 3, 4, etc.

Requirement 1: Add react icon names to icon card As a product developer want to see the different sized React icon names so I can copy and paste the correct size into my project.

Requirement 1.2: Add angular icon names to icon card (?) As a product developer want to see the different sized Angular icon names so I can copy and paste the correct size into my project.

Requirement 2: Enable direct download for pictograms As a product designer I want to download the SVG asset of a specific pictogram so I can use it in my project.

Requirement 2.2: Enable bulk download for pictograms As a product designer I want to select multiple Pictogram SVG’s and download all at once so I don’t have to repeat the same action to get all the pictograms for my project.

Requirement 3: Inform the preferred method to get icon assets As a product designer I can learn how to get the icon asset in Sketch without directly downloading the SVG.

Requirement 4: Enable direct download for icons As a product designer I want to download the SVG asset of a specific icon so I can use it in my project.

Requirement 4.2: Enable bulk download for icons As a product designer I want to select multiple icon SVG’s and download all at once so I don’t have to repeat the same action to get all the pictograms for my project.

Requirement 5: Icon assets for non-Sketch users As a product designer I want to get the SVG assets for an icon so that I may use the icon in my XD or Axure project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

React Icons
Include popular icons in your React projects easily with react-icons, which utilizes ES6 imports that allows you to include only the icons that...
Read more >
How to use react-icons to install Font Awesome in a React app
In App. · Go back to the React icons page and choose any icon from the Font Awesome icons · Click on the...
Read more >
Icons in React - Syncfusion
The Syncfusion React library provides the set of base64 formatted font icons, that can be utilized in the Syncfusion React application.
Read more >
React Icons with Bootstrap - examples & tutorial
You can place icons just about anywhere using MDBIcon and an icon name in the icon property. Icons are designed to be used...
Read more >
Add Icons with React | Font Awesome Docs
There are a few ways to add icons when using React. The easiest way is to use Dynamic Icon Importing which automatically imports...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found