Design breadcrumb navigation and schema standards across templates.
- User
Design breadcrumb navigation and schema standards across templates.
Assistant
Design breadcrumb navigation and schema standards across templates.
The user wants me to design a comprehensive breadcrumb navigation system with schema standards that can be used across different templates. This should follow the dark, minimal aesthetic with stone/neutral colors and the design specifications provided.
I'll create:
Let me design a comprehensive page showcasing all these elements.
A comprehensive design system for breadcrumb navigation with Schema.org structured data standards.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Breadcrumb Navigation & Schema Standards</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://code.iconify.design/3/3.1.0/iconify.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap" rel="stylesheet">
<style>
body { font-family: 'Inter', sans-serif; }
h1, h2, h3, .serif { font-family: 'Playfair Display', serif; }
@keyframes fadeInUp {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.breadcrumb-item:not(:last-child)::after {
content: '';
margin-left: 1rem;
}
/* Custom scrollbar for code blocks */
pre::-webkit-scrollbar {
height: 6px;
}
pre::-webkit-scrollbar-track {
background: #1c1917;
border-radius: 3px;
}
pre::-webkit-scrollbar-thumb {
background: #44403c;
border-radius: 3px;
}
</style>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
stone: {
50: '#fafaf9', 100: '#f5f5f4', 200: '#e7e5e4',
300: '#d6d3d1', 400: '#a8a29e', 500: '#78716c',
600: '#57534e', 700: '#44403c', 800: '#292524', 900: '#1c1917'
}
}
}
}
}
</script>
</head>
<body class="bg-stone-50 text-stone-800">
<!-- Navigation -->
<nav class="fixed top-0 left-0 right-0 z-50 h-16 bg-stone-50/90 backdrop-blur-xl border-b border-stone-200/50">
<div class="max-w-7xl mx-auto px-6 h-full flex items-center justify-between">
<a href="#" class="text-xl font-medium serif">Design System</a>
<div class="hidden md:flex items-center gap-8">
<a href="#styles" class="text-xs font-medium tracking-wide text-stone-500 hover:text-stone-800 transition-colors">Styles</a>
<a href="#templates" class="text-xs font-medium tracking-wide text-stone-500 hover:text-stone-800 transition-colors">Templates</a>
<a href="#schema" class="text-xs font-medium tracking-wide text-stone-500 hover:text-stone-800 transition-colors">Schema</a>
<a href="#accessibility" class="text-xs font-medium tracking-wide text-stone-500 hover:text-stone-800 transition-colors">A11y</a>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="pt-32 pb-20 px-6">
<div class="max-w-7xl mx-auto">
<div class="max-w-3xl opacity-0 animate-fade-in-up">
<span class="inline-block text-xs font-bold tracking-[0.2em] uppercase text-stone-400 mb-4">Navigation System</span>
<h1 class="text-5xl md:text-6xl font-normal serif tracking-tight leading-[1.1] mb-6">
Breadcrumb<br>
<span class="text-stone-400">Standards</span>
</h1>
<p class="text-lg text-stone-500 leading-relaxed max-w-xl">
A comprehensive design system for breadcrumb navigation with Schema.org structured data standards, accessibility guidelines, and responsive templates.
</p>
</div>
</div>
</section>
<!-- Breadcrumb Style Variations -->
<section id="styles" class="py-20 px-6 bg-white border-y border-stone-200">
<div class="max-w-7xl mx-auto">
<div class="mb-16 opacity-0 animate-fade-in-up">
<span class="text-xs font-bold tracking-[0.2em] uppercase text-stone-400">Style Guide</span>
<h2 class="text-3xl serif mt-2">Navigation Variations</h2>
</div>
<!-- Style 1: Minimal -->
<div class="mb-16 opacity-0 animate-fade-in-up delay-100">
<div class="flex items-center gap-3 mb-4">
<span class="w-8 h-8 rounded-full bg-stone-900 text-white flex items-center justify-center text-sm font-medium">1</span>
<h3 class="text-xl font-medium">Minimal</h3>
<span class="text-xs text-stone-400 ml-2">Default style</span>
</div>
<div class="bg-stone-50 rounded-lg p-8 border border-stone-200">
<nav aria-label="Breadcrumb" class="flex items-center flex-wrap gap-2 text-sm">
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Home</a>
<span class="text-stone-300">/</span>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Products</a>
<span class="text-stone-300">/</span>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Furniture</a>
<span class="text-stone-300">/</span>
<span class="text-stone-800 font-medium" aria-current="page">Lounge Chair</span>
</nav>
</div>
<div class="mt-4 p-4 bg-stone-900 rounded-lg overflow-x-auto">
<pre class="text-xs text-stone-300 font-mono"><code><nav aria-label="Breadcrumb" class="flex items-center flex-wrap gap-2 text-sm">
<a href="#" class="text-stone-500 hover:text-stone-800">Home</a>
<span class="text-stone-300">/</span>
<a href="#" class="text-stone-500 hover:text-stone-800">Products</a>
<span class="text-stone-300">/</span>
<span class="text-stone-800 font-medium" aria-current="page">Lounge Chair</span>
</nav></code></pre>
</div>
</div>
<!-- Style 2: With Icons -->
<div class="mb-16 opacity-0 animate-fade-in-up delay-200">
<div class="flex items-center gap-3 mb-4">
<span class="w-8 h-8 rounded-full bg-stone-900 text-white flex items-center justify-center text-sm font-medium">2</span>
<h3 class="text-xl font-medium">With Icons</h3>
<span class="text-xs text-stone-400 ml-2">Enhanced visual</span>
</div>
<div class="bg-stone-50 rounded-lg p-8 border border-stone-200">
<nav aria-label="Breadcrumb" class="flex items-center flex-wrap gap-1 text-sm">
<a href="#" class="flex items-center gap-1.5 text-stone-500 hover:text-stone-800 transition-colors group">
<span class="iconify w-4 h-4 text-stone-400 group-hover:text-stone-600 transition-colors" data-icon="lucide:home"></span>
Home
</a>
<span class="iconify w-4 h-4 text-stone-300 mx-1" data-icon="lucide:chevron-right"></span>
<a href="#" class="flex items-center gap-1.5 text-stone-500 hover:text-stone-800 transition-colors group">
<span class="iconify w-4 h-4 text-stone-400 group-hover:text-stone-600 transition-colors" data-icon="lucide:shopping-bag"></span>
Shop
</a>
<span class="iconify w-4 h-4 text-stone-300 mx-1" data-icon="lucide:chevron-right"></span>
<a href="#" class="flex items-center gap-1.5 text-stone-500 hover:text-stone-800 transition-colors group">
<span class="iconify w-4 h-4 text-stone-400 group-hover:text-stone-600 transition-colors" data-icon="lucide:armchair"></span>
Seating
</a>
<span class="iconify w-4 h-4 text-stone-300 mx-1" data-icon="lucide:chevron-right"></span>
<span class="flex items-center gap-1.5 text-stone-800 font-medium" aria-current="page">
<span class="iconify w-4 h-4 text-stone-600" data-icon="lucide:star"></span>
Accent Chairs
</span>
</nav>
</div>
</div>
<!-- Style 3: Bordered/Pill -->
<div class="mb-16 opacity-0 animate-fade-in-up delay-300">
<div class="flex items-center gap-3 mb-4">
<span class="w-8 h-8 rounded-full bg-stone-900 text-white flex items-center justify-center text-sm font-medium">3</span>
<h3 class="text-xl font-medium">Pill Style</h3>
<span class="text-xs text-stone-400 ml-2">Modern appearance</span>
</div>
<div class="bg-stone-50 rounded-lg p-8 border border-stone-200">
<nav aria-label="Breadcrumb" class="flex items-center flex-wrap gap-2 text-sm">
<a href="#" class="px-3 py-1.5 rounded-full bg-white border border-stone-200 text-stone-500 hover:border-stone-400 hover:text-stone-800 transition-all">
Home
</a>
<span class="iconify w-4 h-4 text-stone-300" data-icon="lucide:chevron-right"></span>
<a href="#" class="px-3 py-1.5 rounded-full bg-white border border-stone-200 text-stone-500 hover:border-stone-400 hover:text-stone-800 transition-all">
Collection
</a>
<span class="iconify w-4 h-4 text-stone-300" data-icon="lucide:chevron-right"></span>
<a href="#" class="px-3 py-1.5 rounded-full bg-white border border-stone-200 text-stone-500 hover:border-stone-400 hover:text-stone-800 transition-all">
Living Room
</a>
<span class="iconify w-4 h-4 text-stone-300" data-icon="lucide:chevron-right"></span>
<span class="px-3 py-1.5 rounded-full bg-stone-900 text-white" aria-current="page">
Sofas
</span>
</nav>
</div>
</div>
<!-- Style 4: Background -->
<div class="mb-16 opacity-0 animate-fade-in-up delay-400">
<div class="flex items-center gap-3 mb-4">
<span class="w-8 h-8 rounded-full bg-stone-900 text-white flex items-center justify-center text-sm font-medium">4</span>
<h3 class="text-xl font-medium">Contained</h3>
<span class="text-xs text-stone-400 ml-2">With container</span>
</div>
<div class="bg-stone-50 rounded-lg p-8 border border-stone-200">
<nav aria-label="Breadcrumb" class="inline-flex items-center flex-wrap gap-2 text-sm bg-white rounded-lg px-4 py-3 shadow-sm border border-stone-100">
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Dashboard</a>
<span class="iconify w-4 h-4 text-stone-300" data-icon="lucide:chevron-right"></span>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Settings</a>
<span class="iconify w-4 h-4 text-stone-300" data-icon="lucide:chevron-right"></span>
<span class="text-stone-800 font-medium" aria-current="page">Account</span>
</nav>
</div>
</div>
<!-- Style 5: Dark Mode -->
<div class="mb-16">
<div class="flex items-center gap-3 mb-4">
<span class="w-8 h-8 rounded-full bg-white text-stone-900 flex items-center justify-center text-sm font-medium border border-stone-200">5</span>
<h3 class="text-xl font-medium">Dark Mode</h3>
<span class="text-xs text-stone-400 ml-2">Inverse colors</span>
</div>
<div class="bg-stone-900 rounded-lg p-8 border border-stone-700">
<nav aria-label="Breadcrumb" class="flex items-center flex-wrap gap-2 text-sm">
<a href="#" class="text-stone-400 hover:text-white transition-colors">Home</a>
<span class="text-stone-600">/</span>
<a href="#" class="text-stone-400 hover:text-white transition-colors">Projects</a>
<span class="text-stone-600">/</span>
<a href="#" class="text-stone-400 hover:text-white transition-colors">Architecture</a>
<span class="text-stone-600">/</span>
<span class="text-white font-medium" aria-current="page">Modern Villa</span>
</nav>
</div>
</div>
<!-- Style 6: Responsive Dropdown -->
<div>
<div class="flex items-center gap-3 mb-4">
<span class="w-8 h-8 rounded-full bg-stone-900 text-white flex items-center justify-center text-sm font-medium">6</span>
<h3 class="text-xl font-medium">Collapsible</h3>
<span class="text-xs text-stone-400 ml-2">For deep hierarchies</span>
</div>
<div class="bg-stone-50 rounded-lg p-8 border border-stone-200">
<!-- Desktop View -->
<div class="hidden md:block">
<nav aria-label="Breadcrumb" class="flex items-center gap-2 text-sm">
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Home</a>
<span class="text-stone-300">/</span>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Products</a>
<span class="text-stone-300">/</span>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Electronics</a>
<span class="text-stone-300">/</span>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Computers</a>
<span class="text-stone-300">/</span>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Laptops</a>
<span class="text-stone-300">/</span>
<span class="text-stone-800 font-medium" aria-current="page">MacBook Pro</span>
</nav>
</div>
<!-- Mobile View -->
<div class="md:hidden">
<nav aria-label="Breadcrumb" class="flex items-center gap-2 text-sm">
<div class="relative group">
<button class="flex items-center gap-1 text-stone-500 hover:text-stone-800 transition-colors">
<span class="iconify w-4 h-4" data-icon="lucide:more-horizontal"></span>
<span class="sr-only">Show parent pages</span>
</button>
<div class="absolute left-0 top-full mt-2 bg-white rounded-lg shadow-lg border border-stone-200 py-2 min-w-[180px] opacity-0 invisible group-hover:opacity-100 group-hover:visible transition-all z-10">
<a href="#" class="block px-4 py-2 text-sm text-stone-600 hover:bg-stone-50 hover:text-stone-900">Home</a>
<a href="#" class="block px-4 py-2 text-sm text-stone-600 hover:bg-stone-50 hover:text-stone-900">Products</a>
<a href="#" class="block px-4 py-2 text-sm text-stone-600 hover:bg-stone-50 hover:text-stone-900">Electronics</a>
<a href="#" class="block px-4 py-2 text-sm text-stone-600 hover:bg-stone-50 hover:text-stone-900">Computers</a>
<a href="#" class="block px-4 py-2 text-sm text-stone-600 hover:bg-stone-50 hover:text-stone-900">Laptops</a>
</div>
</div>
<span class="text-stone-300">/</span>
<span class="text-stone-800 font-medium" aria-current="page">MacBook Pro</span>
</nav>
</div>
</div>
</div>
</div>
</section>
<!-- Template Contexts -->
<section id="templates" class="py-20 px-6">
<div class="max-w-7xl mx-auto">
<div class="mb-16 opacity-0 animate-fade-in-up">
<span class="text-xs font-bold tracking-[0.2em] uppercase text-stone-400">Use Cases</span>
<h2 class="text-3xl serif mt-2">Template Contexts</h2>
<p class="text-stone-500 mt-4 max-w-xl">Breadcrumb patterns adapted for different page types and industries.</p>
</div>
<div class="grid md:grid-cols-2 gap-8">
<!-- E-commerce Product -->
<div class="bg-white rounded-xl border border-stone-200 overflow-hidden opacity-0 animate-fade-in-up delay-100">
<div class="aspect-[4/1] bg-stone-100 relative overflow-hidden">
<img src="https://picsum.photos/seed/ecommerce-breadcrumb/800/200" alt="E-commerce" class="w-full h-full object-cover grayscale-[20%]">
<div class="absolute inset-0 bg-gradient-to-t from-stone-900/60 to-transparent"></div>
<span class="absolute bottom-4 left-4 text-white text-xs font-bold tracking-[0.15em] uppercase">E-commerce</span>
</div>
<div class="p-6">
<nav aria-label="Breadcrumb" class="flex items-center flex-wrap gap-1.5 text-sm mb-4">
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Home</a>
<span class="iconify w-3.5 h-3.5 text-stone-300" data-icon="lucide:chevron-right"></span>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Women</a>
<span class="iconify w-3.5 h-3.5 text-stone-300" data-icon="lucide:chevron-right"></span>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Clothing</a>
<span class="iconify w-3.5 h-3.5 text-stone-300" data-icon="lucide:chevron-right"></span>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Dresses</a>
<span class="iconify w-3.5 h-3.5 text-stone-300" data-icon="lucide:chevron-right"></span>
<span class="text-stone-800 font-medium" aria-current="page">Linen Midi Dress</span>
</nav>
<p class="text-sm text-stone-500">Deep category hierarchy with product as final item. Includes gender, category, and subcategory.</p>
</div>
</div>
<!-- Blog Article -->
<div class="bg-white rounded-xl border border-stone-200 overflow-hidden opacity-0 animate-fade-in-up delay-200">
<div class="aspect-[4/1] bg-stone-100 relative overflow-hidden">
<img src="https://picsum.photos/seed/blog-breadcrumb/800/200" alt="Blog" class="w-full h-full object-cover grayscale-[20%]">
<div class="absolute inset-0 bg-gradient-to-t from-stone-900/60 to-transparent"></div>
<span class="absolute bottom-4 left-4 text-white text-xs font-bold tracking-[0.15em] uppercase">Blog</span>
</div>
<div class="p-6">
<nav aria-label="Breadcrumb" class="flex items-center flex-wrap gap-2 text-sm mb-4">
<a href="#" class="flex items-center gap-1.5 text-stone-500 hover:text-stone-800 transition-colors">
<span class="iconify w-4 h-4" data-icon="lucide:home"></span>
</a>
<span class="text-stone-300">/</span>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Journal</a>
<span class="text-stone-300">/</span>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Interior Design</a>
<span class="text-stone-300">/</span>
<span class="text-stone-800 font-medium" aria-current="page">Minimalist Living Spaces</span>
</nav>
<p class="text-sm text-stone-500">Home icon for root, followed by blog name, category, and article title.</p>
</div>
</div>
<!-- Documentation -->
<div class="bg-white rounded-xl border border-stone-200 overflow-hidden opacity-0 animate-fade-in-up delay-300">
<div class="aspect-[4/1] bg-stone-100 relative overflow-hidden">
<img src="https://picsum.photos/seed/docs-breadcrumb/800/200" alt="Documentation" class="w-full h-full object-cover grayscale-[20%]">
<div class="absolute inset-0 bg-gradient-to-t from-stone-900/60 to-transparent"></div>
<span class="absolute bottom-4 left-4 text-white text-xs font-bold tracking-[0.15em] uppercase">Documentation</span>
</div>
<div class="p-6">
<nav aria-label="Breadcrumb" class="flex items-center flex-wrap gap-2 text-sm mb-4">
<a href="#" class="px-2.5 py-1 rounded bg-stone-100 text-stone-600 hover:bg-stone-200 transition-colors text-xs font-medium">Docs</a>
<span class="iconify w-3.5 h-3.5 text-stone-300" data-icon="lucide:chevron-right"></span>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">API Reference</a>
<span class="iconify w-3.5 h-3.5 text-stone-300" data-icon="lucide:chevron-right"></span>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors">Authentication</a>
<span class="iconify w-3.5 h-3.5 text-stone-300" data-icon="lucide:chevron-right"></span>
<span class="text-stone-800 font-medium" aria-current="page">OAuth 2.0</span>
</nav>
<p class="text-sm text-stone-500">Section badge, followed by hierarchical documentation path.</p>
</div>
</div>
<!-- Dashboard/Admin -->
<div class="bg-stone-900 rounded-xl border border-stone-700 overflow-hidden opacity-0 animate-fade-in-up delay-400">
<div class="aspect-[4/1] bg-stone-800 relative overflow-hidden">
<img src="https://picsum.photos/seed/dashboard-breadcrumb/800/200" alt="Dashboard" class="w-full h-full object-cover opacity-40 grayscale">
<div class="absolute inset-0 bg-gradient-to-t from-stone-900/80 to-transparent"></div>
<span class="absolute bottom-4 left-4 text-white text-xs font-bold tracking-[0.15em] uppercase">Dashboard</span>
</div>
<div class="p-6">
<nav aria-label="Breadcrumb" class="flex items-center flex-wrap gap-2 text-sm mb-4">
<a href="#" class="text-stone-400 hover:text-white transition-colors">
<span class="iconify w-4 h-4" data-icon="lucide:layout-dashboard"></span>
</a>
<span class="text-stone-600">/</span>
<a href="#" class="text-stone-400 hover:text-white transition-colors">Settings</a>
<span class="text-stone-600">/</span>
<a href="#" class="text-stone-400 hover:text-white transition-colors">Team</a>
<span class="text-stone-600">/</span>
<span class="text-white font-medium" aria-current="page">Members</span>
</nav>
<p class="text-sm text-stone-400">Icon-only home, dark theme, for admin interfaces.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Schema.org Standards -->
<section id="schema" class="py-20 px-6 bg-white border-y border-stone-200">
<div class="max-w-7xl mx-auto">
<div class="mb-16 opacity-0 animate-fade-in-up">
<span class="text-xs font-bold tracking-[0.2em] uppercase text-stone-400">Structured Data</span>
<h2 class="text-3xl serif mt-2">Schema.org Standards</h2>
<p class="text-stone-500 mt-4 max-w-xl">JSON-LD structured data for SEO optimization and rich results.</p>
</div>
<div class="grid lg:grid-cols-2 gap-8">
<!-- Standard BreadcrumbList -->
<div class="opacity-0 animate-fade-in-up delay-100">
<div class="flex items-center gap-3 mb-4">
<span class="w-8 h-8 rounded-full bg-green-900 text-green-100 flex items-center justify-center">
<span class="iconify w-4 h-4" data-icon="lucide:check"></span>
</span>
<h3 class="text-lg font-medium">Standard BreadcrumbList</h3>
</div>
<div class="bg-stone-900 rounded-lg p-6 overflow-x-auto">
<pre class="text-xs text-stone-300 font-mono leading-relaxed"><code>{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://example.com/"
},
{
"@type": "ListItem",
"position": 2,
"name": "Products",
"item": "https://example.com/products/"
},
{
"@type": "ListItem",
"position": 3,
"name": "Furniture",
"item": "https://example.com/products/furniture/"
},
{
"@type": "ListItem",
"position": 4,
"name": "Lounge Chair",
"item": "https://example.com/products/furniture/lounge-chair"
}
]
}</code></pre>
</div>
</div>
<!-- With Product Schema -->
<div class="opacity-0 animate-fade-in-up delay-200">
<div class="flex items-center gap-3 mb-4">
<span class="w-8 h-8 rounded-full bg-green-900 text-green-100 flex items-center justify-center">
<span class="iconify w-4 h-4" data-icon="lucide:check"></span>
</span>
<h3 class="text-lg font-medium">Combined with Product</h3>
</div>
<div class="bg-stone-900 rounded-lg p-6 overflow-x-auto">
<pre class="text-xs text-stone-300 font-mono leading-relaxed"><code>{
"@context": "https://schema.org",
"@type": "Product",
"name": "Lounge Chair",
"image": "https://example.com/chair.jpg",
"description": "Modern lounge chair...",
"brand": {
"@type": "Brand",
"name": "Furniture Co"
},
"offers": {
"@type": "Offer",
"price": "1299.00",
"priceCurrency": "USD"
}
}
<!-- Plus separate BreadcrumbList --></code></pre>
</div>
</div>
<!-- Article Schema -->
<div class="opacity-0 animate-fade-in-up delay-300">
<div class="flex items-center gap-3 mb-4">
<span class="w-8 h-8 rounded-full bg-green-900 text-green-100 flex items-center justify-center">
<span class="iconify w-4 h-4" data-icon="lucide:check"></span>
</span>
<h3 class="text-lg font-medium">Blog Article Breadcrumb</h3>
</div>
<div class="bg-stone-900 rounded-lg p-6 overflow-x-auto">
<pre class="text-xs text-stone-300 font-mono leading-relaxed"><code>{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Journal",
"item": "https://example.com/journal/"
},
{
"@type": "ListItem",
"position": 2,
"name": "Interior Design",
"item": "https://example.com/journal/interior-design/"
},
{
"@type": "ListItem",
"position": 3,
"name": "Minimalist Living Spaces"
// No 'item' for current page
}
]
}</code></pre>
</div>
</div>
<!-- Best Practices -->
<div class="opacity-0 animate-fade-in-up delay-400">
<div class="flex items-center gap-3 mb-4">
<span class="w-8 h-8 rounded-full bg-stone-900 text-white flex items-center justify-center">
<span class="iconify w-4 h-4" data-icon="lucide:lightbulb"></span>
</span>
<h3 class="text-lg font-medium">Best Practices</h3>
</div>
<div class="bg-stone-100 rounded-lg p-6 border border-stone-200">
<ul class="space-y-3 text-sm text-stone-600">
<li class="flex items-start gap-3">
<span class="iconify w-5 h-5 text-green-600 flex-shrink-0 mt-0.5" data-icon="lucide:check-circle"></span>
<span><strong>Current page:</strong> Omit the <code class="bg-stone-200 px-1.5 py-0.5 rounded text-xs">item</code> property for the final breadcrumb</span>
</li>
<li class="flex items-start gap-3">
<span class="iconify w-5 h-5 text-green-600 flex-shrink-0 mt-0.5" data-icon="lucide:check-circle"></span>
<span><strong>Position:</strong> Use sequential integers starting from 1</span>
</li>
<li class="flex items-start gap-3">
<span class="iconify w-5 h-5 text-green-600 flex-shrink-0 mt-0.5" data-icon="lucide:check-circle"></span>
<span><strong>URLs:</strong> Use absolute URLs with trailing slashes for consistency</span>
</li>
<li class="flex items-start gap-3">
<span class="iconify w-5 h-5 text-green-600 flex-shrink-0 mt-0.5" data-icon="lucide:check-circle"></span>
<span><strong>Name:</strong> Match the visible text in the breadcrumb link</span>
</li>
<li class="flex items-start gap-3">
<span class="iconify w-5 h-5 text-green-600 flex-shrink-0 mt-0.5" data-icon="lucide:check-circle"></span>
<span><strong>Placement:</strong> Include JSON-LD in the <code class="bg-stone-200 px-1.5 py-0.5 rounded text-xs"><head></code> or before <code class="bg-stone-200 px-1.5 py-0.5 rounded text-xs"></body></code></span>
</li>
</ul>
</div>
</div>
</div>
<!-- HTML + JSON-LD Integration -->
<div class="mt-12 opacity-0 animate-fade-in-up" style="animation-delay: 500ms;">
<h3 class="text-xl font-medium mb-4">Complete HTML + JSON-LD Example</h3>
<div class="bg-stone-900 rounded-lg p-6 overflow-x-auto">
<pre class="text-xs text-stone-300 font-mono leading-relaxed"><code><!DOCTYPE html>
<html lang="en">
<head>
<title>Lounge Chair | Furniture Store</title>
<!-- Breadcrumb Structured Data -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Home",
"item": "https://example.com/"
},
{
"@type": "ListItem",
"position": 2,
"name": "Products",
"item": "https://example.com/products/"
},
{
"@type": "ListItem",
"position": 3,
"name": "Lounge Chair"
}
]
}
</script>
</head>
<body>
<!-- Visible Breadcrumb Navigation -->
<nav aria-label="Breadcrumb" class="breadcrumb">
<ol class="flex items-center gap-2 text-sm">
<li>
<a href="/" class="text-stone-500 hover:text-stone-800">Home</a>
</li>
<li aria-hidden="true" class="text-stone-300">/</li>
<li>
<a href="/products/" class="text-stone-500 hover:text-stone-800">Products</a>
</li>
<li aria-hidden="true" class="text-stone-300">/</li>
<li aria-current="page" class="text-stone-800 font-medium">
Lounge Chair
</li>
</ol>
</nav>
</body>
</html></code></pre>
</div>
</div>
</div>
</section>
<!-- Accessibility Guidelines -->
<section id="accessibility" class="py-20 px-6">
<div class="max-w-7xl mx-auto">
<div class="mb-16 opacity-0 animate-fade-in-up">
<span class="text-xs font-bold tracking-[0.2em] uppercase text-stone-400">Accessibility</span>
<h2 class="text-3xl serif mt-2">A11y Guidelines</h2>
<p class="text-stone-500 mt-4 max-w-xl">Ensure breadcrumbs are accessible to all users including screen readers and keyboard navigation.</p>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- ARIA Label -->
<div class="bg-white rounded-lg p-6 border border-stone-200 opacity-0 animate-fade-in-up delay-100">
<div class="w-10 h-10 rounded-lg bg-stone-100 flex items-center justify-center mb-4">
<span class="iconify w-5 h-5 text-stone-600" data-icon="lucide:tag"></span>
</div>
<h3 class="text-lg font-medium mb-2">ARIA Label</h3>
<p class="text-sm text-stone-500 mb-4">Use <code class="bg-stone-100 px-1.5 py-0.5 rounded text-xs">aria-label</code> to identify the navigation region.</p>
<div class="bg-stone-900 rounded p-3">
<code class="text-xs text-green-400"><nav aria-label="Breadcrumb"></code>
</div>
</div>
<!-- Current Page -->
<div class="bg-white rounded-lg p-6 border border-stone-200 opacity-0 animate-fade-in-up delay-200">
<div class="w-10 h-10 rounded-lg bg-stone-100 flex items-center justify-center mb-4">
<span class="iconify w-5 h-5 text-stone-600" data-icon="lucide:navigation"></span>
</div>
<h3 class="text-lg font-medium mb-2">Current Page</h3>
<p class="text-sm text-stone-500 mb-4">Mark the current page with <code class="bg-stone-100 px-1.5 py-0.5 rounded text-xs">aria-current="page"</code>.</p>
<div class="bg-stone-900 rounded p-3">
<code class="text-xs text-green-400"><span aria-current="page">...</span></code>
</div>
</div>
<!-- Separators -->
<div class="bg-white rounded-lg p-6 border border-stone-200 opacity-0 animate-fade-in-up delay-300">
<div class="w-10 h-10 rounded-lg bg-stone-100 flex items-center justify-center mb-4">
<span class="iconify w-5 h-5 text-stone-600" data-icon="lucide:separator-horizontal"></span>
</div>
<h3 class="text-lg font-medium mb-2">Hide Separators</h3>
<p class="text-sm text-stone-500 mb-4">Decorative separators should be hidden from screen readers.</p>
<div class="bg-stone-900 rounded p-3">
<code class="text-xs text-green-400"><span aria-hidden="true">/</span></code>
</div>
</div>
<!-- Semantic List -->
<div class="bg-white rounded-lg p-6 border border-stone-200 opacity-0 animate-fade-in-up delay-400">
<div class="w-10 h-10 rounded-lg bg-stone-100 flex items-center justify-center mb-4">
<span class="iconify w-5 h-5 text-stone-600" data-icon="lucide:list"></span>
</div>
<h3 class="text-lg font-medium mb-2">Semantic List</h3>
<p class="text-sm text-stone-500 mb-4">Use ordered lists to convey hierarchy to screen readers.</p>
<div class="bg-stone-900 rounded p-3 overflow-x-auto">
<code class="text-xs text-green-400 whitespace-nowrap"><ol><li>...</li></ol></code>
</div>
</div>
<!-- Keyboard -->
<div class="bg-white rounded-lg p-6 border border-stone-200 opacity-0 animate-fade-in-up delay-100">
<div class="w-10 h-10 rounded-lg bg-stone-100 flex items-center justify-center mb-4">
<span class="iconify w-5 h-5 text-stone-600" data-icon="lucide:keyboard"></span>
</div>
<h3 class="text-lg font-medium mb-2">Keyboard Nav</h3>
<p class="text-sm text-stone-500 mb-4">Links must be focusable and operable via keyboard.</p>
<div class="bg-stone-900 rounded p-3">
<code class="text-xs text-green-400"><a href="..."> // Native focus</code>
</div>
</div>
<!-- Focus Style -->
<div class="bg-white rounded-lg p-6 border border-stone-200 opacity-0 animate-fade-in-up delay-200">
<div class="w-10 h-10 rounded-lg bg-stone-100 flex items-center justify-center mb-4">
<span class="iconify w-5 h-5 text-stone-600" data-icon="lucide:focus"></span>
</div>
<h3 class="text-lg font-medium mb-2">Focus Visible</h3>
<p class="text-sm text-stone-500 mb-4">Ensure visible focus state for keyboard users.</p>
<div class="bg-stone-900 rounded p-3 overflow-x-auto">
<code class="text-xs text-green-400 whitespace-nowrap">focus:ring-2 focus:ring-stone-400</code>
</div>
</div>
</div>
<!-- Complete Accessible Example -->
<div class="mt-12 opacity-0 animate-fade-in-up delay-300">
<h3 class="text-xl font-medium mb-4">Fully Accessible Implementation</h3>
<!-- Live Example -->
<div class="bg-stone-50 rounded-lg p-8 border border-stone-200 mb-4">
<nav aria-label="Breadcrumb">
<ol class="flex items-center flex-wrap gap-2 text-sm" role="list">
<li>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors focus:outline-none focus:ring-2 focus:ring-stone-400 focus:ring-offset-2 rounded px-1">
Home
</a>
</li>
<li aria-hidden="true" class="text-stone-300" role="presentation">
<span class="iconify w-4 h-4" data-icon="lucide:chevron-right"></span>
</li>
<li>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors focus:outline-none focus:ring-2 focus:ring-stone-400 focus:ring-offset-2 rounded px-1">
Products
</a>
</li>
<li aria-hidden="true" class="text-stone-300" role="presentation">
<span class="iconify w-4 h-4" data-icon="lucide:chevron-right"></span>
</li>
<li>
<a href="#" class="text-stone-500 hover:text-stone-800 transition-colors focus:outline-none focus:ring-2 focus:ring-stone-400 focus:ring-offset-2 rounded px-1">
Furniture
</a>
</li>
<li aria-hidden="true" class="text-stone-300" role="presentation">
<span class="iconify w-4 h-4" data-icon="lucide:chevron-right"></span>
</li>
<li>
<span aria-current="page" class="text-stone-800 font-medium">
Lounge Chair
</span>
</li>
</ol>
</nav>
<p class="text-xs text-stone-400 mt-4">↑ Try tabbing through the links above</p>
</div>
<!-- Code -->
<div class="bg-stone-900 rounded-lg p-6 overflow-x-auto">
<pre class="text-xs text-stone-300 font-mono leading-relaxed"><code><nav aria-label="Breadcrumb">
<ol class="flex items-center gap-2 text-sm" role="list">
<li>
<a href="/" class="text-stone-500 hover:text-stone-800 focus:outline-none
focus:ring-2 focus:ring-stone-400 focus:ring-offset-2 rounded px-1">
Home
</a>
</li>
<li aria-hidden="true" role="presentation">
<span class="iconify" data-icon="lucide:chevron-right"></span>
</li>
<li>
<a href="/products/" ...>Products</a>
</li>
<li aria-hidden="true" role="presentation">...</li>
<li>
<span aria-current="page" class="text-stone-800 font-medium">
Lounge Chair
</span>
</li>
</ol>
</nav></code></pre>
</div>
</div>
</div>
</section>
<!-- Separator Options -->
<section class="py-20 px-6 bg-white border-y border-stone-200">
<div class="max-w-7xl mx-auto">
<div class="mb-16 opacity-0 animate-fade-in-up">
<span class="text-xs font-bold tracking-[0.2em] uppercase text-stone-400">Customization</span>
<h2 class="text-3xl serif mt-2">Separator Options</h2>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- Slash -->
<div class="bg-stone-50 rounded-lg p-6 border border-stone-200">
<h4 class="text-xs font-bold tracking-[0.1em] uppercase text-stone-400 mb-4">Slash</h4>
<nav aria-label="Breadcrumb" class="flex items-center gap-2 text-sm">
<a href="#" class="text-stone-500">Home</a>
<span class="text-stone-300">/</span>
<a href="#" class="text-stone-500">Products</a>
<span class="text-stone-300">/</span>
<span class="text-stone-800">Item</span>
</nav>
</div>
<!-- Chevron -->
<div class="bg-stone-50 rounded-lg p-6 border border-stone-200">
<h4 class="text-xs font-bold tracking-[0.1em] uppercase text-stone-400 mb-4">Chevron</h4>
<nav aria-label="Breadcrumb" class="flex items-center gap-1 text-sm">
<a href="#" class="text-stone-500">Home</a>
<span class="iconify w-4 h-4 text-stone-300" data-icon="lucide:chevron-right"></span>
<a href="#" class="text-stone-500">Products</a>
<span class="iconify w-4 h-4 text-stone-300" data-icon="lucide:chevron-right"></span>
<span class="text-stone-800">Item</span>
</nav>
</div>
<!-- Arrow -->
<div class="bg-stone-50 rounded-lg p-6 border border-stone-200">
<h4 class="text-xs font-bold tracking-[0.1em] uppercase text-stone-400 mb-4">Arrow</h4>
<nav aria-label="Breadcrumb" class="flex items-center gap-1 text-sm">
<a href="#" class="text-stone-500">Home</a>
<span class="iconify w-4 h-4 text-stone-300" data-icon="lucide:arrow-right"></span>
<a href="#" class="text-stone-500">Products</a>
<span class="iconify w-4 h-4 text-stone-300" data-icon="lucide:arrow-right"></span>
<span class="text-stone-800">Item</span>
</nav>
</div>
<!-- Caret -->
<div class="bg-stone-50 rounded-lg p-6 border border-stone-200">
<h4 class="text-xs font-bold tracking-[0.1em] uppercase text-stone-400 mb-4">Caret</h4>
<nav aria-label="Breadcrumb" class="flex items-center gap-2 text-sm">
<a href="#" class="text-stone-500">Home</a>
<span class="text-stone-300">></span>
<a href="#" class="text-stone-500">Products</a>
<span class="text-stone-300">></span>
<span class="text-stone-800">Item</span>
</nav>
</div>
<!-- Double Chevron -->
<div class="bg-stone-50 rounded-lg p-6 border border-stone-200">
<h4 class="text-xs font-bold tracking-[0.1em] uppercase text-stone-400 mb-4">Double</h4>
<nav aria-label="Breadcrumb" class="flex items-center gap-1 text-sm">
<a href="#" class="text-stone-500">Home</a>
<span class="iconify w-4 h-4 text-stone-300" data-icon="lucide:chevrons-right"></span>
<a href="#" class="text-stone-500">Products</a>
<span class="iconify w-4 h-4 text-stone-300" data-icon="lucide:chevrons-right"></span>
<span class="text-stone-800">Item</span>
</nav>
</div>
<!-- Pipe -->
<div class="bg-stone-50 rounded-lg p-6 border border-stone-200">
<h4 class="text-xs font-bold tracking-[0.1em] uppercase text-stone-400 mb-4">Pipe</h4>
<nav aria-label="Breadcrumb" class="flex items-center gap-3 text-sm">
<a href="#" class="text-stone-500">Home</a>
<span class="text-stone-300">|</span>
<a href="#" class="text-stone-500">Products</a>
<span class="text-stone-300">|</span>
<span class="text-stone-800">Item</span>
</nav>
</div>
<!-- Bullet -->
<div class="bg-stone-50 rounded-lg p-6 border border-stone-200">
<h4 class="text-xs font-bold tracking-[0.1em] uppercase text-stone-400 mb-4">Bullet</h4>
<nav aria-label="Breadcrumb" class="flex items-center gap-2 text-sm">
<a href="#" class="text-stone-500">Home</a>
<span class="text-stone-300">•</span>
<a href="#" class="text-stone-500">Products</a>
<span class="text-stone-300">•</span>
<span class="text-stone-800">Item</span>
</nav>
</div>
<!-- None -->
<div class="bg-stone-50 rounded-lg p-6 border border-stone-200">
<h4 class="text-xs font-bold tracking-[0.1em] uppercase text-stone-400 mb-4">None</h4>
<nav aria-label="Breadcrumb" class="flex items-center gap-4 text-sm">
<a href="#" class="text-stone-500">Home</a>
<a href="#" class="text-stone-500">Products</a>
<span class="text-stone-800">Item</span>
</nav>
</div>
</div>
</div>
</section>
<!-- Quick Reference Component -->
<section class="py-20 px-6">
<div class="max-w-7xl mx-auto">
<div class="mb-16 opacity-0 animate-fade-in-up">
<span class="text-xs font-bold tracking-[0.2em] uppercase text-stone-400">Component</span>
<h2 class="text-3xl serif mt-2">Reusable Component</h2>
<p class="text-stone-500 mt-4 max-w-xl">A ready-to-use HTML/Tailwind component with all best practices built in.</p>
</div>
<div class="bg-white rounded-xl border border-stone-200 overflow-hidden">
<div class="bg-stone-900 px-6 py-4 flex items-center justify-between">
<span class="text-white text-sm font-medium">breadcrumb.html</span>
<button onclick="copyCode()" class="text-stone-400 hover:text-white text-xs flex items-center gap-1.5 transition-colors">
<span class="iconify w-4 h-4" data-icon="lucide:copy"></span>
Copy
</button>
</div>
<div class="p-6 overflow-x-auto">
<pre id="componentCode" class="text-xs text-stone-600 font-mono leading-relaxed"><code><!-- Breadcrumb Navigation Component -->
<nav aria-label="Breadcrumb" class="mb-6">
<ol class="flex items-center flex-wrap gap-2 text-sm" itemscope itemtype="https://schema.org/BreadcrumbList">
<!-- Item 1 -->
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/" itemprop="item" class="text-stone-500 hover:text-stone-800 transition-colors focus:outline-none focus:ring-2 focus:ring-stone-400 focus:ring-offset-2 rounded px-1">
<span itemprop="name">Home</span>
</a>
<meta itemprop="position" content="1" />
</li>
<!-- Separator -->
<li aria-hidden="true" class="text-stone-300">/</li>
<!-- Item 2 -->
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<a href="/products/" itemprop="item" class="text-stone-500 hover:text-stone-800 transition-colors focus:outline-none focus:ring-2 focus:ring-stone-400 focus:ring-offset-2 rounded px-1">
<span itemprop="name">Products</span>
</a>
<meta itemprop="position" content="2" />
</li>
<!-- Separator -->
<li aria-hidden="true" class="text-stone-300">/</li>
<!-- Current Page (no link) -->
<li itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
<span itemprop="name" aria-current="page" class="text-stone-800 font-medium">
Product Name
</span>
<meta itemprop="position" content="3" />
</li>
</ol>
</nav>
<!-- Alternative: JSON-LD (place in <head>) -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{"@type": "ListItem", "position": 1, "name": "Home", "item": "https://example.com/"},
{"@type": "ListItem", "position": 2, "name": "Products", "item": "https://example.com/products/"},
{"@type": "ListItem", "position": 3, "name": "Product Name"}
]
}
</script></code></pre>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="py-12 px-6 bg-stone-900 text-white">
<div class="max-w-7xl mx-auto">
<div class="flex flex-col md:flex-row items-center justify-between gap-6">
<div>
<span class="text-xl serif">Breadcrumb Standards</span>
<p class="text-stone-400 text-sm mt-1">Design system documentation</p>
</div>
<div class="flex items-center gap-6">
<a href="#styles" class="text-stone-400 hover:text-white text-sm transition-colors">Styles</a>
<a href="#templates" class="text-stone-400 hover:text-white text-sm transition-colors">Templates</a>
<a href="#schema" class="text-stone-400 hover:text-white text-sm transition-colors">Schema</a>
<a href="#accessibility" class="text-stone-400 hover:text-white text-sm transition-colors">A11y</a>
</div>
</div>
</div>
</footer>
<script>
// Copy code functionality
function copyCode() {
const code = document.getElementById('componentCode').innerText;
navigator.clipboard.writeText(code).then(() => {
alert('Code copied to clipboard!');
});
}
// Scroll animation observer
const observerOptions = {
threshold: 0.1,
rootMargin: '0px 0px -50px 0px'
};
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.style.opacity = '1';
entry.target.style.transform = 'translateY(0)';
}
});
}, observerOptions);
// Observe all animated elements
document.querySelectorAll('.animate-fade-in-up').forEach(el => {
el.style.opacity = '0';
observer.observe(el);
});
</script>
</body>
</html>
This comprehensive design system includes:
BreadcrumbList JSON-LDaria-current="page" for current item8 different separator styles including slash, chevron, arrow, caret, pipe, bullet, and none.