Solar Icons v2 is in beta. APIs may change before the stable release. Report issues
Solar Icons

Solar Icons

1,246 icons in 6 styles. One package per framework. CSS variables, duotone, and tree-shakable imports.

Solar Icons v2 is in beta. Report issues on GitHub.

Solar Icons gives you 1,246 distinct icons in six styles: Bold, Linear, Outline, BoldDuotone, LineDuotone, and Broken. With 7,476 total variations.

Frameworks

What changed in v2

The v2 release unifies the library under a single API across every framework.

  • One package per framework. @solar-icons/react, @solar-icons/vue, @solar-icons/svelte, @solar-icons/solid, @solar-icons/angular, @solar-icons/react-native, and @solar-icons/nuxt. V2 merges @solar-icons/react-perf into @solar-icons/react.
  • Classic mode by default. Every icon ships with a single style per component, tree-shakable at the import level. Dynamic style switching uses a separate dynamic import path.
  • CSS variable cascade. SolarProvider sets --solar-color, --solar-size, --solar-stroke-width, and duotone variables on a wrapper element. Icons inherit these through normal CSS inheritance, no re-renders on change.
  • Duotone built in. secondaryColor and secondaryOpacity props control the duotone accent path.
  • Stroke width control. Linear, Broken, and LineDuotone icons accept strokeWidth. Default is 1.5.
  • Icon suffix on component names. HomeBoldIcon, not Home. Angular uses a Solar prefix (SolarHomeBold) instead.
  • Kebab-case import paths. @solar-icons/react/bold/heart, not @solar-icons/react/Bold/Heart.

Icons page

Browse and search all 1,246 icons with live style previews, color controls, and duotone configuration.

Explore Icons →

Migration

If you are upgrading from an older version, follow the migration guide for a step-by-step walkthrough of every breaking change.

Acknowledgements

This project wraps the Solar Icon Set created by 480 Design, licensed under CC BY 4.0.

Design inspiration comes from Phosphor Icons and Lucide Icons.

How is this guide?

Last updated on

On this page