Urgent.News

What's breaking now, across thousands of outlets.

Tech

shadcn ships an ellipsis for long breadcrumbs, so plan the collapsed middle

A breadcrumb tells a user where they are, but a long one can push the page they want off a phone screen. shadcn's breadcrumb has a piece for that case, and its page documents it as a collapsed state. What the shadcn page covers The page describes the component as "Displays the path to the current resource using a hierarchy of links." The install command is pnpm dlx shadcn@latest add breadcrumb ,…

shadcn, a breadcrumb navigation component, includes a BreadcrumbEllipsis for displaying a collapsed middle section when a path becomes too long for phone screens. The page documents this component as part of the breadcrumb hierarchy, which displays the path to the current resource using a series of links. To use the BreadcrumbEllipsis, import it from the same file as the other breadcrumb components.

It displays an ellipsis indicator for collapsed breadcrumb items. The current page in the breadcrumb, which is the last item, is not a link and appears non-clickable. The BreadcrumbPage component shows the current page and is separated from other items using BreadcrumbSeparator. When building a path that ends on the current page, place a BreadcrumbSeparator between items but not after the last one.

The page provides examples of basic, custom separator, dropdown, collapsed, link component, and right-to-left layouts. It does not mention aria-current or link accessibility.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Programmatic SEO Examples: 8 Sites, 946 Pages

Programmatic SEO advice and search volumes change fast. Page counts and keyword figures here are snapshots from October 3–4, 2026 — verify against current data before acting on them.

  • Programmatic SEO generates web pages from structured data sources, not manually.
  • Eight example sites total 946 pages as of October 4, 2026.
  • Build-time gate filters out thin or low-quality pages for quality assurance.

TechSparks 2026 is here; Zetwerk targets Rs 5,012 Cr IPO

Under this year’s rallying cry, ‘The New Tech Order,’ YourStory’s 17th edition is bringing together 10,000+ visionaries, 500 speakers, 1,000 startups, and 300 investors. We aren't just discussing the future of AI, deep tech, and digital infrastructure—we're asking: who gets to build it, and how fast

More from Tuesday 13 October →