Diego MurilloCDMX
← Resources
TemplateNovember 10, 2026Guide · App design

Icons for your app: free libraries, one stroke

Five free icon libraries with licenses you can actually use in your app, how to pick one, how to install it in React, React Native, and Flutter, how to go from emojis to icons with before-and-after examples, a ready-made prompt for your AI, and how to keep one stroke, weight, and size.

Comment ICONOSCame from my video? Here’s what I promised.
The full guide

From emojis to icons, without mixing styles

This guide is for when you’ve already decided to swap your app’s emojis for icons and want to do it without ending up with a mix of styles. Kipu uses Lucide.

Emoji or icon

An emoji is drawn by each phone’s system, so it looks different depending on the brand and the version.

An icon from a library is a file: your app draws it the same on every phone, and you control the stroke, the size, and the color.

1 · The libraries

Five free libraries, compared

All of them can be used in a commercial app. Check the license file of the package you install.

LibraryLicenseHow many iconsStylesPackage (React)
LucideISC (the ones derived from Feather, MIT)More than 1,600Stroke (outline)lucide-react
Tabler IconsMIT6,287: 5,233 outline and 1,054 filledOutline and filled@tabler/icons-react
PhosphorMIT1,2486 weights: thin, light, regular, bold, fill, duotone@phosphor-icons/react
HeroiconsMIT—4 variants: outline 24, solid 24, solid 20, solid 16@heroicons/react
Material Symbols (Google)Apache 2.0More than 2,500Variable font with 4 axes: fill, weight, grade, and optical sizeWeb: material-symbols (npm)

And where each one installs:

ReactReact NativeFlutterVue
Lucidelucide-reactlucide-react-native (needs react-native-svg 12 to 15)lucide_icons_flutter (community, MIT)@lucide/vue
Tabler@tabler/icons-react@tabler/icons-react-nativeflutter_tabler_icons (community, MIT)@tabler/icons-vue
Phosphor@phosphor-icons/reactphosphor-react-native (community)phosphor_flutter (MIT)@phosphor-icons/vue
Heroicons@heroicons/reactUse the SVG (section 6)heroicons (community)@heroicons/vue
Material Symbolsmaterial-symbols (web font)Use the SVG (section 6)Use the SVG (section 6)material-symbols (web font)
The Flutter packages for Lucide, Tabler, and Heroicons are published by third parties, not by the projects: they work, but check that they’re maintained before you depend on them. Phosphor has no official React Native package; the one you install is a community port.
2 · Pick

How to pick one

  1. Does it have the icons your app needs?

    First make the list of what you use (section 4) and look them up in the library’s search. If several of the ones you use most are missing, try another.

  2. Does it work on your platform?

    Check the second table. If there’s no package for yours, use SVG (section 6).

  3. What weight do you need?

    An app almost always uses a single stroke. If you want to switch between outline and filled for states (active, inactive), Phosphor and Tabler ship both versions of the same icon.

  4. Does the license let you use it?

    All the ones above are MIT, ISC, or Apache 2.0: commercial use allowed.

  5. Pick one and stick with it.

    Don’t mix two libraries: the stroke and the corners never match.

3 · Install

How to install it

React / web. With Lucide:

terminal
npm install lucide-react
React
import { Camera } from 'lucide-react';

const App = () => <Camera />;

To change an icon’s stroke:

React
<Camera strokeWidth={1.5} />

In Lucide the default stroke is 2 px and it scales with the size. The nonScalingStroke prop keeps it fixed no matter the size.

Phosphor installs like this:

terminal
npm i @phosphor-icons/react

It takes color, size, and weight. With IconContext.Provider you set the defaults once for the whole app, and each icon can override them.

Tabler: @tabler/icons-react, with the stroke prop for the width.

Material Symbols on the web (Apache 2.0):

terminal
npm install material-symbols

React Native.

terminal
npx expo install react-native-svg   # if you use Expo
npm install lucide-react-native
React Native
import { Camera } from 'lucide-react-native';

const App = () => <Camera />;

Without Expo, install react-native-svg with npm and run this:

terminal
cd ios && pod install

Lucide needs react-native-svg between versions 12 and 15.

If you use @expo/vector-icons, heads-up: the Expo docs say that package will be deprecated and don’t recommend it; they point you to @react-native-vector-icons.

Flutter. In pubspec.yaml:

pubspec.yaml
lucide_icons_flutter: ^4.0.3
Dart
import 'package:lucide_icons_flutter/lucide_icons.dart';

Icon(LucideIcons.activity);

With Phosphor:

pubspec.yaml
phosphor_flutter: ^2.1.0
Dart
import 'package:phosphor_flutter/phosphor_flutter.dart';

PhosphorIcon(PhosphorIconsFill.notePencil, color: Colors.green, size: 30.0)

Phosphor recommends using the per-style classes (PhosphorIconsBold, PhosphorIconsThin…) instead of PhosphorIcons.pencil(PhosphorIconsStyle.fill), because that form blocks tree shaking.

4 · Switch

From emojis to icons, step by step

  1. List every emoji you use as an icon.

    Search the code for emojis and the database for the fields where you store one (categories, statuses, onboarding). Note where each one shows up.

  2. Find its match in the library you picked.

    One icon per emoji. The ones with no match go on a separate list: those are the candidates for a custom icon (section 6).

  3. Change the data, not just the screen.

    If the emoji lives in your database as text, store an icon name instead (for example supermercado) and let the app decide how to draw it. That way, switching libraries later means touching one place.

  4. Do it in a single component.

    The one in section 5, not emoji by emoji on every screen.

  5. Check what your users already saved.

    If there’s already data with emojis, convert it once and test it on a copy.

  6. Walk through the whole app at the end.

    Go through every screen to make sure no stray emoji is left.

