shadcn icon libraries compared, from Lucide to Remix Icon
October 23, 2026 · 5 min read
Icons show up all over a Shadcn UI interface: in buttons, menus, inputs, sidebars, toasts and empty states. Swapping the icon library changes the feel of an app more than you'd expect. Shadcn UI presets support five libraries, and the iconLibrary field in a preset decides which one your components use. This guide compares them on set size, stroke, personality and fit, so you can pick one with confidence.
At a glance
| Library | Approx. icons | Variants | Personality |
|---|---|---|---|
| Lucide | Over 1,600 | Outline, consistent 2px stroke | Clean, neutral, the shadcn default |
| Tabler | Over 5,000 | Outline (plus some filled) | Friendly, slightly rounded |
| Hugeicons | Over 4,000 free | Free stroke set | Modern, polished, a little softer |
| Phosphor | About 1,500, in six weights | Thin, light, regular, bold, fill, duotone | Flexible, expressive |
| Remix Icon | Over 2,800 | Line and fill | Sharp, systematic, product-focused |
All five work with every shadcn style and every color combination. The choice is about tone and coverage.
Lucide
Lucide is the default icon library for Shadcn UI, so most examples and docs use it. It's a community fork of Feather Icons with a consistent 2px stroke and a neutral, geometric look.
Pick Lucide when:
- You want the most "standard" shadcn look.
- You'll copy code from docs and examples and want the icons to match.
- You need a clean, unobtrusive set that doesn't compete with your content.
The trade-off is that Lucide is familiar. If you want your product to look less like every other shadcn app, one of the others is an easy way to stand out.
Tabler
Tabler Icons is the largest set here, with over 5,000 icons under the MIT license. The stroke is slightly rounder and friendlier than Lucide, and the coverage is broad. You're unlikely to run out of icons for niche features like specific file types, devices or brands.
Pick Tabler when:
- Your app covers a lot of domains and needs a deep catalog.
- You want something close to Lucide in spirit but a bit warmer.
- You're building dashboards, admin panels or developer tools.
Hugeicons
Hugeicons offers a large free set of over 4,000 icons. In shadcn presets it's used through the @hugeicons/react and @hugeicons/core-free-icons packages. The icons feel modern and carefully drawn, with slightly softer corners than Lucide.
Pick Hugeicons when:
- You want a contemporary, polished look for a SaaS or consumer app.
- You're using a soft style like Maia, Luma or Rhea and want icons to match.
- You want a large free set with a distinct identity.
Hugeicons appears in many of our softer presets, such as Purple Drift and Violet Beacon.
Phosphor
Phosphor has about 1,500 icons, each drawn in six weights: thin, light, regular, bold, fill and duotone. That makes it the most flexible library here. You can use a light weight for an airy marketing site, or bold and fill for a high-impact dashboard, without switching libraries.
Pick Phosphor when:
- You want visual hierarchy within the icon set (for example, filled icons for active nav items).
- Your design is expressive, editorial or playful.
- You like the option of duotone icons for illustrations and empty states.
Phosphor pairs well with editorial setups. Green Willow combines it with the Sera style and serif headings.
Remix Icon
Remix Icon has over 2,800 icons, most of them in both line and fill variants. The drawing is crisp and systematic, with a slightly more geometric feel than Lucide. Paired line and fill versions make it easy to show state, like an outlined star that becomes a filled star.
Pick Remix Icon when:
- You need clear line/fill pairs for toggles and active states.
- Your app is a productivity tool, dashboard or technical product.
- You're using a sharp, compact style like Lyra or Mira.
How to choose
A few practical rules:
- Match the style's geometry. Sharp, square styles (Lyra, Sera, Mira) look good with crisp icons like Remix Icon, Tabler or Lucide. Rounded styles (Maia, Luma, Rhea) suit Hugeicons, Phosphor or Tabler.
- Check coverage early. List the icons your product needs (navigation, file types, social logos, status) and confirm the library has them before you commit. Tabler and Hugeicons have the deepest catalogs.
- Think about state. If you rely on filled vs outlined icons to show selection, Phosphor or Remix Icon make that easy.
- Stay consistent. Mixing libraries in one interface is usually noticeable. Stroke widths, corner radii and optical sizes rarely line up.
See shadcn styles compared for more on each style.
Switching icon libraries
The icon library is part of the preset code. When you start a new project from a preset, components are set up with that library:
npx shadcn@latest init --preset <code>
To check which library a preset uses before installing it, decode the code:
npx shadcn@latest preset decode <code>
The output includes the iconLibrary field along with style, colors, fonts and radius. To browse presets by icon library, open a library page such as /icons/phosphor, or try each one live in the preset builder. The preset builder renders shadcnblocks blocks, so you can see the icons in real navbars, feature grids and dashboards rather than in a grid of glyphs.
FAQ
Which icon library does Shadcn UI use by default?
Lucide. Most Shadcn UI documentation and examples use it, which is why it's the most common choice.
Are all five libraries free to use?
Yes. Lucide, Tabler, Phosphor and Remix Icon are open source, and presets use the free Hugeicons set. Check each project's license if you have specific redistribution needs.
Can I use more than one icon library?
You can install extra packages yourself, but a preset sets one library for its components. Mixing libraries tends to look inconsistent, so stick to one unless there's a clear reason.
Does the icon library affect bundle size?
All five support importing individual icons, so you only ship the icons you use. The size of the full set doesn't matter much in practice.