Beautiful & consistent icon toolkit made by the community. Open-source project and a fork of Feather Icons.
ISC License
Bot releases are hidden (Show)
Published by ericfennis over 1 year ago
absoluteStrokeWidth
optionAvailable 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.
Disabled (Default, Current behavior, SVG default behavior)
absoluteStrokeWidth: false
Enabled (keeping the set strokeWidth in pixels)
absoluteStrokeWidth: true
import { Camera } from 'lucide-react';
const Compo = () => {
return <Camera color="red" size={48} absoluteStrokeWidth />;
};
export default App;
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.
The package now supports SSR, so you can use Lucide icons in your Angular application when using SSR.
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.
The createElement
helper method has been removed since its usage broke SSR and the TrustedHTML support.
If you experienced any bugs related to this update, please open an issue.
Published by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.168.0"
message-square-dashed
(#1030) by @danielbayleymessage-square-plus
(#1030) by @danielbayleymessages-square
(#1030) by @danielbayleyPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.167.0"
folder-git-2
(#1009) by @danielbayleyfolder-git
(#1009) by @danielbayleyPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.166.0"
list-tree
(#1114) by @danielbayleyPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.165.0"
test-tube-2
(#992) by @danielbayleytest-tube
(#992) by @danielbayleytest-tubes
(#992) by @danielbayleyflask-round
(#992) by @danielbayleyPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.164.0"
bone
(#1119) by @jguddasPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.163.0"
radio-tower
(#1070) by @danielbayleyradio
(#1070) by @danielbayleyPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.162.0"
cpu
(#1100) by @jguddasusb
(#1103) by @jguddasPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.161.0"
circuit-board
(#1065) by @danielbayleyPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.160.0"
database
(#1106) by @jguddasPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.159.0"
vegan
(#1104) by @jguddasPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.158.0"
citrus
(#1098) by @jguddasPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.157.0"
headphones
(#1099) by @jguddasPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.156.0"
key
(#1101) by @jguddasPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.155.0"
circle-equal
(#1032) by @danielbayleycircle-off
(#1032) by @danielbayleycircle-slash
(#1032) by @danielbayleyPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.154.0"
copy-check
(#1027) by @danielbayleycopy-minus
(#1027) by @danielbayleycopy-plus
(#1027) by @danielbayleycopy-slash
(#1027) by @danielbayleycopy-x
(#1027) by @danielbayleycopy
(#1027) by @danielbayleyPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.153.0"
accessibility
(#1076) by @jguddasbike
(#1079) by @jguddasPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.152.0"
alarm-check
(#1077) by @jguddasPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.151.0"
alarm-clock-off
(#1078) by @jguddasalarm-clock
(#1081) by @jguddasalarm-minus
(#1082) by @jguddasPublished by ericfennis over 1 year ago
@ generate:changelog /home/runner/work/lucide/lucide
node ./scripts/generateChangelog.mjs "--old-tag=v0.150.0"
alarm-plus
(#1083) by @jguddasyoutube
(#1084) by @jguddas