Socket
Book a DemoInstallSign in
Socket

@edvnz/blurwidget

Package Overview
Dependencies
Maintainers
5
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@edvnz/blurwidget

A React Native component that applies a customizable blur effect to its content. Supports both native and web platforms, and allows users to specify the blur radius and background color.

latest
npmnpm
Version
1.0.2
Version published
Weekly downloads
0
Maintainers
5
Weekly downloads
 
Created
Source

BlurWidget

A React Native component that applies a customizable blur effect to its content. Supports both native and web platforms, and allows users to specify the blur radius and background color.

Installation

To install this package, run the following command:

$ npm install @edvnz/blurwidget
# or
$ yarn add @edvnz/blurwidget

Features

  • Customizable blur radius: allow users to specify the blur radius for the effect.
  • Multiple blur variants: provide multiple blur variants to choose from, such as light, medium, and strong.
  • Customizable background color: allow users to specify a custom background color for the component.
  • Support for web: make the component work on the web as well as native platforms.
  • Responsive design: make the component automatically adjust its size and layout based on the size of the screen or container.

Props

Prop nameTypeDescription
variantstringthe variant of the blur effect. Can be either "blur80" or "blur8"
onPressfunctiona callback function that is called when the component is pressed.
disabledbooleana flag that indicates whether the component is disabled
backgroundColorStylestringthe background color of the component.

Usage

import React from "react";
import BlurWidget from '@edvnz/blurwidget'

<BlurWidget variant="blur80" onPress={handlePress} />

Keywords

blur

FAQs

Package last updated on 08 Jan 2023

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