lucide-icons / lucide

Beautiful & consistent icon toolkit made by the community. Open-source project and a fork of Feather Icons.
https://lucide.dev
ISC License
11.43k stars 524 forks source link

feat(icons): added square puzzle piece icon #2588

Closed EthanHazel closed 2 weeks ago

EthanHazel commented 2 weeks ago

What is the purpose of this pull request?

Description

A new alternate puzzle icon that is more square.

Icon use case

It's an alternate design for the puzzle icon but uses the design that most other interfaces use and people are more aware of. It also fits the sizing of other icons better so it should have better consistency among applications and other use cases. It can be used mainly for things such as plugins and extensions as it's the primary icon for those types of features, but it could also work well for things like a board games tab or general games activity.

Icon Design Checklist

Concept

Author, credits & license

Naming

Design

Before Submitting

github-actions[bot] commented 2 weeks ago

Added or changed icons

icons/puzzle-square.svg
Preview cohesion icons/square.svg
icons/puzzle-square.svg
icons/unfold-horizontal.svg
Preview stroke widths icons/puzzle-square.svg
icons/puzzle-square.svg
icons/puzzle-square.svg
DPI Preview (24px) icons/puzzle-square.svg
Icon X-rays icons/puzzle-square.svg
Icon Diffs icons/puzzle-square.svg
Icons as code Works for: `lucide-react`, `lucide-react-native`, `lucide-preact`, `lucide-vue-next` ```ts const PuzzleSquareIcon = createLucideIcon('PuzzleSquare', [ ["path",{"d":"M18.65 9.82V7.35a2 2 0 0 0-2-2h-2.47a1 1 0 0 0-6.7 0H5.01a2 2 0 0 0-2 2v3.9a2.17 2.17 0 1 1 0 3.85V19a2 2 0 0 0 2 2h3.9a2.17 2.17 0 1 1 3.85 0h3.9a2 2 0 0 0 2-2v-2.47a1 1 0 0 0 0-6.7z"}] ]) ```
EthanHazel commented 2 weeks ago

I wasn't sure if I needed to include the og puzzle icon with the "I've based them on the following Lucide icons" category but I thought I should just in case, let me know if I should remove it or not.

jguddas commented 2 weeks ago

I feel like this variant is less legible. I also don't see the use case being different and would not create two icons that have the same use case.

EthanHazel commented 2 weeks ago

That's fair honestly, I'll close the pr for this.