
Security News
Another Round of TEA Protocol Spam Floods npm, But It’s Not a Worm
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.
@infinitui/modalium
Advanced tools
A customizable modal component for React Native applications with animations, blur effects, and dynamic entry points
✨ Modalium — Animated modals with superpowers for React Native & Expo.
Create smooth, elegant, and highly customizable modals with animations, blur effects, and multiple presentation styles. Fully compatible with React Native & Expo.
Experience Modalium in action:
Or see it below:
npm install @infinitui/modalium
# or
yarn add @infinitui/modalium
Modalium relies on several external packages to function properly. You must install these in your project:
npm install react-native-safe-area-context react-native-gesture-handler react-native-reanimated expo-blur
⚠️ Important Setup Notes:
Some of these libraries require additional configuration:
react-native-reanimated: Add the Babel plugin and enable Reanimated in your babel.config.jsreact-native-gesture-handler: Wrap your app in GestureHandlerRootViewexpo-blur: Works out of the box with Expo, but requires expo-modules-core in bare projectsRefer to each library’s documentation for full setup instructions.
import React, { useState } from 'react';
import { View, Button, Text } from 'react-native';
import Modalium from '@infinitui/modalium';
export default function App() {
const [visible, setVisible] = useState(false);
return (
<View style={{ flex: 1 }}>
<Button title="Open Modal" onPress={() => setVisible(true)} />
<Modalium
visible={visible}
onRequestClose={() => setVisible(false)}
animationType="slide"
presentationStyle="overFullScreen"
useBlurOverlay={true}
blurIntensity={80}
swipeToClose={true}
modalBgColor="#ffffff"
statusBarTranslucent={true}
>
<View style={{ backgroundColor: '#ffffff', padding: 20, borderRadius: 12 }}>
<Text style={{ fontSize: 18 }}>Hello from Modalium 👋</Text>
<Button title="Close" onPress={() => setVisible(false)} />
</View>
</Modalium>
</View>
);
}
| Prop | Type | Default | Description |
|---|---|---|---|
visible | boolean | — | Show or hide the modal |
onRequestClose | () => void | — | Called when modal should close |
onShow | () => void | — | Called when modal is shown |
onDismiss | () => void | — | Called when modal is dismissed |
duration | number | 333 | Animation duration in ms |
children | React.ReactNode | — | Modal content |
transparent | boolean | true | Use semi-transparent background |
animationType | `'fade' | 'slide' | 'scale' |
statusBarTranslucent | boolean | false | Make status bar translucent |
presentationStyle | `'fullScreen' | 'overFullScreen' | 'formSheet' |
blockBackgroundInteraction | boolean | true | Prevent interaction with background |
swipeToClose | boolean | true | Enable swipe-down to close |
barStyle | `'light-content' | 'dark-content'` | 'dark-content' |
useBlurOverlay | boolean | false | Enable blur background |
blurIntensity | number | 50 | Blur intensity |
blurTint | `'light' | 'dark' | 'default'` |
circleBgColor | string | 'white' | Background color of animated circle |
circleScaleMax | number | 10 | Maximum scale of the circle animation |
circleSize | number | 100 | Initial size of the circle |
startX / startY | number | — | Coordinates for circle origin |
modalBgColor | string | — | Background color of modal content container |
react-native-safe-area-context, expo-blur, react-native-reanimated, and react-native-gesture-handlerModalium is actively evolving and I’m looking for contributors to help improve it!
If you love animation, UI polish, or just want to help build beautiful React Native components — fork the repo, open a PR, or start a discussion.
Ben-Jamin MK
Creator of modern UI components for React Native.
GitHub
FAQs
A customizable modal component for React Native applications with animations, blur effects, and dynamic entry points
The npm package @infinitui/modalium receives a total of 10 weekly downloads. As such, @infinitui/modalium popularity was classified as not popular.
We found that @infinitui/modalium demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
Recent coverage mislabels the latest TEA protocol spam as a worm. Here’s what’s actually happening.

Security News
PyPI adds Trusted Publishing support for GitLab Self-Managed as adoption reaches 25% of uploads

Research
/Security News
A malicious Chrome extension posing as an Ethereum wallet steals seed phrases by encoding them into Sui transactions, enabling full wallet takeover.