Releases: lucide-icons/lucide
Releases · lucide-icons/lucide
Choosing import name style 0.456.0
What's Changed
- ci(pull-request): Fix generate comments for empty changes by @ericfennis in #2593
- feat(lucide-react, lucide-preact, lucide-react-native, lucide-solid, lucide-vue-next): Adjustable icon naming imports by @ericfennis in #2328
- fix(icons): changed
glass-water
icon by @jguddas in #2579
Adjustable icon naming imports
Customize import name styles for lucide-react
, lucide-vue
, lucide-react-native
, lucide-preact
, to manage autocompletion in your IDE.
- Turn off autocomplete in your IDE:
Add the following to yoursettings.json
{
"typescript.preferences.autoImportFileExcludePatterns": [
"lucide-react",
"lucide-preact",
"lucide-react-native",
"lucide-vue-next"
]
}
- Create a custom module declaration file:
It allows you to choose the import name style.
For React:
declare module "lucide-react" {
// Prefixed import names
export * from "lucide-react/dist/lucide-react.prefixed";
// or
// Suffixed import names
export * from "lucide-react/dist/lucide-react.suffixed";
}
For Vue:
declare module "lucide-vue-next" {
// Prefixed import names
export * from "lucide-vue-next/dist/lucide-vue-next.prefixed";
// or
// Suffixed import names
export * from "lucide-vue-next/dist/lucide-vue-next.suffixed";
}
New icons 0.455.0
New icons 0.454.0
New icons 0.453.0
New icons 🎨
calendar-1
(#2520) by @peteruithoven
New icons 0.452.0
Modified Icons 🔨
align-center
(#2528) by @jamiemlawalign-justify
(#2528) by @jamiemlawalign-left
(#2528) by @jamiemlawalign-right
(#2528) by @jamiemlawindent-decrease
(#2528) by @jamiemlawindent-increase
(#2528) by @jamiemlawlist-ordered
(#2528) by @jamiemlawlist
(#2528) by @jamiemlaw
New icons 0.451.0
New icons 0.450.0
Modified Icons 🔨
move-diagonal-2
(#2513) by @jamiemlawmove-diagonal
(#2513) by @jamiemlawmove-horizontal
(#2513) by @jamiemlawmove-vertical
(#2513) by @jamiemlawmove
(#2513) by @jamiemlaw
New icons 0.449.0
New icons 0.448.0
New icons 🎨
eye-closed
(#2349) by @karsa-mistmere
New icons 0.447.0
fix(icons): rename `box-select` to `square-dashed` (#2506) * Rename box-select.svg to square-dashed.svg * Update and rename box-select.json to square-dashed.json * Add aliases