diff --git a/.gitignore b/.gitignore
index 41a9f0839..a4016ec89 100644
--- a/.gitignore
+++ b/.gitignore
@@ -20,6 +20,8 @@ packages/**/src/icons/*.tsx
packages/**/src/aliases/*.ts
packages/**/src/aliases.ts
!packages/**/src/aliases/index.ts
+packages/**/src/utils/*.ts
+!packages/shared/src/utils/*.ts
packages/**/src/dynamicIconImports.ts
packages/**/DynamicIcon.d.ts
packages/**/dynamicIconImports.js
diff --git a/README.md b/README.md
index 1d2ea701c..ab0c51018 100644
--- a/README.md
+++ b/README.md
@@ -88,7 +88,16 @@ Thank you to all the people who contributed to Lucide!
+[//]: <> (Open Collective backers)
### Awesome backers 🍺
-
-
+
+
+
+### Backers ☕
+
+
+
+### Other contributors 💸
+
+You can find all our past and non-recurring financial contributors at [our Open Collective page](https://opencollective.com/lucide-icons).
diff --git a/docs/.vitepress/theme/components/base/Input.vue b/docs/.vitepress/theme/components/base/Input.vue
index 33134c9b9..1bac147ba 100644
--- a/docs/.vitepress/theme/components/base/Input.vue
+++ b/docs/.vitepress/theme/components/base/Input.vue
@@ -35,6 +35,8 @@ const updateShortcutSpacing = () => {
});
};
+const isMac = /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform);
+
onMounted(updateShortcutSpacing);
watch(() => props.shortcut, updateShortcutSpacing);
@@ -73,6 +75,7 @@ defineExpose({
v-if="type === 'search' && modelValue"
class="clear-button"
aria-label="Clear input"
+ :style="{ right: isMac ? '50px' : '68px' }"
>
diff --git a/docs/guide/advanced/accessibility.md b/docs/guide/advanced/accessibility.md
index 131928c2a..b868a9d63 100644
--- a/docs/guide/advanced/accessibility.md
+++ b/docs/guide/advanced/accessibility.md
@@ -10,6 +10,11 @@ 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.
+::: info
+By default, we hide icons from screen readers using `aria-hidden="true"`.
+You can make them accessible yourself by following the guidelines below.
+:::
+
## Provide visible labels
Icons are a helpful tool to improve perception, but they aren't a replacement for text.
diff --git a/docs/guide/packages/lucide-angular.md b/docs/guide/packages/lucide-angular.md
index 737ccc01f..240f75472 100644
--- a/docs/guide/packages/lucide-angular.md
+++ b/docs/guide/packages/lucide-angular.md
@@ -167,3 +167,15 @@ import { coconut } from '@lucide/lab';
})
export class AppModule { }
```
+
+## Accessibility
+
+By default, we hide icons from screen readers using `aria-hidden="true"`.
+
+You can add accessibility attributes using aria-labels.
+
+```html
+
+```
+
+For best practices on accessibility, please see our [accessibility guide](../advanced/accessibility.md).
diff --git a/docs/guide/packages/lucide-astro.md b/docs/guide/packages/lucide-astro.md
index 0ae1525d4..937da2918 100644
--- a/docs/guide/packages/lucide-astro.md
+++ b/docs/guide/packages/lucide-astro.md
@@ -192,3 +192,19 @@ import LucideIcon from './LucideIcon.astro';
```
+
+## Accessibility
+
+By default, we hide icons from screen readers using `aria-hidden="true"`.
+
+You can add accessibility attributes using aria-labels.
+
+```jsx
+---
+import { Check } from '@lucide/astro';
+---
+
+
+```
+
+For best practices on accessibility, please see our [accessibility guide](../advanced/accessibility.md).
diff --git a/docs/guide/packages/lucide-preact.md b/docs/guide/packages/lucide-preact.md
index 817acbdf1..4585af11f 100644
--- a/docs/guide/packages/lucide-preact.md
+++ b/docs/guide/packages/lucide-preact.md
@@ -131,3 +131,19 @@ const App = () => {
export default App;
```
+
+## Accessibility
+
+By default, we hide icons from screen readers using `aria-hidden="true"`.
+
+You can add accessibility attributes using aria-labels.
+
+```jsx
+import { Check } from 'lucide-preact';
+
+const App = () => {
+ return ;
+};
+```
+
+For best practices on accessibility, please see our [accessibility guide](../advanced/accessibility.md).
diff --git a/docs/guide/packages/lucide-react.md b/docs/guide/packages/lucide-react.md
index ac34ba186..79e9dcb4c 100644
--- a/docs/guide/packages/lucide-react.md
+++ b/docs/guide/packages/lucide-react.md
@@ -109,3 +109,19 @@ const App = () => (
);
```
+
+## Accessibility
+
+By default, we hide icons from screen readers using `aria-hidden="true"`.
+
+You can add accessibility attributes using aria-labels.
+
+```jsx
+import { Check } from 'lucide-react';
+
+const App = () => {
+ return ;
+};
+```
+
+For best practices on accessibility, please see our [accessibility guide](../advanced/accessibility.md).
diff --git a/docs/guide/packages/lucide-solid.md b/docs/guide/packages/lucide-solid.md
index 5f76d4fc3..57641c287 100644
--- a/docs/guide/packages/lucide-solid.md
+++ b/docs/guide/packages/lucide-solid.md
@@ -144,3 +144,19 @@ const App = () => {
export default App;
```
+
+## Accessibility
+
+By default, we hide icons from screen readers using `aria-hidden="true"`.
+
+You can add accessibility attributes using aria-labels.
+
+```jsx
+import { Check } from 'lucide-solid';
+
+const App = () => {
+ return ;
+};
+```
+
+For best practices on accessibility, please see our [accessibility guide](../advanced/accessibility.md).
diff --git a/docs/guide/packages/lucide-svelte.md b/docs/guide/packages/lucide-svelte.md
index eebe1ebac..e3ba6d25d 100644
--- a/docs/guide/packages/lucide-svelte.md
+++ b/docs/guide/packages/lucide-svelte.md
@@ -331,3 +331,19 @@ The example below imports all ES Modules, so exercise caution when using it. Imp
```
+
+## Accessibility
+
+By default, we hide icons from screen readers using `aria-hidden="true"`.
+
+You can add accessibility attributes using aria-labels.
+
+```svelte
+
+
+
+```
+
+For best practices on accessibility, please see our [accessibility guide](../advanced/accessibility.md).
diff --git a/docs/guide/packages/lucide.md b/docs/guide/packages/lucide.md
index 5125865e2..4f95a57db 100644
--- a/docs/guide/packages/lucide.md
+++ b/docs/guide/packages/lucide.md
@@ -62,6 +62,7 @@ Here is a complete example with unpkg
+
+
+
+
+