Before and after, with Lucide. Every name exists on lucide.dev. In React you import it in PascalCase (dumbbell is Dumbbell).

EmojiLucide iconName on lucide.devWhat it’s for in an app
💪dumbbellGym, exercise
🏥hospitalHealth, appointments
❓circle-question-markAnything without a category
🛒shopping-cartGroceries, shopping
🍴utensilsRestaurants, eating out
🏠houseRent, home

In code, the same change looks like this:

Before and after
// Before
<span>💪 Gym</span>

// After
import { Dumbbell } from 'lucide-react';
<span><Dumbbell size={20} strokeWidth={1.75} /> Gym</span>
  • Why switch.

    The emoji is drawn by each phone’s system and changes shape and color; the icon is the same file everywhere.

  • A colored circle behind it.

    The circle sets the color and the icon stays single-tone, so it fits the rest of the app.

The prompt so your AI does it for you. Paste it into Claude Code, Cursor, or whatever tool you code with, from your project’s root. Change what’s in brackets.

prompt.txt
I want to replace the emojis I use as icons in my app with icons from a library.

Context: my project uses [React / React Native / Flutter] and the icon library will be [Lucide, or whichever you prefer].

Step 1. Only search, don't change anything yet.
Find every emoji used as an icon in the code, in config files, and in stored data (categories, statuses, onboarding, buttons). Don't count emojis that are part of text a user wrote.
Give me a table with: file and line, the emoji, what it stands for, and which icon from the library you suggest. Only use icon names that exist in the library; if you're not sure about one, tell me.

Step 2. Wait for my go-ahead.
Don't touch any file until I tell you which ones. Also tell me if any emoji is stored in the database, because that change needs its own migration and you shouldn't do it without asking me.

Step 3. Do it through a single component.
Create an Icon component (or the equivalent) that every icon goes through:
- It takes the icon name and a size from three options: small 16, medium 20, and large 24.
- It uses one stroke width for the whole app and inherits the text color.
- If the name doesn't exist, it shows a question-mark icon instead of breaking the screen.
Replace every emoji with that component.

Step 4. Check.
Run my project's build or linter and tell me what failed. At the end, search again for emojis used as icons and tell me if any are left.

[ ] Replace what is in brackets before you paste it.

If your tool can’t read your project (a chat with no file access), paste in the files with emojis first and ask only for steps 1 and 3.

5 · One style

One style across the whole app

  • One stroke width for the whole app.

    If you use 2 on one screen and 1.5 on another, it shows, even if you can’t say why.

  • Three sizes, no more.

    For example 16, 20, and 24. Pick yours and don’t use others.

  • One base color.

    Let the icon inherit the text color, and keep accents few and always the same.

The way to keep it from breaking over time is a single component that every icon goes through. A starting example, in React with Lucide:

Icono.jsx
import { Camera, Wallet, CircleQuestionMark } from 'lucide-react';

const ICONOS = { camara: Camera, cartera: Wallet };
const TAMANOS = { s: 16, m: 20, l: 24 };

export function Icono({ nombre, tamano = 'm' }) {
  // If the name isn't in the map, it draws a help icon instead of breaking the screen.
  const Componente = ICONOS[nombre] ?? CircleQuestionMark;
  return <Componente size={TAMANOS[tamano]} strokeWidth={1.75} />;
}

That way nobody drops in a one-off stroke again: whoever needs an icon asks for it by name.

In Phosphor, IconContext.Provider does the same without writing the component.

A colored circle behind the icon (like in Kipu’s categories) works well: the container sets the color and the icon stays single-tone.

6 · Your own

When to make your own and import them

Make your own when the concept doesn’t exist in the library (something very specific to your product), and only then. Rules so it doesn’t clash:

  • Same grid, same stroke, and same caps as the library.

    For example 24 × 24, a stroke of 2, and rounded caps if the library uses them. Open them next to the library’s icons and compare before using them.

  • Export as SVG in a single color.

    And let the app color it.

To import it, depending on your platform:

  • Web or React:

    SVGR turns an SVG into a React component (react-svgr.com). It has an online playground if you don’t want to install anything.

  • React Native:

    With react-native-svg (npx expo install react-native-svg in Expo) you draw the SVG as components (Svg, Path).

  • Flutter:

    The flutter_svg package (MIT, published by flutter.dev). Below, the line for pubspec.yaml and how to color it.

pubspec.yaml
flutter_svg: ^2.3.2
Dart
SvgPicture.asset('assets/mio.svg', colorFilter: const ColorFilter.mode(Colors.red, BlendMode.srcIn))

An icon font of your own (IcoMoon, Fontello) is also possible in Expo with createIconSetFromIcoMoon, but the Expo docs warn it only supports the format of the old IcoMoon app. For a few icons, SVG is simpler.

Put them in the same name map as the component in section 5, so using your own icon or a library one looks the same in the code.

Want it in your inbox?

I’ll send it so you don’t lose it.

More resources
See all →
By email
Checklist · App design

13 signs your app looks vibecoded

The checklist for going over your app before you show it: what looks wrong, why it costs you the trust of whoever uses it and what to do in each case, plus two extra signs that give away the AI. Four pages to keep next to you while you go through it.

Comment PREMIUMSee→
By email
Before you code

Your product on paper

The template I fill out before writing any code: Who is it for? What does it do? How does it do it? What doesn't it do? Plus a sheet that takes you from those answers to your app's data. Made to print and fill in by hand.

Comment PAPELSee→
Free
Prompts · Before you launch

Does this go in your first version?

Prompts so your coding agent runs your list through the cut question and leaves you the table of what ships and what waits in the PRIMERA-VERSION.md file.

Comment PRIMERASee→