Skip to content

Releases: lucide-icons/lucide

Choosing import name style 0.456.0

08 Nov 15:51
f93beca
Compare
Choose a tag to compare

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.

  1. Turn off autocomplete in your IDE:
    Add the following to your settings.json
{
  "typescript.preferences.autoImportFileExcludePatterns": [
    "lucide-react",
    "lucide-preact",
    "lucide-react-native",
    "lucide-vue-next"
  ]
}
  1. 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

08 Nov 08:54
d2f7a09
Compare
Choose a tag to compare

New icons 🎨

Modified Icons 🔨

New icons 0.454.0

28 Oct 13:42
dcd19ce
Compare
Choose a tag to compare

Modified Icons 🔨

New icons 0.453.0

15 Oct 02:12
757bf0f
Compare
Choose a tag to compare

New icons 🎨

New icons 0.452.0

11 Oct 18:30
4d98681
Compare
Choose a tag to compare

Modified Icons 🔨

New icons 0.451.0

08 Oct 09:10
bde9e1c
Compare
Choose a tag to compare

Modified Icons 🔨

New icons 0.450.0

08 Oct 08:35
13cea45
Compare
Choose a tag to compare

Modified Icons 🔨

New icons 0.449.0

08 Oct 08:20
2e1a5cf
Compare
Choose a tag to compare

New icons 🎨

New icons 0.448.0

08 Oct 08:18
f49ecd7
Compare
Choose a tag to compare

New icons 🎨

New icons 0.447.0

01 Oct 20:14
542507f
Compare
Choose a tag to compare
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