@heroicons/react vs lucide-react

Side-by-side comparison of @heroicons/react and lucide-react

@heroicons/react v2.2.0 MIT
Weekly Downloads
2.4M
Stars
23.3K
Gzip Size
224 B
License
MIT
Last Updated
4mo ago
Open Issues
1
Forks
1.3K
Unpacked Size
3.7 MB
Dependencies
1
lucide-react v0.563.0 ISC
Weekly Downloads
29.4M
Stars
21.0K
Gzip Size
162.3 kB
License
ISC
Last Updated
2d ago
Open Issues
500
Forks
1.2K
Unpacked Size
36.2 MB
Dependencies
2

Download Trends

Download trends for @heroicons/react and lucide-react021.4M42.9M64.3M85.7MFeb 25May 25Aug 25Nov 25Feb 26
@heroicons/react
lucide-react

Verdict

@heroicons/react focuses on providing a cohesive set of high-quality icons specifically designed for use with Tailwind CSS. This package is ideal for developers aiming for consistency in styling and design within React projects that utilize Tailwind, and its popularity is reflected in its high download count and GitHub stars.

In contrast, lucide-react serves a broader purpose with a wide variety of icons and is suitable for diverse applications beyond Tailwind. Its higher weekly downloads suggest that it may cater to a larger audience or have a richer icon set. Choosing between them may depend on the specific design requirements of your project, existing stylistic alignments, or familiarity with Tailwind CSS.

Migration considerations might include the potential need to adapt to different icon naming conventions or styles. While @heroicons/react offers a smaller bundle size, lucide-react provides more functionality at the cost of a larger footprint and unaddressed open issues. Assessing the trade-offs in complexity and size is essential before making a decision.

Detailed Comparison

Criteria @heroicons/react lucide-react
License MIT license offering flexible usage. ISC license also allows for liberal usage similar to MIT.
Open Issues Minimal at just 1 open issue, indicating fewer known problems. Higher at 498, potentially signaling more ongoing development concerns.
GitHub Stars Impressive 23.3K stars reflecting developer appreciation. Well-received with 21.0K stars, indicating solid community support.
Last Updated Last updated on 2025-09-18, showing recent activity. More recent updates with last record on 2026-02-06, keeping it current.
Unpacked Size Relatively small at 3.7 MB, making it lightweight. Larger at 36.2 MB, which could affect load times.
Weekly Downloads Consistent 2.4M downloads indicating moderate popularity. Higher at 29.8M, suggesting extensive use across different projects.
Bundle Size (gzip) Minimal at 224 B, enhancing performance. Larger at 162.3 kB, which may be a consideration for performance-sensitive apps.
Overall Positioning Best for Tailwind CSS projects needing cohesive icon design. Broader icon set for various applications, appealing to a wider audience.
Topics and Keywords Focused on icons with strong Tailwind appeal. Diverse range of topics suggesting broader applicability.
Community Engagement Active with 1.3K forks encouraging contributions. Similar at 1.2K forks, showing decent community involvement.
Use Case Flexibility Best suited for Tailwind-focused projects. Versatile for a variety of React applications including UI components.

Related Comparisons