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

hy-splash-screen-react

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hy-splash-screen-react

Displays splash screen on react.

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

Modules Splash Screen for React v.1.0.1

ReactJS modules are simple but have many advantages, one of which is that you can customize them freely.

NPM Installation

npm install hy-splash-screen-react

Example Project Implemented

// Add - Impport module //
import SplashScreen from 'hy-splash-screen-react';
//----//

const App = () => {
  return (
    <div>
    
      // Add - Default components //
      <SplashScreen src="your logo" text="Your Company"/>
      //----//
      
    </div>
  );
};

export default App;

Customization

AtributeKey ExampleDescription
screenInterval="key?"1000 3000Time Interval (ms)
screenBg="key?rgba(0, 0, 0, 0.5) #ffffffBackground screen
screenBlur="key?blur(5px)Background blur
screenIndex="key?1 99Z-index
contentHeight="key?400pxContent height
contentWidth="key?400pxContent width
contentBg="key?rgba(0, 0, 0, 0.5) #ffffffBackground Content
contentBlur="key?blur(5px)Background blur Content
contentShadow="key?0px 0px 5px rgba(0, 0, 0, 0.3)Content shadow
contentRadius="key?10px 10%Border radius
contentDirection="key?column row row-reverse column-reverse initial inheritContent direction
contentGap="key?10pxContent gap
contentAlign="key?center left rightContent align
contentJustify="key?center left rightJustify content
src="key?https://example.xx/logo.png /images/logo.pngInsert images
srcHeight="key?150pxImage height
srcWidth="key?150pxImage width
srcAlt="key?logoImage alt
animation="key?fade-in fade-out slide-in-top slide-in-bottom slide-in-left slide-in-right zoom-in zoom-out rotate-in rotate-outAnimation Content
text="key?Your CompanyInsert text
textColor="key?#ffff rgb(255, 255, 255)Text color
textSize="key?30px 18remText Size
textWeight="key?normal bold bolder lighter number initial `inheritText weight
textFont="key?ArialFont family
cssScreen="key?your-cssScreen css custom
cssContent="key?your-cssContent css custom
cssSrc="key?your-cssSrc css custom
cssText="key?your-cssText css custom

Full Customization

	<SplashScreen 
		screenInterval="3000"
		screenBg="rgb(255, 255, 255,0.0)"
		screenBlur="blur(5px)"
		screenIndex="99"
		contentHeight="300px"
		contentWidth="250px"
		contentBg="rgb(85, 145, 230,0.99)"
		contentBlur="blur(5px)"
		contentShadow="0px 0px 3px 0px rgba(0,0,0,0.50)"
		contentRadius="5px"
		contentDirection="column"
		contentGap="1px"
		contentAlign="center"
		contentJustify="center"
		src="/images/logo.png"
		srcHeight="50px"
		srcWidth="50px"
		srcAlt="logo"
		animation="zoom-in"
		text="My Company"
		textColor="#ff00ff"
		textSize="1.5rem"
		textWeight="bold"
		textFont="Arial"
		cssScreen="css-screen"
		cssContent="css-content"
		cssSrc="css-src"
		cssText="css-text"
	/>

Happy Coding :) Follow Me: FOLLOW

Keywords

FAQs

Package last updated on 08 Mar 2024

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