Repository navigation
Releases
1.5.0
Added
GlassHeaderV2: a floating iOS 26 header (glass buttons over the page) with
a scroll edge. iOS uses the system scroll edge; Android draws a fade (no
per-frame cost) or, withedge="blur", a glass band.edgeBlurRadius,
edgeStrength,edgeHeightandspacingtune it.LiquidGlassView:blur(0 clear to 1 fully frosted, a real blur of the
page on both platforms),frost(a wash, white in light mode and black in
dark mode, or pick withfrostTone), andwhite/black(0 to 1 washes in
any theme; together they make a grey). Also onLiquidButton,
LiquidIconButton, morphing buttons and the header'sglassoptions.- Tab bars:
frostandfrostTone; liquid drop controlslensScale,
lensMagnification,lensRefraction,lensFrostandlensWash; Android
selectionBlurfrosts the resting active pill (on by default for the top
tabs). - Android 13+:
LiquidGlassContainermerges the glass inside it, like iOS:
neighbours closer thanspacingmelt together, so a pressed button that
swells reaches into its neighbour. - Android: interactive glass stretches toward the finger while dragged and
wobbles back on release, with a bulge under the finger. whiteBlackColor()and theLiquidFrostTonetype.
Changed
- Android 13+: glass uses an iOS 26 lens: the page bends into a compressed
band. PassandroidLens="classic"to keep the earlier look. - Android: a bottom tab tap navigates once the selection is nearly at its tab
(at most 250 ms) instead of on release, so building the new screen no
longer stutters the slide.
Fixed
- Android: changing a glass prop (blur, tint, lens) redraws at once; it used
to wait for a tap or anything else to redraw. - Android: glass that drew before its backdrop was ready stayed empty until
something else redrew it. - Android: the header morph between screens (Edit into the back button) froze
on its first frame while the next screen was built; it now waits for the
screen and plays through. - Android: the active top tab took its colour only after the app confirmed the
tap; it now changes as soon as the drop lands.
1.4.2
Includes the 1.4.1 changes below: 1.4.1 was tagged on GitHub but never
published to npm.
Fixed
- Android:
LiquidMenuopens like iOS. The menu grows out of the button as a
drop: clear glass over the button at first (no more dark disc), then its
blur, material and shadow build up as it grows and the items sharpen in. It
starts on the first frame and grows frame by frame, so it no longer pauses
or jumps when opening the menu stalls the app. The button stays under the
drop until the drop covers it, and comes back as the menu shrinks into it. - Android: a
bareLiquidMenuinside a glass (a toolbar capsule) opens out of
that whole glass, like iOS: the capsule becomes the drop that grows into the
menu, and the menu shrinks back into the capsule when it closes. - Android: the end of a menu's close is smooth, like iOS. The drop and the
button it shrinks into cross-fade while the drop is nearly the button's size,
instead of the button popping back under a drop still on screen, and the
close ends there rather than in the spring's slow tail. - Android: a morph could snap to its end. Its spring ran on the clock, so when
the app stalled as the morph started (a busy GPU, a screen recorder), it had
already finished by the next frame. It now advances once per drawn frame, by
at most a 30 fps frame, so it always stretches through. - Android: glass no longer re-records what is behind it on every frame when
nothing there changed, and glass that is off screen is skipped. A new
recording makes the GPU blur that glass again, so every glass on screen was
re-blurred on every frame of any animation. Busy screens animate faster
(Glass Lab: UI thread per frame 25 ms → 8 ms).
1.4.1 (2026-10-30, not published to npm; shipped in 1.4.2)
Changed
- Android: regular glass blurs at 20 dp by default (was 8), a frost closer to
iOS regular glass; in dark mode it lightens what is behind it, like iOS,
instead of dimming it into navy pills. PassblurRadiusto keep the old
look.
Fixed
- Header:
useLiquidNavigationHeader(navigation, …)gave a TypeScript error
(TS2345) with React Navigation's ownnavigationobject in 1.4.0. The
header'saddListenertype is loose again, so every navigator's
navigationis accepted. - Android: a
morphglass flashed its final shape for one frame before
animating from the old one (the Select / menu buttons of the example). The
old shape is now applied while the view is laid out, so the first frame at
the new size already starts from it. - Android: the tab bars' lifted drop (bottom and top) had a thick white
outline. Its edge is now a faint glint on a hairline, like iOS. - Android: when a morph also added or removed a child (e.g. the toolbar's
"•••" menu), the content that stayed (the "≡") jumped to its new place
while the glass was still stretching. Like iOS, it now fades out and back
in with the rest. - Android: content in a morphing glass could stay half faded (e.g. the ✕ of
the example's toolbar) when a second morph started during the fade. The
fade now always returns to the content's own opacity. - Android: in dark mode a neighbouring glass was drawn into a lens as a dark
grey pill, showing as a dark smudge during morphs. It is now the same light
frost as the glass itself. - Bottom tab bar search: no more "Passing an object as the argument to
'navigate' is deprecated" warning from React Navigation 7 when the search
opens, changes or closes.
1.4.0
Glass edges that shine, a progressive blur, and a header that follows its
screen. Adds native props and two native views on iOS: after upgrading run
cd ios && pod install and rebuild the app (a JS reload is not enough).
New
Glass edges (LiquidGlassView, LiquidButton, LiquidIconButton, the header's glass)
specularEdge: the iOS 26 light-glass edge, like the Messages call buttons:
a fine hairline, a white glow inside the top edge and a white line along the
bottom. It shines without tinting the glass. iOS and Android.- Tune it with
specularTopOpacity,specularBottomOpacity,
specularHairlineOpacity,specularGlowHeightandspecularBottomHeight
(a tall bottom shine mirrors the top: glow and hairline).
- Tune it with
cornerReflection: light catching the top-left and bottom-right corners like
a lens (a soft bloom and a brighter glint).backdropBlur: blurs the page behind the glass, inside its shape. With
glassStyle: 'clear'the glass shows the page softly blurred and bent at the
edges, between clear and regular. Android: dp.rimColor/rimWidth: a specular rim on the edge.rimSideOpacity(iOS)
keeps some of it along the sides,rimGradient: 'vertical'runs it along the
top and bottom edges and fades it down the sides,rimShadeColoradds a dark
edge on the far side,rimEdgeColora hairline all round the glass.sheenOpacity(iOS): a soft white reflection across the top of the glass.fadeCurve: 'ease'forfadeBottom: an S-curve that melts into the content
with no visible start or end (iOS and Android).
LiquidProgressiveBlur (new component, new native view on iOS)
A blur that is strongest at the top and weakens downwards, with a tint that
fades out with it: the scroll edge behind a bar in iOS 26 Photos. iOS uses a
variable blur; Android stacks glass layers that blur more and fade out higher.
An iOS binary built before this view falls back to one fading glass, so an
over-the-air JS update never shows "Unimplemented component".
Header (useLiquidNavigationHeader, <LiquidNavigationHeader>)
edgeGlass: true | { … }: liquid glass behind the buttons, from the top of
the screen, melting into the content.style: 'blur'draws a progressive
blur instead (maxBlur,tintColor,fadeHeight,fadeCurve).edge
still takes your own element.glass,backGlassandtitleGlassstyle the back button, the buttons and
the title capsule (titleGlass: falseis plain text). They take every glass
prop above.titleAlign: 'start' | 'center' | 'end'.LiquidHeaderProvider:direction('ltr'or'rtl', for apps that flip
their layout in JS),scrollEdgeEffect={false}(hides iOS 26's top scroll
edge) andextendScrollEdge(experimental: extends the system scroll edge
behind the header).- New native views
RNLiquidScrollEdgeandRNLiquidScrollEdgeContainer
(iOS; no-ops on Android). - With no other header to morph into, the header now follows its screen: it
slides in and out with the screen on iOS and fades with it on Android,
instead of lingering over the previous screen. The navigation object passed
to the header may exposebeforeRemoveandtransitionStartlisteners for
this (React Navigation's does); without them the header behaves as before.
Fixed
- iOS: the rim and sheen of a pressed button stayed the old size inside the
grown glass, so it looked like two buttons. They now live in the glass and
grow with it. - Android: the glass behind a fading edge (
fadeBottom) ignored the fade, so
buttons over it turned flat white. - Android: the back chevron no longer points down in right-to-left layouts.
Docs
USAGE.md, CONTEXT.md and the README describe the new props, the progressive
blur and edgeGlass. CONTEXT.md has a new section on glass edges.
1.3.0
1.2.1
1.2.0
1.1.2
Enhancements
- iOS: the bottom tab drop matches the system Liquid Glass lens (f4a5937)
Modeled on the iOS 26UITabBar:- The drop is fully clear in light mode (no white fill or top gloss); in dark mode it keeps a dark body to match the bar.
- A thin, even rim, a little brighter at two corners.
- The tabs under the drop are cut out so the glass no longer blurs them; only the sharp focused icon shows inside, with the slight split at the rim where the glass bends what is under it.
- The tabs fade back in smoothly as the drop melts into the pill.
Install
yarn add @mohamed_abd_elnaby/react-native-liquid@1.1.2
cd ios && pod installFull Changelog: 1.1.1...1.1.2
1.1.1
Fixed
- Android: the toggle thumb now moves. After turning a toggle on, the track turned blue but the thumb stayed on the left. It now glides to the right and back (4978b26).
- Android: clearer toggle and slider lens. Less refraction, no color fringes, a lighter edge shadow, and the track under the toggle lens at nearly full size.
- Android: glass over glass. The copy of a glass card drawn under a lens has the same tint as the real card, so a lens over a card in dark mode is no longer darker than the card.
Install
yarn add @mohamed_abd_elnaby/react-native-liquid@1.1.1
cd ios && pod installFull Changelog: 1.1.0...1.1.1
1.1.0
Enhancements
- SVG and vector icons in the bottom tab bar, with a focused icon under the drop (edd872b)
tabBarIconcan return any element:react-native-svg,react-native-vector-icons, images or text. Under the liquid drop each tab is drawn in its focused state, so a single icon is recolored, and a separate focused icon (outline → filled) is swapped in.// One icon that changes color tabBarIcon: ({ color, size }) => <Icon name="settings" color={color} size={size} />, // Two icons tabBarIcon: ({ focused, color, size }) => ( <Icon name={focused ? 'home' : 'home-outline'} color={color} size={size} /> ),
- Dark drop in dark mode, bigger lift, liquid settle (816da05)
In dark mode the drop has a dark body that matches the bar. It lifts a little bigger (1.38 × 1.2). On release it first loses its reflections and returns to tab size while still liquid, then melts into the pill (iOS and Android). - New example app: the
examplefolder is now a React Native CLI app with SVG tab icons, installed from npm (d2bbaca).
Fixed
- iOS: the drop is clear glass instead of frosted, with its light or dark body drawn as a separate layer (6734f79).
- Smoother reflection fade and size settle: reflections fade over most of the settle, and the size eases back without a wobble (489dc94).
Install
yarn add @mohamed_abd_elnaby/react-native-liquid@1.1.0
cd ios && pod installFull Changelog: 1.0.0...1.1.0
1.0.0
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
searchoption 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,selectionColorandlensTintColor.
Components
LiquidGlassView/LiquidGlassContainer: the glass material as a view, withmorphanimations 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.LiquidSearchBarandLiquidExpandableSearch(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 abaremode for toolbars.
Theming
- Every component takes
colorScheme('system' | 'light' | 'dark') and followsAppearance.setColorScheme()on both platforms. useLiquidColors(),getLiquidColors(),useLiquidColorScheme()andisLiquidGlassSupported.
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 installThe 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
