2024-06-17 16:12:24 +02:00
|
|
|
|
---
|
|
|
|
|
|
title: Accessibility
|
docs(version-1): Version 1 website (#4142)
* Update images
* Adjust color
* update accessebility
* Add matrix hero
* Add typescript documentation
* Add basics section to vue pages
* Add svelte docs
* Fix dynamic sidebar
* Add animation?
* Some adjustments
* Adjust animation
* Updates docs
* Add scaledown animation
* Add docs for vue types
* Fix layout accessibility page
* fix framework select
* adjust easing home animation
* Write docs for Vue
* Adjust animation home
* Adjust home hero animation
* Finish svelte docs
* Add solid pages
* remove spiral animation component
* Add group icons
* Added solid docs
* update preact docs
* Adjust examples preact docs
* Add snackplayer
* Get new editor
* Save this
* Add examples
* Adjust styling
* setup custom sandpack
* Add script
* Format files
* Make sandpack plugin work
* migrate react docs
* Fix svelte and solid examples
* Migrate to solid packages
* Add darkmode package logos
* Fix bug in selector
* migrate vue examples
* migrate advanced vue items
* migrate preact and svelte examples
* Add astro docs
* adding more docs on guide for lucide library
* Fix home animation
* Cleanup
* Added resources page, with more details and content
* Add hero badge for Version 1
* Fix vercel json
* Update missing paths
* Fix build?
* Replace lucide-vue-next
* Fix build
* Add some docs
* update markdown
* Setup angular docs
* Add basic angular docs
* Adjust code examples
* Update title and descriptions
* Update accessibility link
* Update title and description
* Add og image
* Fix alignment
* Add migration guides
* Adjust version 1 markdown file
* Add migration guide to the main list
* Minor fixes
* Update docs
* Apply feedback
* Select icons
* Add pointer events none
* Fix package links homepage
* Format code
* Fix types
* Fix focus
* Fix build
* Fix focus
* Apply feedback
* Adjust imports
* Adjust imports
* Fix search
* Apply feedback
* Fix import in font docs
* Small fixes
* docs(guide): added easter egg icon. stay tuned, guys 😉
* Add llm txt plugin
* Adjust logo top
* docs(version-1): upgraded @lucide/angular guide for v1 website (#4144)
* docs(guide/angular): rewrite some angular documentation
* docs(guide/angular): extens angular guide with combining icons & icon provider guides
* docs(guide/angular): fix angular sandbox, still needs @lucide/angular release tho
* docs(guide/angular): rework the getting started page a bit more, refactor some more prop=>input occurences
* docs(guide/angular): context provider => provideLucideConfig
* Update docs/guide/angular/migration.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Update docs/guide/angular/advanced/combining-icons.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* docs(guide/angular): rework a11y for better flow & pacing
* docs(guide/angular): salvage original phrase, it has better flow
* docs(guide/angular): some more a11y nitpicking
* docs(guide/angular): reduce llm fatigue
* docs(guides/angular): fix app component selector
* docs(guides/angular): fix angular sandpacks
* Add sandpack angular to improve tree-shakable stack
* Update docs/guide/angular/getting-started.md
* docs(guides/angular): fix user import in combinding icons guide
* docs(guides/angular): fix nested SVG phrasing
* Update docs/guide/angular/advanced/with-lucide-lab.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/angular/advanced/filled-icons.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* docs(guides/angular): fix createLucideIcon guide
* docs(guides/angular): upgrade all relevant angular sandpack demos
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* fix(docs): add autogenerated OG images to gitignore
* fix(docs): unify the case of "Lucide" & "Lucide Lab" over all docs and readmes
* Fix build
* Add next tag to all installation guides
* Add top bar notification
* Minor fixes
* Update text
* Add todos
* Update og image
* Adjust install command
* Color top bar
* fix(docs): ignore all OG images, expect general.png
* fix(docs): fix the package list, hide @lucide/icons, downgrade angular logo, link to v0 guide, fix package title alignment
* Update docs/.vitepress/theme/components/base/LayoutTop.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/react/advanced/dynamic-icon-component.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update CONTRIBUTING.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/.vitepress/sidebar/resources.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix code example
* fix(docs): version 1 => Version 1
* feat(docs): add angular to new features in v1
* Fix next line issue
* feat(docs): fix typo (code example_s_)
* Fix deadlink
* feat(docs): fix some more typos and irky grammar
* feat(docs): fix lowercase lucide in sidebar 😅
* Update docs/guide/version-1.md
Co-authored-by: Karsa <contact@karsa.org>
---------
Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-20 17:04:28 +01:00
|
|
|
|
description: Learn how to make your icons accessible to all users, including those with disabilities.
|
2024-06-17 16:12:24 +02:00
|
|
|
|
---
|
|
|
|
|
|
|
2026-03-21 13:03:02 +01:00
|
|
|
|
# Accessibility in depth
|
2023-10-03 08:21:01 +02:00
|
|
|
|
|
2024-06-17 16:12:24 +02:00
|
|
|
|
Icons are pictures that show what something means without using words. They can be very helpful
|
|
|
|
|
|
because they can quickly give information.
|
|
|
|
|
|
|
|
|
|
|
|
However, not everyone can understand them easily. When using icons it is very important to consider
|
|
|
|
|
|
the following aspects of accessibility.
|
|
|
|
|
|
|
2026-01-20 15:55:02 +01:00
|
|
|
|
::: info
|
|
|
|
|
|
By default, we hide icons from screen readers using `aria-hidden="true"`.
|
|
|
|
|
|
You can make them accessible yourself by following the guidelines below.
|
|
|
|
|
|
:::
|
|
|
|
|
|
|
2024-06-17 16:12:24 +02:00
|
|
|
|
## Provide visible labels
|
|
|
|
|
|
|
|
|
|
|
|
Icons are a helpful tool to improve perception, but they aren't a replacement for text.
|
|
|
|
|
|
|
|
|
|
|
|
In most cases, it is probably a good idea to also provide a textual representation of your icon's
|
|
|
|
|
|
function.
|
|
|
|
|
|
|
docs(version-1): Version 1 website (#4142)
* Update images
* Adjust color
* update accessebility
* Add matrix hero
* Add typescript documentation
* Add basics section to vue pages
* Add svelte docs
* Fix dynamic sidebar
* Add animation?
* Some adjustments
* Adjust animation
* Updates docs
* Add scaledown animation
* Add docs for vue types
* Fix layout accessibility page
* fix framework select
* adjust easing home animation
* Write docs for Vue
* Adjust animation home
* Adjust home hero animation
* Finish svelte docs
* Add solid pages
* remove spiral animation component
* Add group icons
* Added solid docs
* update preact docs
* Adjust examples preact docs
* Add snackplayer
* Get new editor
* Save this
* Add examples
* Adjust styling
* setup custom sandpack
* Add script
* Format files
* Make sandpack plugin work
* migrate react docs
* Fix svelte and solid examples
* Migrate to solid packages
* Add darkmode package logos
* Fix bug in selector
* migrate vue examples
* migrate advanced vue items
* migrate preact and svelte examples
* Add astro docs
* adding more docs on guide for lucide library
* Fix home animation
* Cleanup
* Added resources page, with more details and content
* Add hero badge for Version 1
* Fix vercel json
* Update missing paths
* Fix build?
* Replace lucide-vue-next
* Fix build
* Add some docs
* update markdown
* Setup angular docs
* Add basic angular docs
* Adjust code examples
* Update title and descriptions
* Update accessibility link
* Update title and description
* Add og image
* Fix alignment
* Add migration guides
* Adjust version 1 markdown file
* Add migration guide to the main list
* Minor fixes
* Update docs
* Apply feedback
* Select icons
* Add pointer events none
* Fix package links homepage
* Format code
* Fix types
* Fix focus
* Fix build
* Fix focus
* Apply feedback
* Adjust imports
* Adjust imports
* Fix search
* Apply feedback
* Fix import in font docs
* Small fixes
* docs(guide): added easter egg icon. stay tuned, guys 😉
* Add llm txt plugin
* Adjust logo top
* docs(version-1): upgraded @lucide/angular guide for v1 website (#4144)
* docs(guide/angular): rewrite some angular documentation
* docs(guide/angular): extens angular guide with combining icons & icon provider guides
* docs(guide/angular): fix angular sandbox, still needs @lucide/angular release tho
* docs(guide/angular): rework the getting started page a bit more, refactor some more prop=>input occurences
* docs(guide/angular): context provider => provideLucideConfig
* Update docs/guide/angular/migration.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Update docs/guide/angular/advanced/combining-icons.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* docs(guide/angular): rework a11y for better flow & pacing
* docs(guide/angular): salvage original phrase, it has better flow
* docs(guide/angular): some more a11y nitpicking
* docs(guide/angular): reduce llm fatigue
* docs(guides/angular): fix app component selector
* docs(guides/angular): fix angular sandpacks
* Add sandpack angular to improve tree-shakable stack
* Update docs/guide/angular/getting-started.md
* docs(guides/angular): fix user import in combinding icons guide
* docs(guides/angular): fix nested SVG phrasing
* Update docs/guide/angular/advanced/with-lucide-lab.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/angular/advanced/filled-icons.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* docs(guides/angular): fix createLucideIcon guide
* docs(guides/angular): upgrade all relevant angular sandpack demos
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* fix(docs): add autogenerated OG images to gitignore
* fix(docs): unify the case of "Lucide" & "Lucide Lab" over all docs and readmes
* Fix build
* Add next tag to all installation guides
* Add top bar notification
* Minor fixes
* Update text
* Add todos
* Update og image
* Adjust install command
* Color top bar
* fix(docs): ignore all OG images, expect general.png
* fix(docs): fix the package list, hide @lucide/icons, downgrade angular logo, link to v0 guide, fix package title alignment
* Update docs/.vitepress/theme/components/base/LayoutTop.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/react/advanced/dynamic-icon-component.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update CONTRIBUTING.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/.vitepress/sidebar/resources.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix code example
* fix(docs): version 1 => Version 1
* feat(docs): add angular to new features in v1
* Fix next line issue
* feat(docs): fix typo (code example_s_)
* Fix deadlink
* feat(docs): fix some more typos and irky grammar
* feat(docs): fix lowercase lucide in sidebar 😅
* Update docs/guide/version-1.md
Co-authored-by: Karsa <contact@karsa.org>
---------
Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-20 17:04:28 +01:00
|
|
|
|
<!--@include: ../../docs/images/a11y/visible-labels.svg -->
|
2024-06-17 16:12:24 +02:00
|
|
|
|
|
|
|
|
|
|
## Contrast
|
|
|
|
|
|
|
|
|
|
|
|
Ensure there's enough contrast between the icon and its background so that it's visible to people
|
|
|
|
|
|
with low vision or color vision deficiencies.
|
|
|
|
|
|
|
|
|
|
|
|
We recommend
|
|
|
|
|
|
following [WCAG 2.1 SC 1.4.3](https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum.html).
|
|
|
|
|
|
|
docs(version-1): Version 1 website (#4142)
* Update images
* Adjust color
* update accessebility
* Add matrix hero
* Add typescript documentation
* Add basics section to vue pages
* Add svelte docs
* Fix dynamic sidebar
* Add animation?
* Some adjustments
* Adjust animation
* Updates docs
* Add scaledown animation
* Add docs for vue types
* Fix layout accessibility page
* fix framework select
* adjust easing home animation
* Write docs for Vue
* Adjust animation home
* Adjust home hero animation
* Finish svelte docs
* Add solid pages
* remove spiral animation component
* Add group icons
* Added solid docs
* update preact docs
* Adjust examples preact docs
* Add snackplayer
* Get new editor
* Save this
* Add examples
* Adjust styling
* setup custom sandpack
* Add script
* Format files
* Make sandpack plugin work
* migrate react docs
* Fix svelte and solid examples
* Migrate to solid packages
* Add darkmode package logos
* Fix bug in selector
* migrate vue examples
* migrate advanced vue items
* migrate preact and svelte examples
* Add astro docs
* adding more docs on guide for lucide library
* Fix home animation
* Cleanup
* Added resources page, with more details and content
* Add hero badge for Version 1
* Fix vercel json
* Update missing paths
* Fix build?
* Replace lucide-vue-next
* Fix build
* Add some docs
* update markdown
* Setup angular docs
* Add basic angular docs
* Adjust code examples
* Update title and descriptions
* Update accessibility link
* Update title and description
* Add og image
* Fix alignment
* Add migration guides
* Adjust version 1 markdown file
* Add migration guide to the main list
* Minor fixes
* Update docs
* Apply feedback
* Select icons
* Add pointer events none
* Fix package links homepage
* Format code
* Fix types
* Fix focus
* Fix build
* Fix focus
* Apply feedback
* Adjust imports
* Adjust imports
* Fix search
* Apply feedback
* Fix import in font docs
* Small fixes
* docs(guide): added easter egg icon. stay tuned, guys 😉
* Add llm txt plugin
* Adjust logo top
* docs(version-1): upgraded @lucide/angular guide for v1 website (#4144)
* docs(guide/angular): rewrite some angular documentation
* docs(guide/angular): extens angular guide with combining icons & icon provider guides
* docs(guide/angular): fix angular sandbox, still needs @lucide/angular release tho
* docs(guide/angular): rework the getting started page a bit more, refactor some more prop=>input occurences
* docs(guide/angular): context provider => provideLucideConfig
* Update docs/guide/angular/migration.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Update docs/guide/angular/advanced/combining-icons.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* docs(guide/angular): rework a11y for better flow & pacing
* docs(guide/angular): salvage original phrase, it has better flow
* docs(guide/angular): some more a11y nitpicking
* docs(guide/angular): reduce llm fatigue
* docs(guides/angular): fix app component selector
* docs(guides/angular): fix angular sandpacks
* Add sandpack angular to improve tree-shakable stack
* Update docs/guide/angular/getting-started.md
* docs(guides/angular): fix user import in combinding icons guide
* docs(guides/angular): fix nested SVG phrasing
* Update docs/guide/angular/advanced/with-lucide-lab.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/angular/advanced/filled-icons.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* docs(guides/angular): fix createLucideIcon guide
* docs(guides/angular): upgrade all relevant angular sandpack demos
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* fix(docs): add autogenerated OG images to gitignore
* fix(docs): unify the case of "Lucide" & "Lucide Lab" over all docs and readmes
* Fix build
* Add next tag to all installation guides
* Add top bar notification
* Minor fixes
* Update text
* Add todos
* Update og image
* Adjust install command
* Color top bar
* fix(docs): ignore all OG images, expect general.png
* fix(docs): fix the package list, hide @lucide/icons, downgrade angular logo, link to v0 guide, fix package title alignment
* Update docs/.vitepress/theme/components/base/LayoutTop.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/react/advanced/dynamic-icon-component.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update CONTRIBUTING.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/.vitepress/sidebar/resources.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix code example
* fix(docs): version 1 => Version 1
* feat(docs): add angular to new features in v1
* Fix next line issue
* feat(docs): fix typo (code example_s_)
* Fix deadlink
* feat(docs): fix some more typos and irky grammar
* feat(docs): fix lowercase lucide in sidebar 😅
* Update docs/guide/version-1.md
Co-authored-by: Karsa <contact@karsa.org>
---------
Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-20 17:04:28 +01:00
|
|
|
|
<!--@include: ../../docs/images/a11y/contrast.svg -->
|
2024-06-17 16:12:24 +02:00
|
|
|
|
|
|
|
|
|
|
## Use of color
|
|
|
|
|
|
|
|
|
|
|
|
Avoid relying solely on color to convey meaning in icons, as some users may have color blindness.
|
|
|
|
|
|
Instead, use additional visual cues like shape, shading or text.
|
|
|
|
|
|
|
docs(version-1): Version 1 website (#4142)
* Update images
* Adjust color
* update accessebility
* Add matrix hero
* Add typescript documentation
* Add basics section to vue pages
* Add svelte docs
* Fix dynamic sidebar
* Add animation?
* Some adjustments
* Adjust animation
* Updates docs
* Add scaledown animation
* Add docs for vue types
* Fix layout accessibility page
* fix framework select
* adjust easing home animation
* Write docs for Vue
* Adjust animation home
* Adjust home hero animation
* Finish svelte docs
* Add solid pages
* remove spiral animation component
* Add group icons
* Added solid docs
* update preact docs
* Adjust examples preact docs
* Add snackplayer
* Get new editor
* Save this
* Add examples
* Adjust styling
* setup custom sandpack
* Add script
* Format files
* Make sandpack plugin work
* migrate react docs
* Fix svelte and solid examples
* Migrate to solid packages
* Add darkmode package logos
* Fix bug in selector
* migrate vue examples
* migrate advanced vue items
* migrate preact and svelte examples
* Add astro docs
* adding more docs on guide for lucide library
* Fix home animation
* Cleanup
* Added resources page, with more details and content
* Add hero badge for Version 1
* Fix vercel json
* Update missing paths
* Fix build?
* Replace lucide-vue-next
* Fix build
* Add some docs
* update markdown
* Setup angular docs
* Add basic angular docs
* Adjust code examples
* Update title and descriptions
* Update accessibility link
* Update title and description
* Add og image
* Fix alignment
* Add migration guides
* Adjust version 1 markdown file
* Add migration guide to the main list
* Minor fixes
* Update docs
* Apply feedback
* Select icons
* Add pointer events none
* Fix package links homepage
* Format code
* Fix types
* Fix focus
* Fix build
* Fix focus
* Apply feedback
* Adjust imports
* Adjust imports
* Fix search
* Apply feedback
* Fix import in font docs
* Small fixes
* docs(guide): added easter egg icon. stay tuned, guys 😉
* Add llm txt plugin
* Adjust logo top
* docs(version-1): upgraded @lucide/angular guide for v1 website (#4144)
* docs(guide/angular): rewrite some angular documentation
* docs(guide/angular): extens angular guide with combining icons & icon provider guides
* docs(guide/angular): fix angular sandbox, still needs @lucide/angular release tho
* docs(guide/angular): rework the getting started page a bit more, refactor some more prop=>input occurences
* docs(guide/angular): context provider => provideLucideConfig
* Update docs/guide/angular/migration.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Update docs/guide/angular/advanced/combining-icons.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* docs(guide/angular): rework a11y for better flow & pacing
* docs(guide/angular): salvage original phrase, it has better flow
* docs(guide/angular): some more a11y nitpicking
* docs(guide/angular): reduce llm fatigue
* docs(guides/angular): fix app component selector
* docs(guides/angular): fix angular sandpacks
* Add sandpack angular to improve tree-shakable stack
* Update docs/guide/angular/getting-started.md
* docs(guides/angular): fix user import in combinding icons guide
* docs(guides/angular): fix nested SVG phrasing
* Update docs/guide/angular/advanced/with-lucide-lab.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/angular/advanced/filled-icons.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* docs(guides/angular): fix createLucideIcon guide
* docs(guides/angular): upgrade all relevant angular sandpack demos
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* fix(docs): add autogenerated OG images to gitignore
* fix(docs): unify the case of "Lucide" & "Lucide Lab" over all docs and readmes
* Fix build
* Add next tag to all installation guides
* Add top bar notification
* Minor fixes
* Update text
* Add todos
* Update og image
* Adjust install command
* Color top bar
* fix(docs): ignore all OG images, expect general.png
* fix(docs): fix the package list, hide @lucide/icons, downgrade angular logo, link to v0 guide, fix package title alignment
* Update docs/.vitepress/theme/components/base/LayoutTop.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/react/advanced/dynamic-icon-component.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update CONTRIBUTING.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/.vitepress/sidebar/resources.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix code example
* fix(docs): version 1 => Version 1
* feat(docs): add angular to new features in v1
* Fix next line issue
* feat(docs): fix typo (code example_s_)
* Fix deadlink
* feat(docs): fix some more typos and irky grammar
* feat(docs): fix lowercase lucide in sidebar 😅
* Update docs/guide/version-1.md
Co-authored-by: Karsa <contact@karsa.org>
---------
Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-20 17:04:28 +01:00
|
|
|
|
<!--@include: ../../docs/images/a11y/use-of-color.svg -->
|
2024-06-17 16:12:24 +02:00
|
|
|
|
|
|
|
|
|
|
## Interactivity
|
|
|
|
|
|
|
|
|
|
|
|
Ensure that interactive icons are accessible via keyboard navigation and provide clear feedback when
|
|
|
|
|
|
activated.
|
|
|
|
|
|
|
docs(version-1): Version 1 website (#4142)
* Update images
* Adjust color
* update accessebility
* Add matrix hero
* Add typescript documentation
* Add basics section to vue pages
* Add svelte docs
* Fix dynamic sidebar
* Add animation?
* Some adjustments
* Adjust animation
* Updates docs
* Add scaledown animation
* Add docs for vue types
* Fix layout accessibility page
* fix framework select
* adjust easing home animation
* Write docs for Vue
* Adjust animation home
* Adjust home hero animation
* Finish svelte docs
* Add solid pages
* remove spiral animation component
* Add group icons
* Added solid docs
* update preact docs
* Adjust examples preact docs
* Add snackplayer
* Get new editor
* Save this
* Add examples
* Adjust styling
* setup custom sandpack
* Add script
* Format files
* Make sandpack plugin work
* migrate react docs
* Fix svelte and solid examples
* Migrate to solid packages
* Add darkmode package logos
* Fix bug in selector
* migrate vue examples
* migrate advanced vue items
* migrate preact and svelte examples
* Add astro docs
* adding more docs on guide for lucide library
* Fix home animation
* Cleanup
* Added resources page, with more details and content
* Add hero badge for Version 1
* Fix vercel json
* Update missing paths
* Fix build?
* Replace lucide-vue-next
* Fix build
* Add some docs
* update markdown
* Setup angular docs
* Add basic angular docs
* Adjust code examples
* Update title and descriptions
* Update accessibility link
* Update title and description
* Add og image
* Fix alignment
* Add migration guides
* Adjust version 1 markdown file
* Add migration guide to the main list
* Minor fixes
* Update docs
* Apply feedback
* Select icons
* Add pointer events none
* Fix package links homepage
* Format code
* Fix types
* Fix focus
* Fix build
* Fix focus
* Apply feedback
* Adjust imports
* Adjust imports
* Fix search
* Apply feedback
* Fix import in font docs
* Small fixes
* docs(guide): added easter egg icon. stay tuned, guys 😉
* Add llm txt plugin
* Adjust logo top
* docs(version-1): upgraded @lucide/angular guide for v1 website (#4144)
* docs(guide/angular): rewrite some angular documentation
* docs(guide/angular): extens angular guide with combining icons & icon provider guides
* docs(guide/angular): fix angular sandbox, still needs @lucide/angular release tho
* docs(guide/angular): rework the getting started page a bit more, refactor some more prop=>input occurences
* docs(guide/angular): context provider => provideLucideConfig
* Update docs/guide/angular/migration.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Update docs/guide/angular/advanced/combining-icons.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* docs(guide/angular): rework a11y for better flow & pacing
* docs(guide/angular): salvage original phrase, it has better flow
* docs(guide/angular): some more a11y nitpicking
* docs(guide/angular): reduce llm fatigue
* docs(guides/angular): fix app component selector
* docs(guides/angular): fix angular sandpacks
* Add sandpack angular to improve tree-shakable stack
* Update docs/guide/angular/getting-started.md
* docs(guides/angular): fix user import in combinding icons guide
* docs(guides/angular): fix nested SVG phrasing
* Update docs/guide/angular/advanced/with-lucide-lab.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/angular/advanced/filled-icons.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* docs(guides/angular): fix createLucideIcon guide
* docs(guides/angular): upgrade all relevant angular sandpack demos
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* fix(docs): add autogenerated OG images to gitignore
* fix(docs): unify the case of "Lucide" & "Lucide Lab" over all docs and readmes
* Fix build
* Add next tag to all installation guides
* Add top bar notification
* Minor fixes
* Update text
* Add todos
* Update og image
* Adjust install command
* Color top bar
* fix(docs): ignore all OG images, expect general.png
* fix(docs): fix the package list, hide @lucide/icons, downgrade angular logo, link to v0 guide, fix package title alignment
* Update docs/.vitepress/theme/components/base/LayoutTop.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/react/advanced/dynamic-icon-component.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update CONTRIBUTING.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/.vitepress/sidebar/resources.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix code example
* fix(docs): version 1 => Version 1
* feat(docs): add angular to new features in v1
* Fix next line issue
* feat(docs): fix typo (code example_s_)
* Fix deadlink
* feat(docs): fix some more typos and irky grammar
* feat(docs): fix lowercase lucide in sidebar 😅
* Update docs/guide/version-1.md
Co-authored-by: Karsa <contact@karsa.org>
---------
Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-20 17:04:28 +01:00
|
|
|
|
<!--@include: ../../docs/images/a11y/interactivity.svg -->
|
2024-06-17 16:12:24 +02:00
|
|
|
|
|
|
|
|
|
|
In most cases this is easily done by wrapping them in icon buttons.
|
|
|
|
|
|
|
|
|
|
|
|
## Minimum target size
|
|
|
|
|
|
|
|
|
|
|
|
Small targets can be difficult to click or touch, if your icon is interactive, we recommend that it
|
|
|
|
|
|
should have a minimum target size of 44×44 pixels.
|
|
|
|
|
|
|
docs(version-1): Version 1 website (#4142)
* Update images
* Adjust color
* update accessebility
* Add matrix hero
* Add typescript documentation
* Add basics section to vue pages
* Add svelte docs
* Fix dynamic sidebar
* Add animation?
* Some adjustments
* Adjust animation
* Updates docs
* Add scaledown animation
* Add docs for vue types
* Fix layout accessibility page
* fix framework select
* adjust easing home animation
* Write docs for Vue
* Adjust animation home
* Adjust home hero animation
* Finish svelte docs
* Add solid pages
* remove spiral animation component
* Add group icons
* Added solid docs
* update preact docs
* Adjust examples preact docs
* Add snackplayer
* Get new editor
* Save this
* Add examples
* Adjust styling
* setup custom sandpack
* Add script
* Format files
* Make sandpack plugin work
* migrate react docs
* Fix svelte and solid examples
* Migrate to solid packages
* Add darkmode package logos
* Fix bug in selector
* migrate vue examples
* migrate advanced vue items
* migrate preact and svelte examples
* Add astro docs
* adding more docs on guide for lucide library
* Fix home animation
* Cleanup
* Added resources page, with more details and content
* Add hero badge for Version 1
* Fix vercel json
* Update missing paths
* Fix build?
* Replace lucide-vue-next
* Fix build
* Add some docs
* update markdown
* Setup angular docs
* Add basic angular docs
* Adjust code examples
* Update title and descriptions
* Update accessibility link
* Update title and description
* Add og image
* Fix alignment
* Add migration guides
* Adjust version 1 markdown file
* Add migration guide to the main list
* Minor fixes
* Update docs
* Apply feedback
* Select icons
* Add pointer events none
* Fix package links homepage
* Format code
* Fix types
* Fix focus
* Fix build
* Fix focus
* Apply feedback
* Adjust imports
* Adjust imports
* Fix search
* Apply feedback
* Fix import in font docs
* Small fixes
* docs(guide): added easter egg icon. stay tuned, guys 😉
* Add llm txt plugin
* Adjust logo top
* docs(version-1): upgraded @lucide/angular guide for v1 website (#4144)
* docs(guide/angular): rewrite some angular documentation
* docs(guide/angular): extens angular guide with combining icons & icon provider guides
* docs(guide/angular): fix angular sandbox, still needs @lucide/angular release tho
* docs(guide/angular): rework the getting started page a bit more, refactor some more prop=>input occurences
* docs(guide/angular): context provider => provideLucideConfig
* Update docs/guide/angular/migration.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Update docs/guide/angular/advanced/combining-icons.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* docs(guide/angular): rework a11y for better flow & pacing
* docs(guide/angular): salvage original phrase, it has better flow
* docs(guide/angular): some more a11y nitpicking
* docs(guide/angular): reduce llm fatigue
* docs(guides/angular): fix app component selector
* docs(guides/angular): fix angular sandpacks
* Add sandpack angular to improve tree-shakable stack
* Update docs/guide/angular/getting-started.md
* docs(guides/angular): fix user import in combinding icons guide
* docs(guides/angular): fix nested SVG phrasing
* Update docs/guide/angular/advanced/with-lucide-lab.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/angular/advanced/filled-icons.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* docs(guides/angular): fix createLucideIcon guide
* docs(guides/angular): upgrade all relevant angular sandpack demos
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* fix(docs): add autogenerated OG images to gitignore
* fix(docs): unify the case of "Lucide" & "Lucide Lab" over all docs and readmes
* Fix build
* Add next tag to all installation guides
* Add top bar notification
* Minor fixes
* Update text
* Add todos
* Update og image
* Adjust install command
* Color top bar
* fix(docs): ignore all OG images, expect general.png
* fix(docs): fix the package list, hide @lucide/icons, downgrade angular logo, link to v0 guide, fix package title alignment
* Update docs/.vitepress/theme/components/base/LayoutTop.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/react/advanced/dynamic-icon-component.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update CONTRIBUTING.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/.vitepress/sidebar/resources.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix code example
* fix(docs): version 1 => Version 1
* feat(docs): add angular to new features in v1
* Fix next line issue
* feat(docs): fix typo (code example_s_)
* Fix deadlink
* feat(docs): fix some more typos and irky grammar
* feat(docs): fix lowercase lucide in sidebar 😅
* Update docs/guide/version-1.md
Co-authored-by: Karsa <contact@karsa.org>
---------
Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-20 17:04:28 +01:00
|
|
|
|
<!--@include: ../../docs/images/a11y/target-size.svg -->
|
2024-06-17 16:12:24 +02:00
|
|
|
|
|
|
|
|
|
|
In practice, this doesn't necessarily mean that the icon itself should be this large, only its
|
|
|
|
|
|
interactive wrapper element.
|
|
|
|
|
|
|
|
|
|
|
|
## Meaningfulness
|
|
|
|
|
|
|
|
|
|
|
|
Icons should represent concepts or actions in a universally understandable way. Avoid using abstract
|
|
|
|
|
|
or ambiguous, or culture-specific symbols that might confuse some users.
|
|
|
|
|
|
|
docs(version-1): Version 1 website (#4142)
* Update images
* Adjust color
* update accessebility
* Add matrix hero
* Add typescript documentation
* Add basics section to vue pages
* Add svelte docs
* Fix dynamic sidebar
* Add animation?
* Some adjustments
* Adjust animation
* Updates docs
* Add scaledown animation
* Add docs for vue types
* Fix layout accessibility page
* fix framework select
* adjust easing home animation
* Write docs for Vue
* Adjust animation home
* Adjust home hero animation
* Finish svelte docs
* Add solid pages
* remove spiral animation component
* Add group icons
* Added solid docs
* update preact docs
* Adjust examples preact docs
* Add snackplayer
* Get new editor
* Save this
* Add examples
* Adjust styling
* setup custom sandpack
* Add script
* Format files
* Make sandpack plugin work
* migrate react docs
* Fix svelte and solid examples
* Migrate to solid packages
* Add darkmode package logos
* Fix bug in selector
* migrate vue examples
* migrate advanced vue items
* migrate preact and svelte examples
* Add astro docs
* adding more docs on guide for lucide library
* Fix home animation
* Cleanup
* Added resources page, with more details and content
* Add hero badge for Version 1
* Fix vercel json
* Update missing paths
* Fix build?
* Replace lucide-vue-next
* Fix build
* Add some docs
* update markdown
* Setup angular docs
* Add basic angular docs
* Adjust code examples
* Update title and descriptions
* Update accessibility link
* Update title and description
* Add og image
* Fix alignment
* Add migration guides
* Adjust version 1 markdown file
* Add migration guide to the main list
* Minor fixes
* Update docs
* Apply feedback
* Select icons
* Add pointer events none
* Fix package links homepage
* Format code
* Fix types
* Fix focus
* Fix build
* Fix focus
* Apply feedback
* Adjust imports
* Adjust imports
* Fix search
* Apply feedback
* Fix import in font docs
* Small fixes
* docs(guide): added easter egg icon. stay tuned, guys 😉
* Add llm txt plugin
* Adjust logo top
* docs(version-1): upgraded @lucide/angular guide for v1 website (#4144)
* docs(guide/angular): rewrite some angular documentation
* docs(guide/angular): extens angular guide with combining icons & icon provider guides
* docs(guide/angular): fix angular sandbox, still needs @lucide/angular release tho
* docs(guide/angular): rework the getting started page a bit more, refactor some more prop=>input occurences
* docs(guide/angular): context provider => provideLucideConfig
* Update docs/guide/angular/migration.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Update docs/guide/angular/advanced/combining-icons.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* docs(guide/angular): rework a11y for better flow & pacing
* docs(guide/angular): salvage original phrase, it has better flow
* docs(guide/angular): some more a11y nitpicking
* docs(guide/angular): reduce llm fatigue
* docs(guides/angular): fix app component selector
* docs(guides/angular): fix angular sandpacks
* Add sandpack angular to improve tree-shakable stack
* Update docs/guide/angular/getting-started.md
* docs(guides/angular): fix user import in combinding icons guide
* docs(guides/angular): fix nested SVG phrasing
* Update docs/guide/angular/advanced/with-lucide-lab.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/angular/advanced/filled-icons.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* docs(guides/angular): fix createLucideIcon guide
* docs(guides/angular): upgrade all relevant angular sandpack demos
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* fix(docs): add autogenerated OG images to gitignore
* fix(docs): unify the case of "Lucide" & "Lucide Lab" over all docs and readmes
* Fix build
* Add next tag to all installation guides
* Add top bar notification
* Minor fixes
* Update text
* Add todos
* Update og image
* Adjust install command
* Color top bar
* fix(docs): ignore all OG images, expect general.png
* fix(docs): fix the package list, hide @lucide/icons, downgrade angular logo, link to v0 guide, fix package title alignment
* Update docs/.vitepress/theme/components/base/LayoutTop.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/react/advanced/dynamic-icon-component.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update CONTRIBUTING.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/.vitepress/sidebar/resources.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix code example
* fix(docs): version 1 => Version 1
* feat(docs): add angular to new features in v1
* Fix next line issue
* feat(docs): fix typo (code example_s_)
* Fix deadlink
* feat(docs): fix some more typos and irky grammar
* feat(docs): fix lowercase lucide in sidebar 😅
* Update docs/guide/version-1.md
Co-authored-by: Karsa <contact@karsa.org>
---------
Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-20 17:04:28 +01:00
|
|
|
|
<!--@include: ../../docs/images/a11y/meaningfulness.svg -->
|
2024-06-17 16:12:24 +02:00
|
|
|
|
|
|
|
|
|
|
## Consistency
|
|
|
|
|
|
|
|
|
|
|
|
Maintain consistency in icon design and usage across your interface to help users learn and
|
|
|
|
|
|
understand their meanings more easily.
|
|
|
|
|
|
|
docs(version-1): Version 1 website (#4142)
* Update images
* Adjust color
* update accessebility
* Add matrix hero
* Add typescript documentation
* Add basics section to vue pages
* Add svelte docs
* Fix dynamic sidebar
* Add animation?
* Some adjustments
* Adjust animation
* Updates docs
* Add scaledown animation
* Add docs for vue types
* Fix layout accessibility page
* fix framework select
* adjust easing home animation
* Write docs for Vue
* Adjust animation home
* Adjust home hero animation
* Finish svelte docs
* Add solid pages
* remove spiral animation component
* Add group icons
* Added solid docs
* update preact docs
* Adjust examples preact docs
* Add snackplayer
* Get new editor
* Save this
* Add examples
* Adjust styling
* setup custom sandpack
* Add script
* Format files
* Make sandpack plugin work
* migrate react docs
* Fix svelte and solid examples
* Migrate to solid packages
* Add darkmode package logos
* Fix bug in selector
* migrate vue examples
* migrate advanced vue items
* migrate preact and svelte examples
* Add astro docs
* adding more docs on guide for lucide library
* Fix home animation
* Cleanup
* Added resources page, with more details and content
* Add hero badge for Version 1
* Fix vercel json
* Update missing paths
* Fix build?
* Replace lucide-vue-next
* Fix build
* Add some docs
* update markdown
* Setup angular docs
* Add basic angular docs
* Adjust code examples
* Update title and descriptions
* Update accessibility link
* Update title and description
* Add og image
* Fix alignment
* Add migration guides
* Adjust version 1 markdown file
* Add migration guide to the main list
* Minor fixes
* Update docs
* Apply feedback
* Select icons
* Add pointer events none
* Fix package links homepage
* Format code
* Fix types
* Fix focus
* Fix build
* Fix focus
* Apply feedback
* Adjust imports
* Adjust imports
* Fix search
* Apply feedback
* Fix import in font docs
* Small fixes
* docs(guide): added easter egg icon. stay tuned, guys 😉
* Add llm txt plugin
* Adjust logo top
* docs(version-1): upgraded @lucide/angular guide for v1 website (#4144)
* docs(guide/angular): rewrite some angular documentation
* docs(guide/angular): extens angular guide with combining icons & icon provider guides
* docs(guide/angular): fix angular sandbox, still needs @lucide/angular release tho
* docs(guide/angular): rework the getting started page a bit more, refactor some more prop=>input occurences
* docs(guide/angular): context provider => provideLucideConfig
* Update docs/guide/angular/migration.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Update docs/guide/angular/advanced/combining-icons.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* docs(guide/angular): rework a11y for better flow & pacing
* docs(guide/angular): salvage original phrase, it has better flow
* docs(guide/angular): some more a11y nitpicking
* docs(guide/angular): reduce llm fatigue
* docs(guides/angular): fix app component selector
* docs(guides/angular): fix angular sandpacks
* Add sandpack angular to improve tree-shakable stack
* Update docs/guide/angular/getting-started.md
* docs(guides/angular): fix user import in combinding icons guide
* docs(guides/angular): fix nested SVG phrasing
* Update docs/guide/angular/advanced/with-lucide-lab.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/angular/advanced/filled-icons.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* docs(guides/angular): fix createLucideIcon guide
* docs(guides/angular): upgrade all relevant angular sandpack demos
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* fix(docs): add autogenerated OG images to gitignore
* fix(docs): unify the case of "Lucide" & "Lucide Lab" over all docs and readmes
* Fix build
* Add next tag to all installation guides
* Add top bar notification
* Minor fixes
* Update text
* Add todos
* Update og image
* Adjust install command
* Color top bar
* fix(docs): ignore all OG images, expect general.png
* fix(docs): fix the package list, hide @lucide/icons, downgrade angular logo, link to v0 guide, fix package title alignment
* Update docs/.vitepress/theme/components/base/LayoutTop.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/react/advanced/dynamic-icon-component.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update CONTRIBUTING.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/.vitepress/sidebar/resources.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix code example
* fix(docs): version 1 => Version 1
* feat(docs): add angular to new features in v1
* Fix next line issue
* feat(docs): fix typo (code example_s_)
* Fix deadlink
* feat(docs): fix some more typos and irky grammar
* feat(docs): fix lowercase lucide in sidebar 😅
* Update docs/guide/version-1.md
Co-authored-by: Karsa <contact@karsa.org>
---------
Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-20 17:04:28 +01:00
|
|
|
|
<!--@include: ../../docs/images/a11y/consistency.svg -->
|
2024-06-17 16:12:24 +02:00
|
|
|
|
|
|
|
|
|
|
## Text Alternatives
|
|
|
|
|
|
|
|
|
|
|
|
You may have to provide text labels or alternative text descriptions for icons, especially for
|
|
|
|
|
|
screen readers used by people with visual impairments.
|
|
|
|
|
|
|
|
|
|
|
|
However: descriptions should only be provided to standalone icons that aren't purely decorative, as
|
|
|
|
|
|
providing accessible names to non-functional elements only increases clutter when using screen
|
|
|
|
|
|
readers.
|
|
|
|
|
|
|
|
|
|
|
|
### On standalone icons
|
|
|
|
|
|
|
|
|
|
|
|
Icons are usually very unlikely to stand on their own with no semantically meaningful wrapper
|
|
|
|
|
|
element. In most cases they will be part of a badge, button (including icon buttons), navigation
|
|
|
|
|
|
item or other interactive UI element.
|
|
|
|
|
|
|
|
|
|
|
|
::: warning
|
|
|
|
|
|
In case some of your icons stand alone, and they serve a non-decorative function, make sure to
|
|
|
|
|
|
provide the appropriate accessible label for them.
|
|
|
|
|
|
:::
|
|
|
|
|
|
|
docs(version-1): Version 1 website (#4142)
* Update images
* Adjust color
* update accessebility
* Add matrix hero
* Add typescript documentation
* Add basics section to vue pages
* Add svelte docs
* Fix dynamic sidebar
* Add animation?
* Some adjustments
* Adjust animation
* Updates docs
* Add scaledown animation
* Add docs for vue types
* Fix layout accessibility page
* fix framework select
* adjust easing home animation
* Write docs for Vue
* Adjust animation home
* Adjust home hero animation
* Finish svelte docs
* Add solid pages
* remove spiral animation component
* Add group icons
* Added solid docs
* update preact docs
* Adjust examples preact docs
* Add snackplayer
* Get new editor
* Save this
* Add examples
* Adjust styling
* setup custom sandpack
* Add script
* Format files
* Make sandpack plugin work
* migrate react docs
* Fix svelte and solid examples
* Migrate to solid packages
* Add darkmode package logos
* Fix bug in selector
* migrate vue examples
* migrate advanced vue items
* migrate preact and svelte examples
* Add astro docs
* adding more docs on guide for lucide library
* Fix home animation
* Cleanup
* Added resources page, with more details and content
* Add hero badge for Version 1
* Fix vercel json
* Update missing paths
* Fix build?
* Replace lucide-vue-next
* Fix build
* Add some docs
* update markdown
* Setup angular docs
* Add basic angular docs
* Adjust code examples
* Update title and descriptions
* Update accessibility link
* Update title and description
* Add og image
* Fix alignment
* Add migration guides
* Adjust version 1 markdown file
* Add migration guide to the main list
* Minor fixes
* Update docs
* Apply feedback
* Select icons
* Add pointer events none
* Fix package links homepage
* Format code
* Fix types
* Fix focus
* Fix build
* Fix focus
* Apply feedback
* Adjust imports
* Adjust imports
* Fix search
* Apply feedback
* Fix import in font docs
* Small fixes
* docs(guide): added easter egg icon. stay tuned, guys 😉
* Add llm txt plugin
* Adjust logo top
* docs(version-1): upgraded @lucide/angular guide for v1 website (#4144)
* docs(guide/angular): rewrite some angular documentation
* docs(guide/angular): extens angular guide with combining icons & icon provider guides
* docs(guide/angular): fix angular sandbox, still needs @lucide/angular release tho
* docs(guide/angular): rework the getting started page a bit more, refactor some more prop=>input occurences
* docs(guide/angular): context provider => provideLucideConfig
* Update docs/guide/angular/migration.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Update docs/guide/angular/advanced/combining-icons.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* docs(guide/angular): rework a11y for better flow & pacing
* docs(guide/angular): salvage original phrase, it has better flow
* docs(guide/angular): some more a11y nitpicking
* docs(guide/angular): reduce llm fatigue
* docs(guides/angular): fix app component selector
* docs(guides/angular): fix angular sandpacks
* Add sandpack angular to improve tree-shakable stack
* Update docs/guide/angular/getting-started.md
* docs(guides/angular): fix user import in combinding icons guide
* docs(guides/angular): fix nested SVG phrasing
* Update docs/guide/angular/advanced/with-lucide-lab.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/angular/advanced/filled-icons.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* docs(guides/angular): fix createLucideIcon guide
* docs(guides/angular): upgrade all relevant angular sandpack demos
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* fix(docs): add autogenerated OG images to gitignore
* fix(docs): unify the case of "Lucide" & "Lucide Lab" over all docs and readmes
* Fix build
* Add next tag to all installation guides
* Add top bar notification
* Minor fixes
* Update text
* Add todos
* Update og image
* Adjust install command
* Color top bar
* fix(docs): ignore all OG images, expect general.png
* fix(docs): fix the package list, hide @lucide/icons, downgrade angular logo, link to v0 guide, fix package title alignment
* Update docs/.vitepress/theme/components/base/LayoutTop.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/react/advanced/dynamic-icon-component.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update CONTRIBUTING.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/.vitepress/sidebar/resources.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix code example
* fix(docs): version 1 => Version 1
* feat(docs): add angular to new features in v1
* Fix next line issue
* feat(docs): fix typo (code example_s_)
* Fix deadlink
* feat(docs): fix some more typos and irky grammar
* feat(docs): fix lowercase lucide in sidebar 😅
* Update docs/guide/version-1.md
Co-authored-by: Karsa <contact@karsa.org>
---------
Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-20 17:04:28 +01:00
|
|
|
|
<!--@include: ../../docs/images/a11y/alttext-standalone.svg -->
|
2024-06-17 16:12:24 +02:00
|
|
|
|
|
|
|
|
|
|
In general try to avoid using functional icons with no interactivity, we recommend that:
|
|
|
|
|
|
|
|
|
|
|
|
1) you either add a visible description next to them, or
|
|
|
|
|
|
2) place them in badges, labels or on buttons, and at least add a tooltip to them.
|
|
|
|
|
|
|
|
|
|
|
|
In any such case, it is preferred that the accessible name be provided for these interactive
|
|
|
|
|
|
elements (badges, buttons, nav items etc.) only, _not_ the icons themselves.
|
|
|
|
|
|
|
|
|
|
|
|
### On buttons
|
|
|
|
|
|
|
|
|
|
|
|
Do not provide an accessible label to icons when used on a button, as this label will be read out by
|
|
|
|
|
|
screen readers, leading to nonsensical text.
|
|
|
|
|
|
|
docs(version-1): Version 1 website (#4142)
* Update images
* Adjust color
* update accessebility
* Add matrix hero
* Add typescript documentation
* Add basics section to vue pages
* Add svelte docs
* Fix dynamic sidebar
* Add animation?
* Some adjustments
* Adjust animation
* Updates docs
* Add scaledown animation
* Add docs for vue types
* Fix layout accessibility page
* fix framework select
* adjust easing home animation
* Write docs for Vue
* Adjust animation home
* Adjust home hero animation
* Finish svelte docs
* Add solid pages
* remove spiral animation component
* Add group icons
* Added solid docs
* update preact docs
* Adjust examples preact docs
* Add snackplayer
* Get new editor
* Save this
* Add examples
* Adjust styling
* setup custom sandpack
* Add script
* Format files
* Make sandpack plugin work
* migrate react docs
* Fix svelte and solid examples
* Migrate to solid packages
* Add darkmode package logos
* Fix bug in selector
* migrate vue examples
* migrate advanced vue items
* migrate preact and svelte examples
* Add astro docs
* adding more docs on guide for lucide library
* Fix home animation
* Cleanup
* Added resources page, with more details and content
* Add hero badge for Version 1
* Fix vercel json
* Update missing paths
* Fix build?
* Replace lucide-vue-next
* Fix build
* Add some docs
* update markdown
* Setup angular docs
* Add basic angular docs
* Adjust code examples
* Update title and descriptions
* Update accessibility link
* Update title and description
* Add og image
* Fix alignment
* Add migration guides
* Adjust version 1 markdown file
* Add migration guide to the main list
* Minor fixes
* Update docs
* Apply feedback
* Select icons
* Add pointer events none
* Fix package links homepage
* Format code
* Fix types
* Fix focus
* Fix build
* Fix focus
* Apply feedback
* Adjust imports
* Adjust imports
* Fix search
* Apply feedback
* Fix import in font docs
* Small fixes
* docs(guide): added easter egg icon. stay tuned, guys 😉
* Add llm txt plugin
* Adjust logo top
* docs(version-1): upgraded @lucide/angular guide for v1 website (#4144)
* docs(guide/angular): rewrite some angular documentation
* docs(guide/angular): extens angular guide with combining icons & icon provider guides
* docs(guide/angular): fix angular sandbox, still needs @lucide/angular release tho
* docs(guide/angular): rework the getting started page a bit more, refactor some more prop=>input occurences
* docs(guide/angular): context provider => provideLucideConfig
* Update docs/guide/angular/migration.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Update docs/guide/angular/advanced/combining-icons.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* docs(guide/angular): rework a11y for better flow & pacing
* docs(guide/angular): salvage original phrase, it has better flow
* docs(guide/angular): some more a11y nitpicking
* docs(guide/angular): reduce llm fatigue
* docs(guides/angular): fix app component selector
* docs(guides/angular): fix angular sandpacks
* Add sandpack angular to improve tree-shakable stack
* Update docs/guide/angular/getting-started.md
* docs(guides/angular): fix user import in combinding icons guide
* docs(guides/angular): fix nested SVG phrasing
* Update docs/guide/angular/advanced/with-lucide-lab.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/angular/advanced/filled-icons.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* docs(guides/angular): fix createLucideIcon guide
* docs(guides/angular): upgrade all relevant angular sandpack demos
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* fix(docs): add autogenerated OG images to gitignore
* fix(docs): unify the case of "Lucide" & "Lucide Lab" over all docs and readmes
* Fix build
* Add next tag to all installation guides
* Add top bar notification
* Minor fixes
* Update text
* Add todos
* Update og image
* Adjust install command
* Color top bar
* fix(docs): ignore all OG images, expect general.png
* fix(docs): fix the package list, hide @lucide/icons, downgrade angular logo, link to v0 guide, fix package title alignment
* Update docs/.vitepress/theme/components/base/LayoutTop.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/react/advanced/dynamic-icon-component.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update CONTRIBUTING.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/.vitepress/sidebar/resources.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix code example
* fix(docs): version 1 => Version 1
* feat(docs): add angular to new features in v1
* Fix next line issue
* feat(docs): fix typo (code example_s_)
* Fix deadlink
* feat(docs): fix some more typos and irky grammar
* feat(docs): fix lowercase lucide in sidebar 😅
* Update docs/guide/version-1.md
Co-authored-by: Karsa <contact@karsa.org>
---------
Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-20 17:04:28 +01:00
|
|
|
|
<!--@include: ../../docs/images/a11y/alttext-buttons.svg -->
|
|
|
|
|
|
|
2024-06-17 16:12:24 +02:00
|
|
|
|
|
|
|
|
|
|
::: details Code examples
|
|
|
|
|
|
|
|
|
|
|
|
```tsx
|
|
|
|
|
|
// Don't do this
|
|
|
|
|
|
<button>
|
|
|
|
|
|
<Plus aria-label="Plus icon"/>
|
|
|
|
|
|
Add document
|
|
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
|
|
// Do this, just leave it
|
|
|
|
|
|
<button>
|
|
|
|
|
|
<Plus/>
|
|
|
|
|
|
Add document
|
|
|
|
|
|
</button>
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
:::
|
|
|
|
|
|
|
|
|
|
|
|
### On icon buttons
|
|
|
|
|
|
|
|
|
|
|
|
Icon buttons are buttons that do not contain any visible text apart from the icon itself (think of
|
|
|
|
|
|
the close button of a dialog for example).
|
|
|
|
|
|
|
|
|
|
|
|
As previously stated, you should provide your accessible label on the icon button itself, not the
|
|
|
|
|
|
contained icon.
|
|
|
|
|
|
|
docs(version-1): Version 1 website (#4142)
* Update images
* Adjust color
* update accessebility
* Add matrix hero
* Add typescript documentation
* Add basics section to vue pages
* Add svelte docs
* Fix dynamic sidebar
* Add animation?
* Some adjustments
* Adjust animation
* Updates docs
* Add scaledown animation
* Add docs for vue types
* Fix layout accessibility page
* fix framework select
* adjust easing home animation
* Write docs for Vue
* Adjust animation home
* Adjust home hero animation
* Finish svelte docs
* Add solid pages
* remove spiral animation component
* Add group icons
* Added solid docs
* update preact docs
* Adjust examples preact docs
* Add snackplayer
* Get new editor
* Save this
* Add examples
* Adjust styling
* setup custom sandpack
* Add script
* Format files
* Make sandpack plugin work
* migrate react docs
* Fix svelte and solid examples
* Migrate to solid packages
* Add darkmode package logos
* Fix bug in selector
* migrate vue examples
* migrate advanced vue items
* migrate preact and svelte examples
* Add astro docs
* adding more docs on guide for lucide library
* Fix home animation
* Cleanup
* Added resources page, with more details and content
* Add hero badge for Version 1
* Fix vercel json
* Update missing paths
* Fix build?
* Replace lucide-vue-next
* Fix build
* Add some docs
* update markdown
* Setup angular docs
* Add basic angular docs
* Adjust code examples
* Update title and descriptions
* Update accessibility link
* Update title and description
* Add og image
* Fix alignment
* Add migration guides
* Adjust version 1 markdown file
* Add migration guide to the main list
* Minor fixes
* Update docs
* Apply feedback
* Select icons
* Add pointer events none
* Fix package links homepage
* Format code
* Fix types
* Fix focus
* Fix build
* Fix focus
* Apply feedback
* Adjust imports
* Adjust imports
* Fix search
* Apply feedback
* Fix import in font docs
* Small fixes
* docs(guide): added easter egg icon. stay tuned, guys 😉
* Add llm txt plugin
* Adjust logo top
* docs(version-1): upgraded @lucide/angular guide for v1 website (#4144)
* docs(guide/angular): rewrite some angular documentation
* docs(guide/angular): extens angular guide with combining icons & icon provider guides
* docs(guide/angular): fix angular sandbox, still needs @lucide/angular release tho
* docs(guide/angular): rework the getting started page a bit more, refactor some more prop=>input occurences
* docs(guide/angular): context provider => provideLucideConfig
* Update docs/guide/angular/migration.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Update docs/guide/angular/advanced/combining-icons.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* docs(guide/angular): rework a11y for better flow & pacing
* docs(guide/angular): salvage original phrase, it has better flow
* docs(guide/angular): some more a11y nitpicking
* docs(guide/angular): reduce llm fatigue
* docs(guides/angular): fix app component selector
* docs(guides/angular): fix angular sandpacks
* Add sandpack angular to improve tree-shakable stack
* Update docs/guide/angular/getting-started.md
* docs(guides/angular): fix user import in combinding icons guide
* docs(guides/angular): fix nested SVG phrasing
* Update docs/guide/angular/advanced/with-lucide-lab.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/angular/advanced/filled-icons.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* docs(guides/angular): fix createLucideIcon guide
* docs(guides/angular): upgrade all relevant angular sandpack demos
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* fix(docs): add autogenerated OG images to gitignore
* fix(docs): unify the case of "Lucide" & "Lucide Lab" over all docs and readmes
* Fix build
* Add next tag to all installation guides
* Add top bar notification
* Minor fixes
* Update text
* Add todos
* Update og image
* Adjust install command
* Color top bar
* fix(docs): ignore all OG images, expect general.png
* fix(docs): fix the package list, hide @lucide/icons, downgrade angular logo, link to v0 guide, fix package title alignment
* Update docs/.vitepress/theme/components/base/LayoutTop.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/react/advanced/dynamic-icon-component.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update CONTRIBUTING.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/.vitepress/sidebar/resources.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix code example
* fix(docs): version 1 => Version 1
* feat(docs): add angular to new features in v1
* Fix next line issue
* feat(docs): fix typo (code example_s_)
* Fix deadlink
* feat(docs): fix some more typos and irky grammar
* feat(docs): fix lowercase lucide in sidebar 😅
* Update docs/guide/version-1.md
Co-authored-by: Karsa <contact@karsa.org>
---------
Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-20 17:04:28 +01:00
|
|
|
|
<!--@include: ../../docs/images/a11y/alttext-iconbuttons.svg -->
|
2024-06-17 16:12:24 +02:00
|
|
|
|
|
|
|
|
|
|
::: details Code examples
|
|
|
|
|
|
|
|
|
|
|
|
```tsx
|
|
|
|
|
|
// Don't do this
|
|
|
|
|
|
<button class="btn-icon">
|
2025-05-03 09:28:29 +02:00
|
|
|
|
<House/>
|
2024-06-17 16:12:24 +02:00
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
|
|
// Don't do this either
|
|
|
|
|
|
<button class="btn-icon">
|
2025-05-03 09:28:29 +02:00
|
|
|
|
<House aria-label="Home icon"/>
|
2024-06-17 16:12:24 +02:00
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
|
|
// This works but might not be the best solution, see below
|
|
|
|
|
|
<button aria-label="Go to home" class="btn-icon">
|
2025-05-03 09:28:29 +02:00
|
|
|
|
<House/>
|
2024-06-17 16:12:24 +02:00
|
|
|
|
</button>
|
|
|
|
|
|
|
|
|
|
|
|
// Do this instead
|
|
|
|
|
|
<button class="btn-icon">
|
2025-05-03 09:28:29 +02:00
|
|
|
|
<House/>
|
2024-06-17 16:12:24 +02:00
|
|
|
|
<span class="visually-hidden">Go to home</span>
|
|
|
|
|
|
</button>
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
:::
|
|
|
|
|
|
|
|
|
|
|
|
## A note on `aria-label`
|
|
|
|
|
|
|
|
|
|
|
|
Although you could provide accessible labels to your elements via the `aria-label` attribute, we
|
|
|
|
|
|
generally recommend avoiding this and instead suggest that you use your chosen CSS framework's "
|
|
|
|
|
|
visually hidden" utility whenever possible. You can
|
|
|
|
|
|
[read more about why `aria-label` might not be the best solution](https://gomakethings.com/revisting-aria-label-versus-a-visually-hidden-class/).
|
2025-05-03 09:28:29 +02:00
|
|
|
|
|
2024-06-17 16:12:24 +02:00
|
|
|
|
### Example - Radix UI
|
|
|
|
|
|
|
|
|
|
|
|
Use [Radix UI's built-in accessible icon utility component](https://www.radix-ui.com/primitives/docs/utilities/accessible-icon).
|
|
|
|
|
|
|
|
|
|
|
|
```tsx
|
|
|
|
|
|
import { ArrowRightIcon } from 'lucide-react';
|
|
|
|
|
|
import { AccessibleIcon } from '@radix-ui/react-accessible-icon';
|
|
|
|
|
|
|
|
|
|
|
|
<AccessibleIcon label="Next item">
|
|
|
|
|
|
<ArrowRightIcon />
|
|
|
|
|
|
</AccessibleIcon>
|
|
|
|
|
|
```
|
2025-05-03 09:28:29 +02:00
|
|
|
|
|
2024-06-17 16:12:24 +02:00
|
|
|
|
### Example - Bootstrap
|
|
|
|
|
|
|
|
|
|
|
|
```html
|
|
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
<i data-lucide="phone" aria-hidden="true"></i>
|
|
|
|
|
|
<span class="visually-hidden">Phone number</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
### Example - Tailwind CSS
|
|
|
|
|
|
|
|
|
|
|
|
```html
|
|
|
|
|
|
|
|
|
|
|
|
<div>
|
|
|
|
|
|
<i data-lucide="phone" aria-hidden="true"></i>
|
|
|
|
|
|
<span class="sr-only">Phone number</span>
|
|
|
|
|
|
</div>
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
If you're not sure, you may consider learning more
|
|
|
|
|
|
about [how to hide content.](https://www.a11yproject.com/posts/how-to-hide-content/)
|
|
|
|
|
|
|
|
|
|
|
|
## Further resources
|
|
|
|
|
|
|
|
|
|
|
|
We also recommend checking out the following resources about accessibility:
|
|
|
|
|
|
|
|
|
|
|
|
- [Web Content Accessibility Guidelines (WCAG) 2.1](https://www.w3.org/TR/WCAG21/)
|
|
|
|
|
|
- [Web Accessibility Initiative (WAI)](https://www.w3.org/WAI/)
|
|
|
|
|
|
- [Learn accessibility on web.dev](https://web.dev/learn/accessibility)
|
|
|
|
|
|
- [Inclusive Components](https://inclusive-components.design/)
|
|
|
|
|
|
- [A11yTalks](https://www.a11ytalks.com/)
|
|
|
|
|
|
- [A11y automation tracker](https://a11y-automation.dev/)
|
|
|
|
|
|
- [The A11Y Project](https://www.a11yproject.com/)
|
docs(version-1): Version 1 website (#4142)
* Update images
* Adjust color
* update accessebility
* Add matrix hero
* Add typescript documentation
* Add basics section to vue pages
* Add svelte docs
* Fix dynamic sidebar
* Add animation?
* Some adjustments
* Adjust animation
* Updates docs
* Add scaledown animation
* Add docs for vue types
* Fix layout accessibility page
* fix framework select
* adjust easing home animation
* Write docs for Vue
* Adjust animation home
* Adjust home hero animation
* Finish svelte docs
* Add solid pages
* remove spiral animation component
* Add group icons
* Added solid docs
* update preact docs
* Adjust examples preact docs
* Add snackplayer
* Get new editor
* Save this
* Add examples
* Adjust styling
* setup custom sandpack
* Add script
* Format files
* Make sandpack plugin work
* migrate react docs
* Fix svelte and solid examples
* Migrate to solid packages
* Add darkmode package logos
* Fix bug in selector
* migrate vue examples
* migrate advanced vue items
* migrate preact and svelte examples
* Add astro docs
* adding more docs on guide for lucide library
* Fix home animation
* Cleanup
* Added resources page, with more details and content
* Add hero badge for Version 1
* Fix vercel json
* Update missing paths
* Fix build?
* Replace lucide-vue-next
* Fix build
* Add some docs
* update markdown
* Setup angular docs
* Add basic angular docs
* Adjust code examples
* Update title and descriptions
* Update accessibility link
* Update title and description
* Add og image
* Fix alignment
* Add migration guides
* Adjust version 1 markdown file
* Add migration guide to the main list
* Minor fixes
* Update docs
* Apply feedback
* Select icons
* Add pointer events none
* Fix package links homepage
* Format code
* Fix types
* Fix focus
* Fix build
* Fix focus
* Apply feedback
* Adjust imports
* Adjust imports
* Fix search
* Apply feedback
* Fix import in font docs
* Small fixes
* docs(guide): added easter egg icon. stay tuned, guys 😉
* Add llm txt plugin
* Adjust logo top
* docs(version-1): upgraded @lucide/angular guide for v1 website (#4144)
* docs(guide/angular): rewrite some angular documentation
* docs(guide/angular): extens angular guide with combining icons & icon provider guides
* docs(guide/angular): fix angular sandbox, still needs @lucide/angular release tho
* docs(guide/angular): rework the getting started page a bit more, refactor some more prop=>input occurences
* docs(guide/angular): context provider => provideLucideConfig
* Update docs/guide/angular/migration.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Update docs/guide/angular/advanced/combining-icons.md
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
* Apply suggestions from code review
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* docs(guide/angular): rework a11y for better flow & pacing
* docs(guide/angular): salvage original phrase, it has better flow
* docs(guide/angular): some more a11y nitpicking
* docs(guide/angular): reduce llm fatigue
* docs(guides/angular): fix app component selector
* docs(guides/angular): fix angular sandpacks
* Add sandpack angular to improve tree-shakable stack
* Update docs/guide/angular/getting-started.md
* docs(guides/angular): fix user import in combinding icons guide
* docs(guides/angular): fix nested SVG phrasing
* Update docs/guide/angular/advanced/with-lucide-lab.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/angular/advanced/filled-icons.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* docs(guides/angular): fix createLucideIcon guide
* docs(guides/angular): upgrade all relevant angular sandpack demos
---------
Co-authored-by: Eric Fennis <eric.fennis@gmail.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
* fix(docs): add autogenerated OG images to gitignore
* fix(docs): unify the case of "Lucide" & "Lucide Lab" over all docs and readmes
* Fix build
* Add next tag to all installation guides
* Add top bar notification
* Minor fixes
* Update text
* Add todos
* Update og image
* Adjust install command
* Color top bar
* fix(docs): ignore all OG images, expect general.png
* fix(docs): fix the package list, hide @lucide/icons, downgrade angular logo, link to v0 guide, fix package title alignment
* Update docs/.vitepress/theme/components/base/LayoutTop.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/guide/react/advanced/dynamic-icon-component.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update CONTRIBUTING.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update docs/.vitepress/sidebar/resources.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Fix code example
* fix(docs): version 1 => Version 1
* feat(docs): add angular to new features in v1
* Fix next line issue
* feat(docs): fix typo (code example_s_)
* Fix deadlink
* feat(docs): fix some more typos and irky grammar
* feat(docs): fix lowercase lucide in sidebar 😅
* Update docs/guide/version-1.md
Co-authored-by: Karsa <contact@karsa.org>
---------
Co-authored-by: Karsa <contact@karsa.org>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
2026-03-20 17:04:28 +01:00
|
|
|
|
|
|
|
|
|
|
<style>
|
|
|
|
|
|
svg.a11y-example {
|
|
|
|
|
|
max-width: calc(100% + 48px);
|
|
|
|
|
|
margin: 0 -24px;
|
|
|
|
|
|
}
|
|
|
|
|
|
@media (min-width: 480px) {
|
|
|
|
|
|
svg.a11y-example {
|
|
|
|
|
|
margin: 0;
|
|
|
|
|
|
max-width: 100%;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
</style>
|