From f6358a4161c657a1122cea463ae88dd9ed3a5f95 Mon Sep 17 00:00:00 2001 From: Karsa Date: Tue, 24 Nov 2026 17:11:42 +0100 Subject: [PATCH] feat(docs|site): add icon eligibility guide & simplify PR template (#5258) * feat(docs): add icon eligibility guide & simplify PR template * feat(github): also updated icon request issue template * feat(github): update links in icon request issue template checklist * Apply suggestion from @ericfennis Co-authored-by: Eric Fennis * Update pull request template for icon details and use cases --------- Co-authored-by: Eric Fennis --- .github/ISSUE_TEMPLATE/01_icon_request.yml | 25 +++++--- .github/pull_request_template.md | 72 ++++++++++------------ docs/.vitepress/sidebar/resources.ts | 15 +++-- docs/contribute/icons/eligibility.md | 24 ++++++++ docs/contribute/icons/index.md | 2 + 5 files changed, 86 insertions(+), 52 deletions(-) create mode 100644 docs/contribute/icons/eligibility.md diff --git a/.github/ISSUE_TEMPLATE/01_icon_request.yml b/.github/ISSUE_TEMPLATE/01_icon_request.yml index a7f2daa73..f4189fb67 100644 --- a/.github/ISSUE_TEMPLATE/01_icon_request.yml +++ b/.github/ISSUE_TEMPLATE/01_icon_request.yml @@ -5,12 +5,21 @@ body: - type: markdown attributes: value: | - Before submitting an icon request check if it has already been requested. If there is an open request, please add a 👍. + Before submitting, search [existing icons (including Lab)](https://lucide.dev/icons/?library=lab) and open and closed [icon requests](https://github.com/lucide-icons/lucide/issues?q=is%3Aissue+label%3A%22%F0%9F%99%8C+icon+request%22) and [icon PRs](https://github.com/lucide-icons/lucide/pulls?q=is%3Apr+label%3A%22%F0%9F%8E%A8+icon%22). If there is an open request, please add a 👍 instead. > [!CAUTION] - > New brand logos are **not** allowed, see our official statement: https://github.com/lucide-icons/lucide/blob/main/BRAND_LOGOS_STATEMENT.md. + > Please review our [icon eligibility guidelines](https://lucide.dev/contribute/icons/eligibility). Lucide does not accept: > - > Existing brand icons are being phased out. Consider using https://simpleicons.org, which offers purpose-built SVGs that are also on a 24×24px grid. + > - Brand icons or logos. + > - Hate symbols or discriminatory or dehumanizing imagery. + > - Religious imagery. + > - War- or violence-related imagery. + > - Political imagery. + > - Sexually explicit or graphic imagery. + > - Designs copied or traced from sources with unclear provenance or without permission compatible with [Lucide's license](https://lucide.dev/license). Giving credit alone does not grant permission to use a design. + > - Duplicates without a meaningful distinction, including near-identical concepts and purely decorative variations. + + For more information on brand icons, see our [brand logo statement](https://lucide.dev/brand-logo-statement). Consider [Simple Icons](https://simpleicons.org) for brand logos on a 24×24px grid. - type: input id: name attributes: @@ -22,7 +31,7 @@ body: id: use-cases attributes: label: Use cases - description: Why do you need this icon? Include at least two real-life use cases per requested icon, avoiding generic descriptions like "it's a car icon". + description: Why do you need this icon? Include at least two real-life use cases per requested icon, avoiding generic descriptions like "it's a car icon". See our [use case guide](https://lucide.dev/contribute/icons/metadata-conventions/use-case-guide). placeholder: e.g. I need a star icon to use in my rating system. validations: required: true @@ -39,13 +48,13 @@ body: label: Checklist description: Please review the following checklist before submitting your request. options: - - label: I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.) + - label: I have searched open and closed open and closed [icon requests](https://github.com/lucide-icons/lucide/issues?q=is%3Aissue+label%3A%22%F0%9F%99%8C+icon+request%22) and [icon PRs](https://github.com/lucide-icons/lucide/pulls?q=is%3Apr+label%3A%22%F0%9F%8E%A8+icon%22) and found no existing request for this icon. required: true - - label: I have searched existing icons to make sure it does not already exist and I didn't find any. + - label: I have searched [existing icons (including Lab)](https://lucide.dev/icons/?library=lab) and confirmed that this icon does not already exist. required: true - - label: I am not requesting a brand logo and the art is not protected by copyright, see more at https://github.com/lucide-icons/lucide/blob/main/BRAND_LOGOS_STATEMENT.md + - label: I'm not requesting brand icons, logos, or copyrighted, trademarked or otherwise licensed designs. required: true - - label: I am not requesting an icon that includes religious, war/violence related, political imagery or hate symbols. + - label: I'm not requesting hateful or discriminatory symbols, religious or political imagery, violence, or sexually explicit or graphic content. required: true - label: I have provided appropriate use cases for the icon(s) requested. required: true diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 3bf6bfff1..dc0398a69 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,5 +1,3 @@ - - - + + ## Description - + -### Icon use case - +## Icon use cases + + + -### Alternative icon designs - +## Icon details + -## Icon Design Checklist +**Alternative designs:** + -### Concept - - - -- [ ] I have provided valid use cases for each icon. -- [ ] I have [not added any brand or logo icon](https://github.com/lucide-icons/lucide/blob/main/BRAND_LOGOS_STATEMENT.md). -- [ ] I have not used any hate symbols. -- [ ] I have not included any religious, war/violence related or political imagery. +**Created by:** + -### Author, credits & license - -- [ ] The icons are solely my own creation. -- [ ] The icons were originally created in # by @ -- [ ] I've based them on the following Lucide icons: -- [ ] I've based them on the following design: +**Based on:** + -### Naming - -- [ ] I've read and followed the [naming conventions](https://lucide.dev/contribute/icon-design-guide#naming-conventions) -- [ ] I've named icons by what they are rather than their use case. -- [ ] I've provided meta JSON files in `icons/[iconName].json`. +**Inspired by:** + -### Design - +## Before submitting -- [ ] I've read and followed the [icon design guidelines](https://lucide.dev/contribute/icon-design-guide) -- [ ] I've made sure that the icons don't [already exist](https://lucide.dev/icons), including the [Lab directory](https://github.com/lucide-icons/lucide/tree/main/lab). -- [ ] I've made sure that the icons look sharp on low DPI displays. -- [ ] I've made sure that the icons look consistent with the icon set in size, optical volume and density. -- [ ] I've made sure that the icons are visually centered. -- [ ] I've correctly optimized all icons to three points of precision. +- [ ] I've read and followed the applicable guides below and checked for existing PRs addressing the same change. -## Before Submitting - -- [ ] I've read the [Contribution Guidelines](https://github.com/lucide-icons/lucide/blob/main/CONTRIBUTING.md). -- [ ] I've checked if there was an existing PR that solves the same issue. +**For all PRs:** +- [Contribution guide](https://lucide.dev/contribute/) + +**Only for new icons or substantial redesigns:** +- [Icon contribution guide](https://lucide.dev/contribute/icons/) + - [Icon eligibility](https://lucide.dev/contribute/icons/eligibility) + - [Design language](https://lucide.dev/contribute/icons/design-principles) + - [Design specification](https://lucide.dev/contribute/icons/specification) + - [Naming conventions](https://lucide.dev/contribute/icons/naming-conventions) + - [Metadata conventions](https://lucide.dev/contribute/icons/metadata-conventions/) + - [Use case guide](https://lucide.dev/contribute/icons/metadata-conventions/use-case-guide) + - [Tag guide](https://lucide.dev/contribute/icons/metadata-conventions/tag-guide) + - [SVG conventions](https://lucide.dev/contribute/icons/code-conventions) diff --git a/docs/.vitepress/sidebar/resources.ts b/docs/.vitepress/sidebar/resources.ts index 4706233f3..51cec5aa0 100644 --- a/docs/.vitepress/sidebar/resources.ts +++ b/docs/.vitepress/sidebar/resources.ts @@ -14,10 +14,6 @@ export const resourcesSidebar = [ text: 'Code of conduct', link: '/code-of-conduct', }, - { - text: 'Brand logo statement', - link: '/brand-logo-statement', - }, ], }, { @@ -55,6 +51,17 @@ export const resourcesSidebar = [ text: 'Getting started', link: '/contribute/icons/', }, + { + text: 'Icon eligibility', + link: '/contribute/icons/eligibility', + desc: 'Check which icon concepts are suitable for Lucide before you start designing.', + items: [ + { + text: 'Brand logo statement', + link: '/brand-logo-statement', + }, + ], + }, { text: 'Design language', link: '/contribute/icons/design-principles', diff --git a/docs/contribute/icons/eligibility.md b/docs/contribute/icons/eligibility.md new file mode 100644 index 000000000..b5e4bfe79 --- /dev/null +++ b/docs/contribute/icons/eligibility.md @@ -0,0 +1,24 @@ +--- +description: Check whether an icon is suitable for contribution to Lucide. +--- + +# Icon eligibility + +Before designing a new icon or substantially redesigning an existing one, make sure the concept is suitable for Lucide. + +## Excluded contributions + +Lucide does not accept: + +- Brand icons or logos. See our [brand logo statement](/brand-logo-statement) for the reasons behind this policy. +- Hate symbols or discriminatory or dehumanizing imagery. +- Religious imagery. +- War- or violence-related imagery. +- Political imagery. +- Sexually explicit or graphic imagery. +- Designs copied or traced from sources with unclear provenance or without permission compatible with [Lucide's license](/license). Giving credit alone does not grant permission to use a design. +- Duplicates without a meaningful distinction, including near-identical concepts and purely decorative variations. + +## Check for existing icons + +Before adding a new icon, search the [icon library (including Lab)](/icons/?library=lab) to make sure the icon does not already exist. diff --git a/docs/contribute/icons/index.md b/docs/contribute/icons/index.md index 6ff34f856..d615d0fdc 100644 --- a/docs/contribute/icons/index.md +++ b/docs/contribute/icons/index.md @@ -14,6 +14,8 @@ Every icon should feel like it belongs with the rest of Lucide. This guide explains how to design and prepare icons for Lucide. +For new icons or substantial redesigns, start with [icon eligibility](./eligibility) to check the content restrictions and contribution requirements. + ## What this guide covers