Coder Social home page Coder Social logo

lucide-icons / lucide Goto Github PK

View Code? Open in Web Editor NEW
8.6K 29.0 356.0 11.24 MB

Beautiful & consistent icon toolkit made by the community. Open-source project and a fork of Feather Icons.

Home Page: https://lucide.dev

License: ISC License

JavaScript 56.42% TypeScript 41.43% HTML 0.07% SCSS 1.60% Svelte 0.43% Shell 0.04%
svgs icons feather-icons figma ui-design ui-components react vue svg svg-icons

lucide's People

Contributors

adriangonz97 avatar aelfric avatar ahtohbi4 avatar alensiljak avatar andreto avatar bowero avatar chessurisme avatar connium avatar csandman avatar danielbayley avatar dependabot[bot] avatar ekowbaah avatar ericfennis avatar grimlink avatar gurtt avatar it-is-not avatar jantrichter avatar jguddas avatar karsa-mistmere avatar locness3 avatar lscheibel avatar marchellodev avatar mittalyashu avatar nix6839 avatar peterlitszo avatar prateekmedia avatar smah1 avatar sukomal07 avatar wojtekmaj avatar zaaakher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lucide's Issues

Skull

Icon Request

  • Icon name: skull
  • Use case: Headlines
  • Suggestion:
    Hintergrund@3x

Create documentation section in the site.

I'm almost done with creating the react package, and for that I need to write some documentation as well.
With that, maybe it is nice to centralize the documentation.

