feat(icons): added corner-join-miter, corner-join-round and corner-join-bevel icons#4171
feat(icons): added corner-join-miter, corner-join-round and corner-join-bevel icons#4171rrod497 wants to merge 1 commit intolucide-icons:mainfrom
corner-join-miter, corner-join-round and corner-join-bevel icons#4171Conversation
| "contributors": [ | ||
| "rrod497" | ||
| ], | ||
| "tags": [ |
There was a problem hiding this comment.
Suggestions for the corner-join-bevel icon.
Try asking it your self if you want more suggestions. Open ChatGPT
Here are the suggestions:
| "tags": [ | |
| "tags": [ | |
| "corner", | |
| "join", | |
| "bevel", | |
| "sharp", | |
| "cut", | |
| "border", |
| "contributors": [ | ||
| "rrod497" | ||
| ], | ||
| "tags": [ |
There was a problem hiding this comment.
Suggestions for the corner-join-miter icon.
Try asking it your self if you want more suggestions. Open ChatGPT
Here are the suggestions:
| "tags": [ | |
| "tags": [ | |
| "corner", | |
| "join", | |
| "miter", | |
| "connect", | |
| "border", | |
| "transition", | |
| "cut", | |
| "junction", |
| "contributors": [ | ||
| "rrod497" | ||
| ], | ||
| "tags": [ |
There was a problem hiding this comment.
Suggestions for the corner-join-round icon.
Try asking it your self if you want more suggestions. Open ChatGPT
Here are the suggestions:
| "tags": [ | |
| "tags": [ | |
| "corner", | |
| "join", | |
| "round", | |
| "connection", | |
| "curve", | |
| "transition", | |
| "connector", |
| stroke-linecap="round" | ||
| stroke-linejoin="round" | ||
| > | ||
| <path d="M12 3a9 9 0 0 1 9 9v7a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-7a1 1 0 0 0-1-1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z" /> |
There was a problem hiding this comment.
| <path d="M12 3a9 9 0 0 1 9 9v7a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-7a1 1 0 0 0-1-1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z" /> | |
| <path d="M12 3a9 9 0 0 1 9 9v7a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-6a2 2 0 0 0-2-2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z" /> |
There was a problem hiding this comment.
If we increase the inner radius, I think we should also increase the outer one to keep a constant width:
| <path d="M12 3a9 9 0 0 1 9 9v7a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-7a1 1 0 0 0-1-1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z" /> | |
| <path d="M21 19a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-6a2 2 0 0 0-2-2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h6a10 10 0 0 1 10 10z" /> |
There was a problem hiding this comment.
The only thing is that, the more we change the shape of the inner side of the corner, the more it departs from the "line-joining modes" concept, and approaches a generic "corner shapes". And, for that case, I think the alternative designs I mentioned in the PR are more fit for.
There was a problem hiding this comment.
If we increase the inner radius, I think we should also increase the outer one to keep a constant width:
I intentionally kept the radius slightly offset, felt more visually balanced.
| stroke-linecap="round" | ||
| stroke-linejoin="round" | ||
| > | ||
| <path d="M12 3a2 2 0 0 1 1.414.586l7 7A2 2 0 0 1 21 12v7a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-7a1 1 0 0 0-1-1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z" /> |
There was a problem hiding this comment.
| <path d="M12 3a2 2 0 0 1 1.414.586l7 7A2 2 0 0 1 21 12v7a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-7a1 1 0 0 0-1-1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z" /> | |
| <path d="M5 11a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7a2 2 0 0 1 1.414.586l7 7A2 2 0 0 1 21 12v7a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-4.172a2 2 0 0 0-.586-1.414l-1.828-1.828A2 2 0 0 0 9.172 11z" /> |
Added or changed iconsIcons as codeWorks for: const CornerJoinBevelIcon = createLucideIcon('CornerJoinBevel', [
["path",{"d":"M12 3a2 2 0 0 1 1.414.586l7 7A2 2 0 0 1 21 12v7a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-7a1 1 0 0 0-1-1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"}]
])
const CornerJoinMiterIcon = createLucideIcon('CornerJoinMiter', [
["path",{"d":"M19 3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-7a1 1 0 0 0-1-1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"}]
])
const CornerJoinRoundIcon = createLucideIcon('CornerJoinRound', [
["path",{"d":"M12 3a9 9 0 0 1 9 9v7a2 2 0 0 1-2 2h-4a2 2 0 0 1-2-2v-7a1 1 0 0 0-1-1H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z"}]
]) |
Description
Added new icons:
corner-join-miter,corner-join-roundandcorner-join-bevel.Icon use case
I am currently working on a vector graphics app and needed those to indicate the different options of
stroke-linejoin.Plenty of drawing/design tools (including figma, affinity, corel...) have a set of icons for this use case, so decided to contribute with these designs.
Alternative icon designs
Maybe an alternative could be making it more abstract, by not showing a stroke with a width, but instead focus on the shape of the corner only.
Details
Open lucide studio
Open lucide studio
Open lucide studio
Icon Design Checklist
Concept
Author, credits & license
Naming
icons/[iconName].json.Design
Before Submitting