npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@infinitui/modalium

v1.1.0

Published

A customizable modal component for React Native applications with animations, blur effects, and dynamic entry points

Readme

@infinitui/modalium

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.


🎬 Demo

Experience Modalium in action:

▶️ Watch the animated demo

Or see it below:


🚀 Installation

npm install @infinitui/modalium
# or
yarn add @infinitui/modalium

📦 Required Peer Dependencies

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.js
  • react-native-gesture-handler: Wrap your app in GestureHandlerRootView
  • expo-blur: Works out of the box with Expo, but requires expo-modules-core in bare projects

Refer to each library’s documentation for full setup instructions.


🧠 Usage Example

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>
  );
}

⚙️ Props Reference

| 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' | 'centerCircleZoom' | 'parentZoom' | 'fade' | Animation style | | statusBarTranslucent | boolean | false | Make status bar translucent | | presentationStyle | 'fullScreen' | 'overFullScreen' | 'formSheet' | 'pageSheet' | 'overFullScreen' | Modal layout style | | blockBackgroundInteraction| boolean | true | Prevent interaction with background | | swipeToClose | boolean | true | Enable swipe-down to close | | barStyle | 'light-content' | 'dark-content' | 'dark-content' | Status bar style | | useBlurOverlay | boolean | false | Enable blur background | | blurIntensity | number | 50 | Blur intensity | | blurTint | 'light' | 'dark' | 'default' | 'default' | Blur tint color | | 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 |


✅ Compatibility

  • ✅ React Native
  • ✅ Expo
  • ✅ Android & iOS
  • ✅ Works with react-native-safe-area-context, expo-blur, react-native-reanimated, and react-native-gesture-handler

🤝 Contributing

Modalium 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.

👉 GitHub Repository


👨‍💻 Author

Ben-Jamin MK
Creator of modern UI components for React Native.
GitHub