Command palette

@yasinsensoy/web

Web · Components

Breadcrumb

Breadcrumb showing where the user is on the site (Home › Products › Phones).

4 exports

Live example

Preview

Code

import { Breadcrumb } from "@yasinsensoy/web";

<Breadcrumb
  items={[
    { label: "Home", href: "/", icon: "home", iconOnly: true },
    { label: "Products", href: "/products" },
    { label: "Electronics", href: "/elektronik" },
    { label: "Phones", href: "/phone" },
    { label: "Smartphones", href: "/akilli" },
    { label: "Apple iPhone 17 Pro Max 256 GB Cosmic Orange" },
  ]}
/>

Events

  1. Events appear here when you interact with the preview.

Short path, slash separator

Long path: maxItems={4}, the middle in the (…) menu

Project switcher: the current page without a link opens a menu

Only "‹ parent page" on phones (mobile="back")

Import

import { Breadcrumb } from "@yasinsensoy/web";