lucide

Beautiful & consistent icon toolkit made by the community. Open-source project and a fork of Feather Icons.

ISC License

Downloads
8.4M
Stars
10.6K
Committers
171

Bot releases are hidden (Show)

lucide - Packages Update! 📦 v0.170.0

Published by ericfennis over 1 year ago

New feature: absoluteStrokeWidth option

Available for:

  • lucide-react
  • lucide-vue
  • lucide-vue-next
  • lucide-svelte
  • lucide-angular
  • lucide-solid
  • lucide-react-native
  • lucide-preact

Introducing absoluteStrokeWidth, an option to control the behavior of scaling strokeWidth in icons. A new option to control the look of Lucide icons.

By default, scaling up SVG icons will cause the strokeWidth to scale with the viewBox set on the SVG icon.
Setting absoluteStrokeWidth to true, the strokeWidth will remain the same size visually.

Visualised example

Disabled (Default, Current behavior, SVG default behavior)
absoluteStrokeWidth: false

image

Enabled (keeping the set strokeWidth in pixels)
absoluteStrokeWidth: true

image

React Code Example

import { Camera } from 'lucide-react';

const Compo = () => {
  return <Camera color="red" size={48} absoluteStrokeWidth />;
};

export default App;

Update on lucide-angular

The package for angular got a similar API as the other packages. This means it got the same options to customize the look of Lucide Icons as the other packages.

Fixed SSR issues

The package now supports SSR, so you can use Lucide icons in your Angular application when using SSR.

Deprecations

The exported types IconData, IconNode, and Icons have been deprecated in favor of the less generic LucideIconData, LucideIconNode, and LucideIcons. They will still work for now, but be sure to update your code, as they will be removed in v1.0.

Breaking changes

The createElement helper method has been removed since its usage broke SSR and the TrustedHTML support.

Bugs

If you experienced any bugs related to this update, please open an issue.

lucide - New icons v0.169.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.168.0"

New icons 🎨

  • message-square-dashed (#1030) by @danielbayley
  • message-square-plus (#1030) by @danielbayley
  • messages-square (#1030) by @danielbayley
lucide - New icons v0.168.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.167.0"

New icons 🎨

  • folder-git-2 (#1009) by @danielbayley
  • folder-git (#1009) by @danielbayley
lucide - New icons v0.167.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.166.0"

New icons 🎨

  • list-tree (#1114) by @danielbayley
lucide - New icons v0.166.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.165.0"

New icons 🎨

  • test-tube-2 (#992) by @danielbayley
  • test-tube (#992) by @danielbayley
  • test-tubes (#992) by @danielbayley

Modified Icons 🔨

  • flask-round (#992) by @danielbayley
lucide - New icons v0.165.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.164.0"

Modified Icons 🔨

  • bone (#1119) by @jguddas
lucide - New icons v0.164.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.163.0"

New icons 🎨

  • radio-tower (#1070) by @danielbayley

Modified Icons 🔨

  • radio (#1070) by @danielbayley
lucide - New icons v0.163.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.162.0"

Modified Icons 🔨

  • cpu (#1100) by @jguddas
  • usb (#1103) by @jguddas
lucide - New icons v0.162.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.161.0"

New icons 🎨

  • circuit-board (#1065) by @danielbayley
lucide - New icons v0.161.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.160.0"

Modified Icons 🔨

  • database (#1106) by @jguddas
lucide - New icons v0.160.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.159.0"

Modified Icons 🔨

  • vegan (#1104) by @jguddas
lucide - New icons v0.159.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.158.0"

Modified Icons 🔨

  • citrus (#1098) by @jguddas
lucide - New icons v0.158.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.157.0"

Modified Icons 🔨

  • headphones (#1099) by @jguddas
lucide - New icons v0.157.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.156.0"

Modified Icons 🔨

  • key (#1101) by @jguddas
lucide - New icons v0.156.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.155.0"

New icons 🎨

  • circle-equal (#1032) by @danielbayley
  • circle-off (#1032) by @danielbayley
  • circle-slash (#1032) by @danielbayley
lucide - New icons v0.155.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.154.0"

New icons 🎨

  • copy-check (#1027) by @danielbayley
  • copy-minus (#1027) by @danielbayley
  • copy-plus (#1027) by @danielbayley
  • copy-slash (#1027) by @danielbayley
  • copy-x (#1027) by @danielbayley

Modified Icons 🔨

  • copy (#1027) by @danielbayley
lucide - New icons v0.154.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.153.0"

Modified Icons 🔨

  • accessibility (#1076) by @jguddas
  • bike (#1079) by @jguddas
lucide - New icons v0.153.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.152.0"

Modified Icons 🔨

  • alarm-check (#1077) by @jguddas
lucide - New icons v0.152.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.151.0"

Modified Icons 🔨

  • alarm-clock-off (#1078) by @jguddas
  • alarm-clock (#1081) by @jguddas
  • alarm-minus (#1082) by @jguddas
lucide - New icons v0.151.0

Published by ericfennis over 1 year ago

@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.150.0"

Modified Icons 🔨

  • alarm-plus (#1083) by @jguddas
  • youtube (#1084) by @jguddas