Skip to content

🐛 Issue: Icons don’t support auto-import and autocomplete #160

@dev-phantom

Description

@dev-phantom

Description

When using remixicon-react, icons don’t show up with autocomplete / IntelliSense in editors like VS Code. Unlike libraries such as lucide-react or @heroicons/react, I have to manually import each icon:

import Home2FillIcon from "remixicon-react/Home2FillIcon";

It would be much smoother if the package supported auto-import and editor autocomplete, so I could just type <Home2FillIcon /> and have the IDE suggest it / auto-import it.


Expected Behavior

  • Typing <Home... in JSX should show available icons.
  • Selecting an icon should automatically insert the correct import statement.

Actual Behavior

  • No autocomplete suggestions for icon names.
  • Imports must be written manually for each icon.

Possible Solutions / Suggestions

  • Provide a single entrypoint (like lucide-react) where all icons are exported for autocomplete.
  • Consider generating a index.d.ts file with proper type exports for all icons.

Environment

  • Editor: VS Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions