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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@ar-dacity/ardacity-hero-one

v1.0.0

Published

Animated hero section with Arweave wallet integration for React applications

Readme

ArDacity Hero One

A stunning, animated hero section with Arweave wallet integration for React applications.

Features

  • ✨ Beautiful animated text and graphics using Framer Motion
  • 🔒 Built-in Arweave wallet connection (using arweaveUtils)
  • 🎨 Sleek dark theme with clean animations
  • 📱 Fully responsive for all devices
  • 🔧 Easy to customize and extend

Installation

npm install @ar-dacity/ardacity-hero-one
# or
yarn add @ar-dacity/ardacity-hero-one

Dependencies

This component requires the following dependencies:

npm install framer-motion
# or
yarn add framer-motion

During installation, the package will automatically copy the necessary components to your project's /src/components/ArDacityUi/HeroOne/ directory.

Arweave Utils Setup

This component requires arweaveUtils functions. Make sure you have the following utility functions implemented in your project:

  1. Create a file at src/arweaveUtils.js with the following functions:
// Basic implementation example - customize according to your needs
export const connectWallet = async () => {
  // Implementation depends on your Arweave library
  // Example using arweave-js or arconnect
  if (window.arweaveWallet) {
    await window.arweaveWallet.connect(['ACCESS_ADDRESS', 'SIGN_TRANSACTION']);
    return true;
  }
  return false;
};

export const disconnectWallet = async () => {
  if (window.arweaveWallet) {
    await window.arweaveWallet.disconnect();
    return true;
  }
  return false;
};

export const getWalletAddress = async () => {
  if (window.arweaveWallet) {
    return await window.arweaveWallet.getActiveAddress();
  }
  return '';
};

Usage

Simply import and use the component in your application:

import { HeroOne } from './components/ArDacityUi/HeroOne';

function App() {
  return (
    <div>
      <HeroOne />
    </div>
  );
}

Customization

Replacing Images

The component uses placeholder images from the internet. You can replace them with your own images by editing the component file after installation:

  1. Navigate to src/components/ArDacityUi/HeroOne/HeroOne.jsx
  2. Replace the image URLs with your own:
// From
<img src="https://images.unsplash.com/photo-1564106888227-5868decb6ad8?q=80&w=1000&auto=format&fit=crop" alt="Dancing Figure" className="w-full h-full object-contain" />

// To
<img src="/your-image-path.png" alt="Dancing Figure" className="w-full h-full object-contain" />

Modifying Text

You can change the displayed text by editing the component:

// From
<motion.h1>CRAFT</motion.h1>
<motion.h1>YOUR OWN</motion.h1>
<motion.h1>DESIGN</motion.h1>

// To
<motion.h1>YOUR</motion.h1>
<motion.h1>CUSTOM</motion.h1>
<motion.h1>TEXT</motion.h1>

Animation Details

This component uses Framer Motion to create fluid animations:

  • Text animates in from the sides
  • Central image springs up from below
  • Banner unrolls from right to left
  • Buttons fade in last

Browser Support

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)

Development

If you want to contribute to this project:

  1. Clone the repository
  2. Install dependencies: npm install
  3. Make your changes
  4. Build the package: npm run build
  5. Test your changes
  6. Submit a pull request

License

MIT © ArDacity