Skip navigation
Galeria 1 is now available – an image viewer for React (+ Native)
0:00 / 0:41

Galeria 1 is now available – an image viewer for React (+ Native)

Fernando Rojo

@fernandorojo19K followers

Visit on X
542 likesDownloadOriginal post

27,366 views

Galeria 1 is now available – an image viewer for React (+ Native) → New Architecture Support → Stable web support → Bring-your-own-image component Automatic support for: solito/image, next/image, expo-image, react-native-fast-image, web <img />

11 Comments

Comments from the original post on X (Twitter)

  • Fernando Rojo's profile picture

    @FernandoTheRojo

    Thanks to @hirbod_dev + @nishanbende for adding support for the new architecture. Look at how clean this API is...release notes →

    26 likes

  • Fernando Rojo's profile picture

    @FernandoTheRojo

    Under the hood, Galeria is web-first. If you are making a plain React website, you can use it just like any other library. On iOS and Android, it uses Swift/Kotlin respectively to wrap native image viewers. If you're a library author targeting React Native, consider making your central .tsx file web-first. Even better - remove react-native-web as a dependency to simplify installation.

    8 likes

  • Christian Esmann's profile picture

    @chrisesmann

    I just launched an all-in-one template for cross-platform development, based on the stack I use myself everyday. Expo, NextJS, TypeScript, Tailwind, Firebase, AppsFlyer, Authentication, Analytics, In-App Purchases, Stripe and a lot more, setup by default.

    3,991 likes

  • Henry Paulino's profile picture

    @henrypl_dev

    I’ve been waiting for this!

    2 likes

  • Ansh Nanda's profile picture

    @anshnanda_

    Been looking for something like this for a while!

    1 like

  • Levi Williams's profile picture

    @_lazerlen

    Beautiful. Might be worth noting in the docs that it doesn’t support bare rn

    1 like

  • Romaen's profile picture

    @CodeWithRomaen

    Another banger 🙏

    1 like

  • Michal's profile picture

    @eruveo

    cant wait to try

    1 like

  • ℤ's profile picture

    @technically_zac

    This looks great

    1 like

  • nnft's profile picture

    @nnft17

    Web looks a bit glitchy in the video. Especially on the zoom back to grid transition.

  • Fernando Rojo's profile picture

    @FernandoTheRojo

    The z-index weirdness on Web here was due to using FlashList’s masonry columns, which adds wrapper views to the items. Here it is fixed by using a plain ScrollView: