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

@veeyaainnovatives/banner

v1.0.2

Published

A reusable Banner component with breadcrumb navigation and title parsing for React applications

Readme

@veeyaainnovatives/banner

A reusable Banner component with breadcrumb navigation and title parsing for React applications.

Features

  • 🎨 Customizable banner with background image
  • 🍞 Breadcrumb navigation support
  • ✨ Markdown-like title parsing (**text** for highlighting)
  • 🎯 Fully configurable styling
  • 📱 Responsive design with React Bootstrap
  • 🔧 TypeScript support (coming soon)

Installation

npm install @veeyaainnovatives/banner

Peer Dependencies

This package requires the following peer dependencies:

  • react (^16.8.0 || ^17.0.0 || ^18.0.0)
  • react-dom (^16.8.0 || ^17.0.0 || ^18.0.0)
  • react-bootstrap (^2.0.0)

Usage

Basic Example

import { Banner } from '@veeyaainnovatives/banner';

function App() {
  const pageDetails = {
    title: "Welcome to **Our** Site",
    description: "This is a description of the page",
    breadcrumb: [
      { name: "Home", link: "/" },
      { name: "About", link: "/about" }
    ]
  };

  return (
    <Banner 
      img="/path/to/background-image.jpg"
      pageDetails={pageDetails}
    />
  );
}

Advanced Example with Custom Styling

import { Banner } from '@veeyaainnovatives/banner';

function App() {
  const pageDetails = {
    title: "Our **Products**",
    description: "Discover our innovative range of products",
    breadcrumb: [
      { name: "Home", link: "/" },
      { name: "Products", link: "/products" }
    ]
  };

  const handleBreadcrumbClick = (item) => {
    // Custom navigation logic
    console.log('Navigating to:', item.link);
    // Your navigation code here
  };

  return (
    <Banner 
      img="/path/to/image.jpg"
      pageDetails={pageDetails}
      className="custom-banner"
      overlayClassName="custom-overlay"
      titleClassName="custom-title"
      descriptionClassName="custom-description"
      highlightClassName="custom-highlight"
      onBreadcrumbClick={handleBreadcrumbClick}
      style={{ minHeight: '400px' }}
    />
  );
}

Props

| Prop | Type | Required | Default | Description | |------|------|----------|---------|-------------| | img | string | Yes | - | Background image URL or path | | pageDetails | object | Yes | - | Page details object | | pageDetails.title | string | No | - | Page title (supports **text** for highlighting) | | pageDetails.description | string | No | - | Page description | | pageDetails.breadcrumb | array | No | - | Array of breadcrumb items | | pageDetails.breadcrumb[].name | string | Yes | - | Breadcrumb item name | | pageDetails.breadcrumb[].link | string | Yes | - | Breadcrumb item link | | className | string | No | '' | Additional CSS classes for banner container | | overlayClassName | string | No | '' | Additional CSS classes for overlay | | titleClassName | string | No | '' | Additional CSS classes for title | | descriptionClassName | string | No | '' | Additional CSS classes for description | | highlightClassName | string | No | '' | CSS class for highlighted text (optional, if not provided, **text** will be rendered as plain text) | | onBreadcrumbClick | function | No | - | Callback when breadcrumb is clicked | | style | object | No | {} | Additional inline styles |

Title Parsing

The component supports markdown-like syntax in titles:

  • **text** - Highlights text with the specified highlight class (if highlightClassName prop is provided)
  • Example: "Welcome to **Our** Site" with highlightClassName="my-highlight" → "Welcome to Our Site"
  • If highlightClassName is not provided, **text** will render as plain text without highlighting

Styling

The component uses the following default CSS classes:

  • .banner-img - Main banner container
  • .overlay - Overlay div
  • .banner-title - Title heading
  • .banner-desc - Description paragraph
  • Custom highlight class - Set via highlightClassName prop (optional)

You can override these styles or add custom classes using the className props.

License

MIT

Author

Veeyaa Innovatives