Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/youngjuning/nextjs-antd-breadcrumbs

A antd-based breadcrumbs component for Next.js
https://github.com/youngjuning/nextjs-antd-breadcrumbs

antd breadcrumbs nextjs

Last synced: about 2 months ago
JSON representation

A antd-based breadcrumbs component for Next.js

Awesome Lists containing this project

README

        

# nextjs-antd-breadcrumbs

> A antd-based breadcrumbs component for Next.js

[![NPM](https://img.shields.io/npm/v/nextjs-antd-breadcrumbs.svg)](https://www.npmjs.com/package/nextjs-antd-breadcrumbs)

## Installation

```bash
yarn add nextjs-antd-breadcrumbs
```

## Usage

The component needs to be used within Next.js and won't work in plain React.
It will always display a dynamic Breadcrumb navigation, based on the current path of the Next router.

```tsx
import React from 'react';
import Breadcrumbs from 'nextjs-antd-breadcrumbs';

const Example = () => {
return ;
};
```