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

    8.39.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>;

    Install

    npm i @zendeskgarden/react-breadcrumbs

    DownloadsWeekly Downloads

    3,025

    Version

    8.39.0

    License

    Apache-2.0

    Unpacked Size

    31.7 kB

    Total Files

    12

    Last publish

    Collaborators

    • avatar