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 🙏

© 2024 – Pkg Stats / Ryan Hefner

spider-banner

v1.6.1

Published

![SpiderbannerImg](Public/spider.jpg)

Downloads

749

Readme

SpiderBanner React Package

SpiderbannerImg

SpiderBanner is a lightweight and customizable React component that adds interactive, mouse-responsive animations to your web applications. Perfect for creating modern and engaging banners with animated dots and dynamic connecting lines.

🎉 Features

  • Customizable Design: Adjust the number, size, and colors of dots to match your theme.
  • Interactive Animations: Dots connect with dynamic lines based on mouse movement.
  • Responsive: Adapts seamlessly to different screen sizes.
  • Lightweight and Fast: Minimal performance impact.
  • Easy Integration: Works with any React project out of the box.

🔗 Links


📦 Installation

Install the package via npm or yarn:

npm install spider-banner-react
# OR
yarn add spider-banner-react

💡 Usage

Here’s an example of how to use the SpiderBanner component in your React project:

import React from 'react';
import SpiderBanner from 'spider-banner-react';

const App = () => {
  return (
    <SpiderBanner noOfDots={50} colors={['#FF5733', '#33CFFF']} lineLenght={80}>
      <h1>Welcome to My Website!</h1>
    </SpiderBanner>
  );
};

export default App;

Props

| Prop | Type | Default | Description | |--------------|-----------------|-------------------|----------------------------------------------| | noOfDots | number | 50 | The total number of animated dots. | | colors | Array<string> | ['white', 'black'] | An array of colors for the dots. | | lineLenght | number | 10 | The maximum length of the lines. | | children | ReactNode | null | Content to display inside the banner. |

📐 Customization

Example with Custom Dots and Colors:

<SpiderBanner 
  noOfDots={100} 
  colors={['#FF0000', '#00FF00', '#0000FF']} 
  lineLenght={100}>
  <div>
    <h2>Custom Banner</h2>
    <p>With colorful, interactive effects!</p>
  </div>
</SpiderBanner>

🛠 Development

Run and Test Locally

  1. Fork the repository.

  2. Clone the repository:

git clone https://github.com/{your_username}/spider-banner.git
  1. Change directory and Install dependencies:
cd spider-banner
npm install
  1. Build the package:
npm run build
  1. Link the package Locally
npm link
  1. Check the linked package locally
npm link spider-banner
  1. Genrate a pull request

📄 License

This package is licensed under the MIT License. Feel free to use it in personal or commercial projects.

🤝 Contributing

We welcome contributions! If you have ideas or find bugs, feel free to submit issues or pull requests.

🌟 Support

If you find this package helpful, consider giving it a ⭐ on GitHub. Your support means a lot!