I got a bit inspired by the ChakraUI website, I think they have an great, simple and nice looking documentation site. I noticed they use their own UI + next.js, the same as we do. And they use enhanced markdown to generate documentation pages. (.mdx files), see their [next.config.js](https://github.com/chakra-ui/chakra-ui/blob/develop/website/next.config.js).

So maybe we can use that as well.

Minor styling issues on the webpage.

1. Search input border-radius on dark mode.

Issue
The input field has a border-radius but the chakra-input__group css-r27y85 element is poking out underneath. On light mode this is not an issue since the color of the element is the same as the body.
image

Solution
Give the chakra-input__group css-r27y85 element the same border-radius as the input.
or
Give the chakra-input__group css-r27y85 element the same background-color as the body. (Maybe this messes up the color of the input.)

2. Color input box.

Issue
The color input elements have a border-radius on the bottom with no padding to the box below.
image

Solution
Maybe put no border-radius on the bottom corners. I also think that the color field could have a border around it. Looks a lot better on the bright side.
image

Alternatively, some margin between the input and color field.
image

Refactor Menu Icon

When was designing the align icons I came across the menu icon.
I like the menu icon, but I think the current one look a bit too rectangular.
So made the length of the line a bit shorter, so it is more squared.
Also the menu icon is often displayed without text and used in an squared element.

image

I'm curious what you think of this change.

[website] modification status indicator for icons

since this is a fork of feather icons, would be good to have some sort of indication for icon status.

ie. whether an icon is —
(a) unchanged from feather,
(b) modified from feather, or
(c) new icon not shipped in feather.

This could either be a standalone docs page on GH or if integrated into https://lucide.netlify.app it could be in the form of a dot or triangle

as there's currently no changelog (that I can see), the only way to find out if icons have changed or new from feather is to compare them or go through the commit history

pros for current feather users —
able to do a quick glance on what the new sets are; easily allow designers/devs to make the judgement call on whether or not to switch. and if so, whether icons have been modified to avoid surprises

perhaps would look something like this — 
Frame 1
Frame 2

thoughts?

Remove brand icons?

Since we don't add any brand icons, I think we should remove the current ones. What do you think?

Nautical dusk, astronomical dusk and dawn.

Super specific request, you may close this. I figure it could be possible to do a boat and telescope (tripod with a tube) in svg.

Nautical dusk: Sunset with a boat in the background.
Astronomical dusk: Sunset with a telescope in the background

Nautical dawn: Sunrise with a boat in the background.
Astronomical dawn: Sunrise with a telescope in the background.

playing card suit symbols

I put together a solitaire game for android. First I tried using the unicode symbols, but was surprised to learn that they commonly receive a fixed coloring when rendered as text (i.e. spades and clubs are black and diamonds and hearts rendered red, despite explicit application text styles). This was true in my case, due to whatever rendering engine treats Flutter Text elements.

So I looked for some SVG's for it, and found some that worked well enough. I find after playing the game a bit though, at the scale of my phone's display, the spades icon (♠) and clubs icon (♣) are not differentiated well enough, causing some eye strain.

I did not see any great alternatives in other icon sets. I can try to submit a PR if it's a welcome addition here.

Icon Request

  • Icon name: playing card suits (hearts (filled), spades, clubs, diamonds)
  • Use case: implementing or creating an icon for a card game
  • Screenshots of similar icons:

in the app, without enough differentiability:

these clubs are visually different from the spades, the lobes (?) of the clubs are nearly completed circles:
220px-4coloraces1

standard cards showing similar style, good difference between clubs and spades
bicycle_cards

this is an example of not-so-great difference spades/clubs, unfortunately prevalent among free icon svgs
10236803_0

here's a vintage style clubs which seems to completely differentiate from spades, but it's less iconic, my preference would be similar to the standard cards above
vintage-clubs

Locate icon

Icon Request

  • Icon name: locate
  • Use case: on map type applications, find the location of the user
  • Screenshots of similar icons: I actually already made one, and want to submit it but I'd like others' opinions on which one is best. Personally I like the bottom right one the best, it sticks to the "simpler is better" theme that feather has going on and follows all the rules.

image

I can submit a PR if you agree that one is the best option!

Icon request: `laptop`

Icon Request

  • Icon name: laptop
  • Use case: for laptop computers
  • Screenshots of similar icons:
    image

I created the icon on my own, I can send the SVG file

Icon request: start/stop sharing screen

Hi there!

First of all, thank you a lot for the initiative to, somehow, moving forward the Feather project. I really hope the effort and result can convince @colebemis about his concerns and see both project meet in the near future.

That said, my request is an icon for the "Screen sharing" action in a video conferencing software. Back in April, I was trying to do it but my lack of design / SVG / Figma knowledge didn't allow me to make something presentable. Even after spending quite some hours! Quite frustrating :)

However, just in case it could be helpful, I can tell you that I don't like too much the one included in the Material Design icons. Maybe, something similar to https://thenounproject.com/search/?q=screen%20share&i=2012801 or https://thenounproject.com/tomekpst/collection/basic-icons/?i=2012799 but based the Feather/monitor could look nice.

On the other hand, using the Feather/wifi or Feather/rss icon as part of it instead of the arrow could be confusing because it seems to be more appropriate for an "screen-casting" action, isn't it?

What do you think? Could it be possible to have feather-style icons for start / stop sharing the screen?

Thanks in advance.

Icon Request

  • Icon name: start-screen-sharing, stop-screen-sharing

  • Use case: for a video conferencing software

  • Screenshots of similar icons:

    Screenshot_2020-06-26 Noun Project Screenshot_2020-06-26 Noun Project(1)

TTF for Featherity

Hi!

Is there any chance that Featherity can be compiled to TTF?

Thanks 🤗

Site : Allow changing the color of downloaded PNGs

It's a bit unconvenient to download a PNG icon without being able to choose its color, you have to manually recolor the picture afterwards.
Please add a color picker, to change the color of the downloadable PNGs.

Decentralize the tags

We currently have a tags.json file in the root, containing tags for each icons.
This to improve searching on the site.

The problem with adding new icons is that we often forget to update this file.
So I thought maybe we can define it also in the svg file, when opening new PRs we can submit suggestions on the svgIcon.

<svg
  width="24"
  height="24"
  viewBox="0 0 24 24"
  xmlns="http://www.w3.org/2000/svg"
  fill="none"
  stroke="currentColor"
  stroke-width="2"
  stroke-linecap="round"
  stroke-linejoin="round"
  tags="read, dictionary, booklet, magazine, library"
>
  ...
</svg>

Update CONTRIBUTING file with rule for one PR for each icon or icon series.

Regarding to the thread in #57 @llaenowyd said this:

I think after re-reading the submission guidelines , maybe there should be one PR for each icon.

I certain way I think this is a good idea to write this down in CONTRIBUTING file.
For me it's a little-bit of an unwritten rule that you need to submit icons or "icon series" in separate pull-requests for several reasons:

  • It's easier to review
  • Keeps the discussions and reviews about the icon(s) scoped and in one thread.
  • All points above contribute to less time to merge PR's

I'm curious what you think.

Question

Can you please tell me where to put new icons to be visible on the site when it's deployed?

Files/Documents

Similar: #579

Icon Request

  • Icon name:
    files
  • Use case:
    For multiple files/documents

Icon request: intermediate battery levels

Icon Request

  • Icon name: battery-25, battery-50, battery-75, battery-full and -charging versions.
  • Use case: There are currently 2 battery icons: one when plugged in ("battery-charging") and the regular "battery". It would be nice to be able to indicate the charge level as well. 0 (available currently), 25%, 50%, 75% and full should be enough.
  • Screenshots of similar icons:

Alerts blocks view on the site.

Issue
When you copy the SVG code there is no way to close the "Copied!" alerts and they just keep stacking up and blocks the view.

Solution
It would be nice if they disappeared after a while and/or had a close button.

Screenshot
image

Icon Requests from Feather

Icon Requests from Feather

To do

Full list of issues

Legend: ✅ Added | 🚧 Under construction | ❓ Unsure | 🟥 Rejected

Done Id Title Engagement Feather PR Lucide PR
#17 Wallet 4 #658 #193
#21 newspaper 0 #661
#27 gender 15 #46
#28 media-controls/repeat-1 6 #655
#32 Food Icon 6 #680
#53 factory 0 #558
#56 forest 6 #714
#61 Campsite 4 #651 #331
#68 bed 9 #662 #689
#69 sofa 0 #689
#70 bath 0 #635
#86 sum 17 #660
#98 podcast 0 #132
#100 money 8 #670
🟥 #113 Filled thermometer 0
#149 cake 2 #601
🟥 #156 Filled circle 2
#157 RFI: Trophy 10
#182 Currency 41 #404, #670
#185 Hobby Icons 1
#198 User in Circle 4 #692 #1116
#200 Sort/Filter together 0
🟥 #210 Fax 0 #602
#220 Sword/swords 0 #823 #646
#221 Camera Lens 5 #634
#234 chevrons-up-down 6 #238
#264 Rx/Pill 0 #605
#266 car 1 #789
#280 Vibration / Haptic Icon 0 #297, #641
#281 Skull 0 #298
#291 Icon request : history 10 #188
#316 Megaphone 0 #214
#321 PDF File 8
#322 XLS File 1
#337 Ellipsis Circle 0
#339 Zip file 5 #606
#347 Ticket icon 2 #220
#351 Keyboard 3 #522
#353 Open Folder 5 #381
#355 New header icons 0
#367 Thumbtack 0 #438
#380 reply 1 #341
#381 reply all 0 #341
#384 forward 0 #341
#386 brush icon 0 #108
#399 Code with Forward Slash 11 #671 #280
#401 Bank 11 #347
#407 Pin 0 #438
#413 icon request - scaling 8 #717
#418 Barchart Grouped (related with Barchart Stacked) 0
#419 Barchart Stacked (related with Barchart Grouped) 0
#421 Layout Mode 0
#422 Info Copy 2
#426 Flip / Mirror 0 #622
#427 Text input 0 #235
#437 Webcam 8 #687 #192
🟥 #438 Meeting/ collaboration 2
🚧 #444 Hand Icons 0 #608
#452 half-star 3 #642 #180
#459 Newspaper 2 #661
#463 bidirectional and non-bidirectional synching 1
#467 Transportation Icons 12 #789 #152
#468 cat 0 #498
🚧 #471 Walking 0 #609
#472 bird 0 #610
#473 Puzzle/Module Icon 1 #633
#486 business 0 #608
#489 Crown 11 #664 #151
#505 Quote 6 #653 #389
#508 Cursor 9 #897 #454
#509 AI 0 #612
#510 Superscript 0 #471
#511 Subscript 0 #459
#514 Mask 3 #631
#529 file-check, file-x, folder-check, folder-x 16 #669
🚧 #550 Question Mark v2 7
#552 Utensils Icon 12 #629 #261
🚧 #557 HD icon 21 #659
#559 Swipe/Drag icon 6 #641
#586 Receipt 2 #615
🟥 #594 Digits 19 #649
#598 QR Code 32 #141
#601 Hand Waving 0
🟥 #609 Save As 13 #700 #645
#631 "boat" 1 #665
#633 disability 10 #199
#683 add medal 8
#685 double check 4
#686 usb 9 #703 #617
🟥 #695 spinnable loading 13
🟥 #697 fence 6 #618
⬜️ #705 digital watch 4
#753 timer 1 #735 #148
#754 move-horizontal/-vertical 1 #770
🟥 #782 debug 2
#793 glasses / spectacles 5 #149
🟥 #794 contact lenses 1
#811 car 11 #152
#812 dice 5 #918 #655
#831 / proposal helping hand 0 #836 #614
#841 location disabled / error 2
#853 menu open 7
#855 all text editor s 1
#865 dollar-sign-circle 1 #1118
#879 fuel icon 3 #656
🚧 #885 categorical/text data (abc) 2
#916 queue 0
#949 square academic cap / university / school 8
#954 audience/group 4
#961 current location 4
#965 soft drink \ cold drink 0 #674
#966 mountain 0 #284
#968 sprout 0 #157
#990 plane 0 #150
#991 holiday/vacation/palm tree 0 #492
#1002 Raise Hand and Lower Hand -
#1006 Restaurant Icon -
#1007 Qite/Quote Icon -
⬜️ #1019 Icon request: Story -
#1020 Icon Request: shopping-cart-full -
#1024 Icon Request: Infinity -
#1025 Icon Request: Boat on Water -
#1026 Icon Request: Cell Tower -
#1027 Icon Request: Car -
#1030 Numbered List -
#1053 Icon Request: clouds-fog -
#1062 Icon Request: Boost -
#1064 Icon request: Leaf -
#1069 Bug icon -
#1078 Icon request: Exit -
#1087 Icon Request: Chess Piece -
#1099 Rupee Sign (₹) -
#1105 Earth icon request -
#1107 Icon request: eraser -
#1109 Icon request: bounding-box -
#1113 arrow-up-down -
⬜️ #1127 Icon request: Motorbike -
#1128 Drag handle icon -
⬜️ #1130 Icon Request: Refund -
#1136 Memory/Ram Icon -
#1141 Icon request: Ruler -
#1142 Icon request: Eraser -
🟥 #1144 Arepa Icon -
#1149 Icon Request: JSON / cidy brackets -
#1152 Icon request: Nodes connection -
#1153 Icon request: Bomb -
#1164 Icon Request: Follow System UI Dark Mode -
#1165 Icon Request: undo -
⬜️ #1177 Ambulance icon -
⬜️ #1178 Hospital -
#1179 Roller-coaster -
🚧 #1180 Briefcase-medical -
⬜️ #1181 Clipboard-medical -
⬜️ #1182 Home-medical -
#1183 Star-of-life -
#1184 Syringe -
#1185 Tablets -
#1186 Heart-pulse -
⬜️ #1187 Bandage -
#1188 Icon Request: palette -
#1201 Icon Request: Weight -
#1203 Icon request: Megaphone -
#1217 Icon request: Add Bookmark & Remove Bookmark -
#1218 Icon request: Eclipse or half brightness -
#1220 Icon request: scan icon for QR Code scan -

Updated 3th of Nov 2023

site: add tags for the icon

Add tags related to the icons, like on feathericons.com. This allows for easier search and discovery of the icons.

Site : Don't reset query when viewing an icon

Prerequisites

  • Operating system: Ubuntu 20.04.1 LTS
  • Bits: 64

Step to reproduce

  1. Go to the Lucide website
  2. Enter a search query
  3. Select an icon

Actual behavior

The searched query clears when selecting the icon.

Icon Request: `cross`

Icon Request

  • Icon name: cross
  • Use case: health or pharmacies
  • Screenshots of done icon:

image

Could submit this as a PR

Rain in wind

To use for percipation probability

Three droplets that are going diagonally, from bottom left to top right. Will look like rain that is falling in the wind.

The rain icon is not very beautiful, and the droplets should go diagonally.

Infinity

Icon Request

  • Icon name: infinity
  • Use case: for headlines
  • Suggestion:
    105054324-26e14080-5a72-11eb-83c7-9e61d81cc14c

Different weather icons

Sorry for posting so many issues, thank you for a great fork!! Exactly what I've been looking for. I have some more suggestions for weather icons:

Hot weather: A thermometer with a sun
Windy weather: Three curvy strokes that looks like someone is blowing.
Heavy showers: Cloud with rain that goes diagonally,
Cold temperature: Thermometer with a snowflake.
Clear night: Moon but with two stars, one small and one a bit larger.
Partly cloudy: Cloud with sun in the back.
Thunderstorm: Cloud with a lightning.

Suggestion:
Nicer looking cloud and snowflake.
The original clouds doesn't look very nice, it's hard to see that they are clouds. Do them a bit like this instead, and also the snowflake.

cloud
snow

Problem with system dark mode

Prerequisites

  • Version: The website actual prod
  • Are you running from source/master: Yes
  • Are you using a released build: Ofc lol
  • Operating system: Windows
  • Bits: 64

Step to reproduce

  1. Use system dark mode
  2. Erase dark mode's local storage
  3. Reload page

Actual behavior

The search bar, the "download all" button and the hovered cards are illegible.

Resources

image

Uv Index

Sun with the word UV written inside for use for UV index in weather map

error: duplicate-react

I use yarn workspaces, and as I moved lucide-react to the root package.json, I got an error: duplicate-react. At the moment I fixed the problem via yarn resolutions, to make sure to install only one react version. I think, react a well as prop-types should be peer-deps.

[email protected]

TTF is not compiling correctly, paths are mixed and a mess.

According to thread in #68 the output of the icon-font is not matching the quality of the svgs.
image

The Problems:

  • overlapping paths are inverting each other.
  • paths not having the rounded joins
  • paths not having the rounded caps

Step to reproduce

Download artifact from this link.
Open the html file

Actual behavior

Icons need to be the same as the svgs

Possible solution

According to the fontcustom documentation we are not matching the SVG Guidelines.
image

Possible solution is converting the svgs stroke paths to outline paths before we build a font file.
I found this library outline-stroke transform paths, maybe we can use this for the solution.

Community Building

Hey I thought maybe we can think about how we can build the community.
I wrote down some ideas, maybe you can help and share your ideas as wel.
Let me know what you think!

For the community

  • Slack or discord for faster feedback / sparring about icons and building the repo/community. Link here

For Contributing

  • Create a design guidelines markdown file, from #171
  • Update CONTRIBUTING markdown file
  • Nice guide how to design icons in figma or other design programs
  • Nice guide to work with the code.
  • Documentation how to use those icons.

Creative Commons (cc) icon request

Icon Request

  • Icon name: Creative Commons
  • Use case: alternate version of copyright and copyleft for cases where the license is specifically a CC license.

Ideally, an icon for each of the possible license types, but at minimum just the cc enclosed in a circle. I will design them myself in the coming week or two if no one else does.

Icon request: file-code

Icon Request

  • Icon name: file-code
  • Use case: source code files
  • Screenshots of similar icons:

Screen Shot 2020-10-05 at 8 59 27 PM

(source: https://fontawesome.com/icons?d=gallery&q=file-code)

Hey there 👋

I'm working on the team in the process of migrating a website from one tech stack to another. In the process, we are migrating from font-awesome to feather icons. I see a lot of file type icons, but would also love one that looks similar to the screenshot above.

I'd PR this myself, but as an engineer and non-designer, I can't say I know the toolset well enough to know where to begin 😅 . Thanks for the help ahead of time!

John Leteys awesome icons

@johnletey Some open/old PRs from your old account in the feather repo have some awesome icons!
I think we can add them to Lucide.

Here is a list of the icons I think are welcome to add to the Lucide repo!

  • Currency icons pr
  • code-2 icon pr
  • file-check, file-times , folder .. pr
  • webcam pr

More PR from John

Droplets

Three droplets, to use for air humidity in weather app.

Update logo

I think it's a good idea to have a different visual identity to the official Feather project.

Here is a potential logo:

logo

It is a combination of the GitHub octicons repository icon (to represent the "community" part of this project) and the feather icon (to stay true to our parent project).

Figma

Building icon

Icon Request

  • Icon name:
    building
  • Use case:
    For organisations

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.