
Security News
crates.io Ships Security Tab and Tightens Publishing Controls
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.
@callstack/liquid-glass
Advanced tools
@callstack/liquid-glass brings iOS 26 liquid glass effect to React Native apps on iOS.
clear and regularnpm install @callstack/liquid-glass
# or
yarn add @callstack/liquid-glass
[!WARNING] Make sure to compile your app with Xcode >= 26.
import {
LiquidGlassView,
LiquidGlassContainerView,
isLiquidGlassSupported,
} from '@callstack/liquid-glass';
function MyComponent() {
return (
<LiquidGlassView
style={[
{ width: 200, height: 100, borderRadius: 20 },
!isLiquidGlassSupported && { backgroundColor: 'rgba(255,255,255,0.5)' },
]}
interactive
effect="clear"
>
<Text>Hello World</Text>
</LiquidGlassView>
);
}
// For combining multiple glass elements
function MergingGlassElements() {
return (
<LiquidGlassContainerView spacing={20}>
<LiquidGlassView style={{ width: 100, height: 100, borderRadius: 50 }} />
<LiquidGlassView style={{ width: 100, height: 100, borderRadius: 50 }} />
</LiquidGlassContainerView>
);
}
[!NOTE] On unsupported iOS version (below iOS 26), it will render a normal
Viewwithout any effects.
isLiquidGlassSupportedA boolean constant that indicates whether the current device supports the liquid glass effect.
import { isLiquidGlassSupported } from '@callstack/liquid-glass';
if (isLiquidGlassSupported) {
// Device supports liquid glass effect
} else {
// Provide fallback UI
}
| Prop | Type | Default | Description |
|---|---|---|---|
interactive | boolean | false | Enables touch interaction effects when pressing the view |
effect | 'clear' | 'regular' | 'regular' | Visual effect mode: • clear - More transparent glass effect• regular - Standard glass blur effect |
tintColor | ColorValue | undefined | Overlay color tint applied to the glass effect. Accepts any React Native color format (hex, rgba, named colors) |
colorScheme | 'light' | 'dark' | 'system' | 'system' | Color scheme adaptation: • light - Light appearance• dark - Dark appearance• system - Follows system appearance |
| Prop | Type | Default | Description |
|---|---|---|---|
spacing | number | 0 | The distance between child elements at which they begin to merge their glass effects into a combined effect |
interactive prop is not changed dynamically, it is only set on mount.liquid-glass is an open source project and will always remain free to use. If you think it's cool, please star it 🌟.
Callstack is a group of React and React Native geeks, contact us at hello@callstack.com if you need any help with these or just want to say hi!
Like the project? ⚛️ Join the team who does amazing stuff for clients and drives React Native Open Source! 🔥
FAQs
Liquid Glass in React Native
The npm package @callstack/liquid-glass receives a total of 15,598 weekly downloads. As such, @callstack/liquid-glass popularity was classified as popular.
We found that @callstack/liquid-glass demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 16 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
crates.io adds a Security tab backed by RustSec advisories and narrows trusted publishing paths to reduce common CI publishing risks.

Research
/Security News
A Chrome extension claiming to hide Amazon ads was found secretly hijacking affiliate links, replacing creators’ tags with its own without user consent.

Security News
A surge of AI-generated vulnerability reports has pushed open source maintainers to rethink bug bounties and tighten security disclosure processes.