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

rc-carousel-3d

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rc-carousel-3d

rc carousel 3d

  • 1.0.0
  • unpublished
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

rc-progressive-image

rc-progressive-image is a React component for lazy-loading and progressively rendering images, designed to enhance web performance.

Installation

You can install rc-progressive-image using npm or yarn:

npm install rc-progressive-image --save
# or
yarn add rc-progressive-image

Usage

Here's how to use rc-progressive-image in your React application:

import ProgressiveImage from 'rc-progressive-image';

function App() {
  return (
    <div>
      <h1>Progressive Image Loading</h1>
      <ProgressiveImage
        src="your-image.jpg"
        placeholder="placeholder.jpg"
        alt="Image Alt Text"
        className="image-class"
      />
    </div>
  );
}

export default App;

Props

  • src (string, required): The source URL of the full-size image.
  • placeholder (string, required): The source URL of a low-resolution placeholder image.
  • alt (string, required): The alternative text for the image.
  • className (string, optional): Additional CSS class name to apply to the image.

FAQs

Package last updated on 01 Oct 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

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