Draw the icons in a React Native or Expo app as SVG components through react-native-svg. Icon fonts, where most apps start, paint each icon in a single colour and can't draw until their font has loaded. Expo's own guide now says @expo/vector-icons “will be deprecated and is not recommended”. SVG asks for one native dependency and one habit: import each icon from its own path.
One row below is this site's own package, held to the same tests as the other five.
Most apps start on a font
| Package | Draws with | Styles | Smallest import | Weekly downloads |
|---|---|---|---|---|
| Icon fonts | Each font's own | A font family | 7,772,793 | |
| Icon fonts | Each font's own | A font family | 718,884 | |
| SVG | Outline | One icon | 3,551,380 | |
| SVG | Six weights | One icon | 414,037 | |
| SVG | Outline, filled for some | One icon | 278,956 | |
| SVG | Stroke, two-tone, duotone and fill, each rounded or sharp | One icon | 583 |
react-native-vector-iconsis deprecated on npm in favour of one package per font, such as@react-native-vector-icons/ionicons, which is also where Expo's guide sends you.lucide-react-nativeis the same drawings aslucide-react, so a web app and its phone app can match. It has no filled style for a selected tab.phosphor-react-nativedraws each icon in six weights, picked with aweightprop.@tabler/icons-react-nativehas the most icons of the SVG sets, with a filled version for some of them.- Keyline has all eight versions of every icon and the same names as its web package. It's also the youngest here by a wide margin: 583 downloads in that week against millions.
Nothing passes a colour down
On the web an icon takes the colour of the text around it through currentColor. A native view has no CSS to inherit from, so react-native-svg reads currentColor off the icon's own color prop. Leave it out and the icon keeps its package's default, black in Keyline's case, which disappears the day the app gets a dark mode. Pass it once, in a wrapper every icon goes through:
import { useColorScheme } from "react-native"
import { Bell } from "@keyline-icons/react-native/icons/bell"
export function TabIcon() {
const dark = useColorScheme() === "dark"
return <Bell color={dark ? "#fafafa" : "#0a0a0a"} />
}One color sets both tones in two-tone and duotone, because the grey part is the same colour at 40% opacity. A font glyph can't do that: a second tone means stacking a second glyph.
icons/bell to fill/icons/bell for the bell.One import can carry every icon
Metro, the bundler React Native ships with, keeps everything a module exports, used or not. If a package holds its icons in one module, or re-exports them all from one index, import { Check } brings every icon with it.
import { Check } from "@keyline-icons/react-native" // 1,004 KB
import { Check } from "@keyline-icons/react-native/icons/check" // 0.7 KBThe root import is every stroke icon in the set, for one check mark, measured in a minified production bundle from Metro 0.87. Keyline's package only had that kind of import until this measurement. Lucide, Phosphor and Tabler each publish a path per icon for the same reason.
Expo strips unused exports from production builds from SDK 54, and its docs still call that very experimental. Development builds and plain React Native keep everything, so import from the icon's own path and it stops mattering which one you're on.
Getting it
Install in React Native One command in Expo, every entry point, and the per-icon paths.
Icons on a phone screen A whole phone app drawn with the set, switchable between styles.
Browse the icons Every drawing, all four styles, both corner shapes.