React Native Available

The icons as components for React Native and Expo. They are drawn with react-native-svg, so they are sharp at any size and take any color.

Install

terminal
npm install @rdicons/react-native react-native-svg
# Expo: npx expo install react-native-svg
tsx
import { House, Bell } from '@rdicons/react-native/lucide'
import { Rocket } from '@rdicons/react-native/rd'

<House size={28} color="#4f46e5" />
<Bell title="Notifications" />
<Rocket strokeWidth={2} />

Every library has its own path (/lucide, /tabler, /ph, /rd and so on). Each icon page shows the exact name.

Props

PropDefaultWhat it does
size24Width and height in px
color#000000Stroke or fill color. React Native has no inherited text color for SVG, so pass it.
strokeWidththe icon's ownReplaces the stroke width of outline icons
titlenoneAccessible name. Without it the icon is hidden from screen readers.

Keep the app small

Metro, the React Native bundler, does not drop unused exports, so importing from a library path bundles that whole library. For a handful of icons, copy only those into your project:

terminal
npx rdicons add lucide:house lucide:bell rd:rocket --format rn --out src/icons

That writes one .tsx file per icon that needs only react-native-svg. Colour effects work too: add --gradient "#ec4899,#4f46e5" or --duotone. See the command line page.

Animation

The rd icons can move, with React Native's own Animated (no extra library). It is the same animation as on the web, for every rd icon.

tsx
import { Bell, Rocket } from '@rdicons/react-native/rd'

<Bell animate />                      // plays once when it appears
<Rocket animate="loop" speed={1.5} /> // repeats: loading states

const ref = useRef<RdIconHandle>(null)
<Pressable onPress={() => ref.current?.play()}>
  <Bell ref={ref} />
</Pressable>
  • animate: true or "play" plays once each time it turns on; "loop" repeats. Other libraries ignore it.
  • It stops when the device asks for reduced motion.
  • Colour effects work on animated icons too: <Bell animate gradient={['#ec4899', '#4f46e5']} />.
  • @rdicons/react-native/rd-static is the same library without the animation data, about 60% smaller, for apps that do not animate.