Lucide React Icon Suffix

1.0.2Last update Feb 5, 2025
by@valentinh

This is a codemod created with codemod init.

It will rename all imports of Lucide icons to include the Icon suffix.

Using this codemod

You can run this codemod with the following command:

npx codemod lucide-react-icon-suffix

Before

import { XIcon, Search } from 'lucide-react';

After

import { XIcon, SearchIcon } from 'lucide-react';

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now