Skip to content

1.0.0

Choose a tag to compare

@MohamedAbdElNaby MohamedAbdElNaby released this 26 Oct 13:55
· 67 commits to main since this release

React Native Liquid

First stable release of @mohamed_abd_elnaby/react-native-liquid: Liquid Glass UI components for React Native and React Navigation. Native glass on iOS 26 (UIGlassEffect) and on Android (AndroidLiquidGlass by Kyant0), with every animation running natively.

Enhancements

React Navigation

  • LiquidBottomTabBar: floating glass tab bar. Pressing lifts a heavy liquid drop out of the selection pill that follows the finger, stretches with its speed, magnifies the tabs and melts back into the pill. The screen switches as soon as the finger lifts.
  • Tab bar search: the search option adds a search button that morphs into a field with a close button, while the bar rises above the keyboard.
  • LiquidTopTabBar: floating segmented bar for material top tabs, with the same drop. The pill and label colors follow the pager while swiping.
  • LiquidHeader: floating glass controls or a full glass bar for any stack (createLiquidHeader).
  • iOS 26 system look: frosted white bar with a soft pill in light mode, frosted dark gray with a darker pill in dark mode. Tunable with blur, glassTintColor, selectionColor and lensTintColor.

Components

  • LiquidGlassView / LiquidGlassContainer: the glass material as a view, with morph animations and merging shapes on iOS 26.
  • LiquidToggle: the thumb turns into a clear glass lens that grows past the track while it slides. Every part can be recolored: onTintColor, offTintColor, thumbTintColor, lensTintColor.
  • LiquidSlider, LiquidSegmentedControl, LiquidButton, LiquidIconButton.
  • LiquidSearchBar and LiquidExpandableSearch (16 pt gap between field and close button).
  • LiquidMenu: glass button that morphs into the system menu on iOS and a glass panel on Android, with submenus, checkmarks and a bare mode for toolbars.

Theming

  • Every component takes colorScheme ('system' | 'light' | 'dark') and follows Appearance.setColorScheme() on both platforms.
  • useLiquidColors(), getLiquidColors(), useLiquidColorScheme() and isLiquidGlassSupported.

Docs

  • USAGE.md: copy-paste recipes for every component, shipped inside the package.
  • docs/index.html: full documentation with GIFs and light and dark screenshots.

Fixed

  • Android: glass no longer goes blank after navigating back, or causes an ANR when switching tabs.
  • Android: sliders and toggles keep horizontal drags inside scroll views; the slider fill tracks the thumb.
  • Android: neutral glass tints no longer gray out the content behind the bar.
  • iOS: tabs seen through the drop stay sharp instead of blurred by its glass.

Requirements

  • React Native 0.80+ with the New Architecture (Fabric). React Native CLI apps and Expo dev builds; not Expo Go.
  • iOS: Xcode 26+ for Liquid Glass on iOS 26 (blur material on older versions).
  • Android: Kotlin 2.2+. Glass on Android 12+, refraction on Android 13+.

Install

yarn add @mohamed_abd_elnaby/react-native-liquid
cd ios && pod install

The Android glass code is vendored from AndroidLiquidGlass (Apache 2.0), so the package has no extra Android dependency.

Full Changelog: https://github.com/MohamedAbdElNaby/liquid/commits/1.0.0