Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

expo-blur

Package Overview
Dependencies
Maintainers
25
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

expo-blur

A component that renders a native blur view on iOS and falls back to a semi-transparent view on Android. A common usage of this is for navigation bars, tab bars, and modals.

  • 11.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
165K
increased by40.32%
Maintainers
25
Weekly downloads
 
Created

What is expo-blur?

The expo-blur package provides components to create blur effects in React Native applications. It is part of the Expo ecosystem and allows developers to easily add blur views to their app's UI, enhancing the visual appeal and providing a modern look.

What are expo-blur's main functionalities?

BlurView

The BlurView component allows you to apply a blur effect to its children. The 'intensity' prop controls the level of blur, and the style prop can be used to position and size the BlurView.

<BlurView intensity={50} style={{ flex: 1 }}>
  <Text>Blurred Content</Text>
</BlurView>

Adjustable Blur Intensity

You can adjust the intensity of the blur effect using the 'intensity' prop. The 'tint' prop allows you to choose between different tint colors like 'light', 'dark', or 'default'.

<BlurView intensity={75} tint='light' style={{ width: 200, height: 200 }}>
  <Text>More Intense Blur</Text>
</BlurView>

Background Blur

The BlurView can be used to blur the background of a component, such as an image, by positioning it absolutely over the background content.

<View style={{ flex: 1 }}>
  <Image source={{ uri: 'image-url' }} style={{ flex: 1 }} />
  <BlurView intensity={100} style={StyleSheet.absoluteFill} />
</View>

Other packages similar to expo-blur

Keywords

FAQs

Package last updated on 03 Dec 2021

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc