EmpireUI
Sign inGet Pro
Free · MIT · React + Tailwind

Breadcrumb

An accessible breadcrumb navigation built with React and Tailwind CSS, with custom separators and smart truncation. Free to copy into any project.

Home/Components/Breadcrumb

Copy the code

export function Breadcrumb() {
  const items = ['Home', 'Components', 'Breadcrumb']
  return (
    <nav className="flex items-center gap-2 text-sm text-white/60">
      {items.map((it, i) => (
        <span key={it} className="flex items-center gap-2">
          {i > 0 && <span className="opacity-40">/</span>}
          <a href="#" className={i === items.length - 1 ? 'font-semibold text-white' : 'hover:text-white'}>{it}</a>
        </span>
      ))}
    </nav>
  )
}

Tailwind CSS · no dependencies · MIT licensed. Paste it straight into any React, Next.js or Vite project.

About the breadcrumb

This breadcrumb is part of Empire UI — a free, open-source library of 26+ component types rendered across 40 visual styles, from glassmorphism to neo-brutalism. Every block is copy-paste ready in React and Tailwind CSS with no runtime dependencies.

Want it in a different look? Browse all 40 styles or grab the matching glassmorphism components.

Related navigation components

Floating NavbarAnimated Tabs