@zendeskgarden/react-breadcrumbs
TypeScript icon, indicating that this package has built-in type declarations

9.4.0 • Public • Published

@zendeskgarden/react-breadcrumbs npm version

This package includes components relating to breadcrumbs in the Garden Design System.

Installation

npm install @zendeskgarden/react-breadcrumbs

# Peer Dependencies - Also Required
npm install react react-dom styled-components @zendeskgarden/react-theming

Usage

import { ThemeProvider } from '@zendeskgarden/react-theming';
import { Breadcrumb } from '@zendeskgarden/react-breadcrumbs';
import { Anchor } from '@zendeskgarden/react-buttons';

/**
 * Place a `ThemeProvider` at the root of your React application
 */
<ThemeProvider>
  <Breadcrumb>
    <Anchor href="/">Root</Anchor>
    <Anchor href="..">Parent</Anchor>
    <span>Self</span>
  </Breadcrumb>
</ThemeProvider>;

Package Sidebar

Install

npm i @zendeskgarden/react-breadcrumbs

Weekly Downloads

72,835

Version

9.4.0

License

Apache-2.0

Unpacked Size

29.8 kB

Total Files

18

Last publish

Collaborators

  • zendesk-garden