Socket
Book a DemoInstallSign in
Socket

@ar-dacity/ardacity-navbar

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ar-dacity/ardacity-navbar

A customizable responsive navigation bar with Arweave wallet integration

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

ArDacity NavBar

A modern, responsive navigation bar component for React applications with Arweave wallet integration.

Features

  • 🎨 Multiple style variants (default, minimal, transparent, accent, glass)
  • 📱 Fully responsive design with mobile menu
  • 💰 Built-in Arweave wallet integration
  • ✨ Subtle animations and effects
  • 🌙 Dark mode compatibility
  • 🧩 Customizable with Tailwind CSS

Installation

npm install @ar-dacity/ardacity-navbar

Usage

import { ArDacityNavBar } from '@ar-dacity/ardacity-navbar';
// OR use default import
// import ArDacityNavBar from '@ar-dacity/ardacity-navbar';

function App() {
  return (
    <div>
      <ArDacityNavBar 
        links={[
          { label: 'Home', href: '/', isActive: true },
          { label: 'About', href: '/about' },
          { label: 'Projects', href: '/projects' },
          { label: 'Contact', href: '/contact' }
        ]}
        showWalletButton={true}
      />
      
      {/* Rest of your app */}
      <main className="container mx-auto p-4">
        <h1 className="text-2xl font-bold">Welcome to my dApp</h1>
      </main>
    </div>
  );
}

Props

PropTypeDefaultDescription
brandReactNode"ArDacity"Logo or brand element
linksArray[]Navigation links
actionsReactNodeundefinedAdditional elements for the right side
showWalletButtonbooleantrueWhether to show wallet connect button
walletButtonPropsObjectundefinedProps for the wallet button component
variantstring'default'Navbar style variant
positionstring'sticky'Navbar position
classNamestring''Additional CSS classes
mobileMenuClassNamestring''Additional CSS classes for mobile menu
themeColorstringundefinedCustom theme color for accent variant

Variants

Default

Standard white/dark navigation bar with subtle shadow on scroll.

Minimal

Transparent navigation bar that adds a subtle background on scroll.

Transparent

Fully transparent navigation bar with no background.

Accent

Colored navigation bar using the primary theme color.

Glass

Modern glass-like effect with blur backdrop.

Examples

// Glass variant
<ArDacityNavBar 
  variant="glass"
  links={[/* your links */]}
/>

// Accent variant with custom color
<ArDacityNavBar 
  variant="accent"
  themeColor="bg-purple-600" 
  links={[/* your links */]}
/>

// Fixed position
<ArDacityNavBar 
  position="fixed"
  links={[/* your links */]}
/>

// Custom brand/logo
<ArDacityNavBar
  brand={
    <div className="flex items-center">
      <img src="/logo.svg" alt="Logo" className="h-8 w-auto" />
      <span className="ml-2 text-xl font-bold">MyApp</span>
    </div>
  }
  links={[/* your links */]}
/>

Tailwind CSS

This component is designed to work with Tailwind CSS. Make sure you have Tailwind CSS set up in your project.

License

MIT

Keywords

arweave

FAQs

Package last updated on 21 Apr 2025

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