New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

react-breadcrum-component

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-breadcrum-component

A customizable breadcrumb component for React applications.

latest
npmnpm
Version
1.0.4
Version published
Weekly downloads
3
50%
Maintainers
1
Weekly downloads
 
Created
Source

React BreadCrum

A customizable and responsive breadcrumb navigation component for React applications, designed to support multi-level navigation with icons and routing.

npm license

✨ Features

  • Built with React and React Router
  • Supports up to 5 levels of dynamic navigation
  • Includes CSS styling
  • Uses react-icons for arrow icons
  • Easy to integrate and style

📦 Installation

npm install react-breadcrum-component

📦 Import Style

import 'react-breadcrum-component/dist/style.css'

🚀 Usage

import React from 'react';
import BreadCrum from 'react-breadcrum-component';
//OR import { BreadCrum } from 'react-breadcrum-component'


const YourComponent = () => {
  return (
    <div>
      <BreadCrum
        secondName="Dashboard"
        secondTo="/dashboard"
        thirdName="Reports"
        thirdTo="/dashboard/reports"
        current="Monthly Report"
        className="class name" //optional
      />
    </div>
  );
};

export default App;

🧩 Props

PropTypeDescription
currentstringRequired. The current (last) breadcrumb label
secondNamestringSecond breadcrumb label (optional)
secondTostringLink path for second breadcrumb
thirdNamestringThird breadcrumb label (optional)
thirdTostringLink path for third breadcrumb
fourthNamestringFourth breadcrumb label (optional)
fourthTostringLink path for fourth breadcrumb
fifthNamestringFifth breadcrumb label (optional)
fifthTostringLink path for fifth breadcrumb
classNamestringOptional class name for additional custom styling

📦 Versions Required

  • "react": "^18.0.0 || ^19.1.0",
  • "react-dom": "^18.0.0 || ^19.1.0"

📦 Dependencies

  • react-icons
  • react-router-dom

Keywords

react

FAQs

Package last updated on 03 May 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