Skip to content

[Expo][Web] Icons are not rendering on web, while working on IOS and Android perfectly fine. #1845

@a-eid

Description

@a-eid

Which package are you using?

@react-native-vector-icons/*

What platform(s) does this occur on?

web

Minimal reproducible example

No response

What happened?

it does not work with expo web out of the box...

I tired adding fonts in my global.css, since I am using nativewind, however not all fonts exist, which does not align with the docs.

Image

Relevant log output

Your computer environment

npx react-native info
info Fetching system and libraries information...
System:
  OS: macOS 15.5
  CPU: (8) arm64 Apple M1
  Memory: 107.36 MB / 16.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 22.19.0
    path: /Users/ahmedelshentenawy/n/bin/node
  Yarn: Not Found
  npm:
    version: 10.9.3
    path: /Users/ahmedelshentenawy/n/bin/npm
  Watchman:
    version: 2024.12.02.00
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.16.2
    path: /Users/ahmedelshentenawy/.rbenv/shims/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 24.1
      - iOS 18.1
      - macOS 15.1
      - tvOS 18.1
      - visionOS 2.1
      - watchOS 11.1
  Android SDK: Not Found
IDEs:
  Android Studio: 2025.1 AI-251.26094.121.2513.14007798
  Xcode:
    version: 16.1/16B40
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 17.0.16
    path: /usr/bin/javac
  Ruby:
    version: 2.7.7
    path: /Users/ahmedelshentenawy/.rbenv/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions